mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-22 07:32:25 +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
945 B
945 B
Threads
A thread contains the accumulated state of a sequence of runs. When a run is executed, the state of the underlying graph of the assistant will be persisted to the thread.
A thread's current and historical state can be retrieved. To persist state, a thread must be created prior to executing a run.
The state of a thread at a particular point in time is called a checkpoint. Checkpoints are persisted and can be used to restore the state of a thread at a later time.
Learn more
- For more on threads and checkpoints, see this section of the LangGraph conceptual guide.
- The LangGraph Platform API provides several endpoints for creating and managing threads and thread state. See the API reference for more details.