mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-07 18:27:52 +02:00
* 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
23 lines
1.4 KiB
Markdown
23 lines
1.4 KiB
Markdown
---
|
||
search:
|
||
boost: 2
|
||
---
|
||
|
||
# Streaming
|
||
|
||
LangGraph implements a streaming system to surface real-time updates, allowing for responsive and transparent user experiences.
|
||
|
||
LangGraph’s 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 they’re generated.
|
||
3. **Custom updates** — emit user-defined signals (e.g., “Fetched 10/100 records”).
|
||
|
||
## What’s possible with LangGraph streaming
|
||
|
||
- [**Stream LLM tokens**](../how-tos/streaming.md#messages) — capture token streams from anywhere: inside nodes, subgraphs, or tools.
|
||
- [**Emit progress notifications from tools**](../how-tos/streaming.md#stream-custom-data) — send custom updates or progress signals directly from tool functions.
|
||
- [**Stream from subgraphs**](../how-tos/streaming.md#stream-subgraph-outputs) — include outputs from both the parent graph and any nested subgraphs.
|
||
- [**Use any LLM**](../how-tos/streaming.md#use-with-any-llm) — stream tokens from any LLM, even if it's not a LangChain model using the `custom` streaming mode.
|
||
- [**Use multiple streaming modes**](../how-tos/streaming.md#stream-multiple-modes) — choose from `values` (full state), `updates` (state deltas), `messages` (LLM tokens + metadata), `custom` (arbitrary user data), or `debug` (detailed traces). |