Files
langgraph/docs/docs/concepts/streaming.md
T
Lauren Hirata SinghandGitHub c3ae5e6b71 docs: Reorganize existing content (#5122)
* Organize existing content differently

* Fix broken links

* Remove cookie consent popup

* edits

* Consolidate streaming

* Remove agents/streaming

* Fix broken links

* Edit stream modes

* Change titles

* Fix titles based on feedback

* Move LGP to platform section

* Update navigation

* Consolidate assistant conceptual guides

* docs: Memory consolidation (#5149)

* Memory consolidation

* Fix broken links

* fix links

* Fix links

* Fix links

* General content clean up for memory

* fix links

* Fix link

* fix links

* Fix title

* Edits based on feedback

* Link to memory store
2025-06-24 09:29:59 -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).