Build agents as a graph of steps with state, loops and human checkpoints.
- StateA shared object every node reads and updates.
- NodesEach node is a step: call the model, run a tool.
- EdgesConditional edges choose the next step.
- CheckpointsPersist state to pause, resume or ask a human.