This is a submission for the Gemma 4 Challenge: Build with Gemma 4
I drew one workflow on a notepad. A few boxes, some arrows, a loop. Then I fed the photo to my project six times — same drawing, same prompt, same model — and got six different LangGraph programs back. Four ran clean. One refused to compile. One spun until it hit a recursion limit and died. Same sketch, three different verdicts. It turns out the interesting question for an agent builder isn't "did the code compile" — it's "which run did you get?"
What I Built
Diagent turns a hand-drawn picture of an agent workflow into a verified, runnable LangGraph agent.
The pipeline:






