Files
langgraph/docs/docs/concepts/streaming.md
T
Eugene YurtsevandGitHub 200c09b662 docs: re-enable strict mode (#4638)
- Turn on strict mode to fail docs build if there are any internal
broken anchor links.
- Fix broken anchor links.
- Delete storm tutorial that has fake markdown inside it (we'll figure
out how to deal with it later)
2025-05-09 17:25:11 -04:00

1.4 KiB
Raw Blame History

search, boost
search boost
2

Streaming

LangGraph implements a streaming system to surface real-time updates, allowing for responsive and transparent user experiences.

LangGraphs streaming system lets you surface live feedback from graph runs to your app.
There are three main categories of data you can stream:

  1. Workflow progress — get state updates after each graph node is executed.
  2. LLM tokens — stream language model tokens as theyre generated.
  3. Custom updates — emit user-defined signals (e.g., “Fetched 10/100 records”).

Whats possible with LangGraph streaming

  • Stream LLM tokens — capture token streams from anywhere: inside nodes, subgraphs, or tools.
  • Emit progress notifications from tools — send custom updates or progress signals directly from tool functions.
  • Stream from subgraphs — include outputs from both the parent graph and any nested subgraphs.
  • Use any LLM — stream tokens from any LLM, even if it's not a LangChain model using the custom streaming mode.
  • Use multiple streaming modes — choose from values (full state), updates (state deltas), messages (LLM tokens + metadata), custom (arbitrary user data), or debug (detailed traces).