Skills
LangGraph Memory Scoping: Thread-Level Short-Term vs. Cross-Thread Long-Term State for Precise Multi-Agent Context Control
LangGraph's memory architecture formally separates short-term memory (state persisted within a single conversation thread via in-memory storage or checkpoints) from long-term memory (facts, preferences, and summaries stored across threads and restarts), enabling precise control over what context survives agent session boundaries. In multi-agent systems, shared graph state serves as working memory for active coordination while cross-thread storage provides the persistent knowledge layer — the separation prevents context bleed between independent agent runs and reduces hallucination from stale in-thread state.
Source
↳ Follow the thread