All technologiesHow a graph runs an agent as a state machine
Framework
LangGraph
1 / 4Read state
Step 1 of 4
Read state
Every node receives the shared state: the messages so far, tool results and any fields you defined.
Making control flow explicit turns a free-running agent into something you can inspect and pause.