State Graph
A core orchestration abstraction in LangGraph that draws on finite state machines and dataflow graphs. It forms a graph structure from a readable and writable shared state, nodes, and edges, and supports reducer-based merging, streaming output, resumption from checkpoints, and human intervention.
Timeline (last 90 days)
Building a state graph in LangGraph involves three steps: define the state, add nodes and edges, and compile.
A State Graph is a directed graph structure that models computation as nodes and edges, where all nodes share a readable and writable global state object and conditional edges and loops are supported.
The role of a state graph is to confine the large model's degrees of freedom within inspectable boundaries, not to think on behalf of the model.
All Facts (3)
Building a state graph in LangGraph involves three steps: define the state, add nodes and edges, and compile.
50%UnverifiedA State Graph is a directed graph structure that models computation as nodes and edges, where all nodes share a readable and writable global state object and conditional edges and loops are supported.
50%UnverifiedThe role of a state graph is to confine the large model's degrees of freedom within inspectable boundaries, not to think on behalf of the model.
50%