### Install the LangGraph Python SDK ### 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.