AI Agents · Class
OutputGuardrail
LangChain streaming delivers live agent-run data while execution continues. It can show progress, tokens, custom data, and subgraph updates before the final result is ready.
Last updated
- Since
- v1.3 for the typed event-streaming API
Syntax
agent.stream(input, stream_mode=...)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
event streamingagent progressmessages streamingcustom data streamingsubgraphs