Skip to content
AgenticAIWiki

← Chapter 52. Graph-based orchestration

A coding graph that loops and pauses

reads, updatesplanbreak the task downwritedraft the codetestrun the suitefixread failures, editreviewcheck the diffStatetask, plan, code: none yet, attempts 0

Swipe to change step

Step 1 of 8. A coding agent as a graph. Each node is one unit of work: a model call or plain code. The edges say what runs next. Here a task enters at plan and flows to write, then test. plan (break the task down). write (draft the code). test (run the suite). fix (read failures, edit). review (check the diff). State (task, plan, code: none yet, attempts 0). arrow from plan to write. arrow from write to test. arrow from write to State, labelled reads, updates. a task moving along e1, then e2.

Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.