Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 439 Bytes

File metadata and controls

18 lines (13 loc) · 439 Bytes
### Install the LangGraph Python SDK
<InstallPythonSDK />
### Add state streaming middleware
`StateStreamingMiddleware` maps a tool argument to an agent state key and
forwards partial tool-call arguments as state updates while the model is
still generating.

<DemoCode file="src/agents/shared_state_streaming.py" region="state-streaming-middleware" />