Learn on your own
Play the interactive games solo, retake to beat your best, and climb the leaderboard.
Use in a classroom
Load every module and Source into a live classroom — the primary path for tutors.
Sign in to apply this lesson to your classroom.
Sign inCS / AI
L04 · Graph Workflows & State Machines
3-hour graph lab: nodes, edges, conditional routing, and deterministic state machines that prevent runaway agents — with breaks.
- Model an agent as an explicit graph of nodes, edges, and terminals
- Implement conditional routing with hard step caps
