EVERYTHING AIAI engineering, made visual
Visual edition planned
Phase 11 · Lesson 16BuildPython1.3 h17 lessons in phase

Agent State Machines — Graphs, Nodes, Checkpoints

A ReAct loop written by hand is a `while True`. The same loop written as an explicit graph is something you can checkpoint, interrupt, branch, and time-travel through. The agent hasn't changed. The harness around it has.

Visual edition planned

This lesson isn’t interactive yet.

It is part of the curriculum and will get the same treatment as Phase 1 — a visual cover, hands-on labs, derivations with numeric checks and a quiz. Until then, the original lesson is the best place to read it:

Part of Phase 11LLM Engineering. Use the previous / next cards below to keep browsing the phase.