Glossary · Phase 10 · Agent harnesses
State graph
An agent's workflow written as named steps (nodes) that read and update one shared state, with edges or routing functions choosing the next step.
Try it now
The router reads the evaluator's verdict from the state; the round counter guarantees the loop ends.
Learn it properly
Agents as graphs · State, reducers and routing, a checkpoint after every step, and pausing for a person's approval. About 40 minutes.
Other terms from the same lesson
- human in the loop: A workflow that pauses for a person to approve, edit or answer before it carries on.
- reducer: In an agent graph, the rule for combining a node's update with the value already in the state, such as appending messages or adding up cost.
Never trained an AI?
Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.