Skip to content
AgenticAIWiki
  1. Learn
  2. Part 9. Agent architectures
  3. Chapter 52

Graph-based orchestration

6 lessons · 39 min

Builds on 51. Agent frameworks compared

A coding graph that loops and pauses

Full screen
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.

In this chapter

  1. 52.1Agents as state machines: nodes, edges and state6 min read
  2. 52.2Conditional edges and cycles6 min read
  3. 52.3Lab: loop until the tests pass8 min read
  4. 52.4Interrupt, inspect and resume7 min read
  5. 52.5Streaming intermediate events to the UI6 min read
  6. 52.6Graph frameworks compared6 min read

Chapter check

Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.

Loading check…