LangGraph Persistence & Memory
OfficialRemember state across LangGraph calls.
Software Engineering#state management#memory#conversation history#checkpointing#persistence#langgraph
Authorlangchain-ai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the need for LangGraph applications to maintain state, manage conversation history, and store information persistently across multiple invocations or user sessions.
Core Features & Use Cases
- State Checkpointing: Automatically saves the graph's state at each super-step, allowing for resumption and recovery.
- Threaded Conversations: Manages distinct conversation histories and states using
thread_idfor isolation. - Long-Term Memory: Utilizes a
Storeto persist user preferences or facts across different threads and sessions. - Use Case: Building a chatbot that remembers user preferences (like preferred language or tone) across multiple conversations, or an agent that can resume a complex task from where it left off.
Quick Start
Configure your LangGraph with an InMemorySaver checkpointer and invoke it with a specific thread_id.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: LangGraph Persistence & Memory Download link: https://github.com/langchain-ai/langchain-skills/archive/main.zip#langgraph-persistence-memory Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.