LangGraph Persistence & Memory

Official

Remember state across LangGraph calls.

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_id for isolation.
  • Long-Term Memory: Utilizes a Store to 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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.