framework · inferred from evidence
StateGraph
A parent graph structure in LangChain that can wrap agents as nodes.
- Migrate a legacy chain pipeline to a LangGraph state machine
Sequential LLMChain-style pipelines become StateGraph nodes with typed state. Each chain step is a node, the state schema replaces the implicit dict passing, and conditional edges replace the branching logic people used to hide in callbacks