State
In LangGraph, a shared data structure that runs through the entire execution flow of an Agent, typically a dictionary containing a messages list. Each node execution appends updates, and a snapshot of State changes constitutes a Values event.
Timeline (last 90 days)
LangChain's Agent is built on LangGraph; State is a shared data structure that runs through the entire execution flow, usually a dictionary containing a messages list.
Information during execution can be divided into three categories: State stores parameters and step outputs, Working memory stores the current goal and key findings, and Transcript only retains recent exchanges.
LangGraph's stateful workflows carry shared data across nodes through an explicit state object, allowing the workflow to be suspended at any node and resumed from the breakpoint hours or even days later.
State is responsible for saving conversation context so that subsequent follow-up questions can still understand the context.
State is the shared public data carrier that all nodes in a graph structure can read from and write to, storing context, intermediate results, and conversation history.
All Facts (5)
LangChain's Agent is built on LangGraph; State is a shared data structure that runs through the entire execution flow, usually a dictionary containing a messages list.
50%UnverifiedInformation during execution can be divided into three categories: State stores parameters and step outputs, Working memory stores the current goal and key findings, and Transcript only retains recent exchanges.
50%UnverifiedLangGraph's stateful workflows carry shared data across nodes through an explicit state object, allowing the workflow to be suspended at any node and resumed from the breakpoint hours or even days later.
50%UnverifiedState is responsible for saving conversation context so that subsequent follow-up questions can still understand the context.
50%UnverifiedState is the shared public data carrier that all nodes in a graph structure can read from and write to, storing context, intermediate results, and conversation history.
50%