Index Ai Academy
Glossary · Phase 10 · Agent harnesses

State graph

Also written: state graphs, agent graph, agent graphs

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.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write