The State node is a crucial component in Sequential Agent flows, providing a centralized state object that can be updated and passed between nodes in the graph.
ISeqAgentNode
object containing:
id
: The node’s unique identifier
node
: The state object with defined keys and their corresponding update functions
name
: ‘state’
label
: ‘state’
type
: ‘state’
output
: START (a constant from @langchain/langgraph)