langgraph-persistence

Persist LangGraph execution states with checkpointing and key-value stores.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/JosephRobles23/Vora.IA --skill langgraph-persistence-josephrobles23
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langgraph-persistence
Source: https://github.com/JosephRobles23/Vora.IA/tree/main/backend/.windsurf/skills/langgraph-persistence
Command: npx skills add https://github.com/JosephRobles23/Vora.IA --skill langgraph-persistence-josephrobles23

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the need for durable execution in LangGraph applications by providing mechanisms to save, load, and manage the state of graph executions, enabling features like conversation history and time travel.

Core Features & Use Cases

  • State Persistence: Save and load graph states using various backends (in-memory, SQLite, PostgreSQL).
  • Conversation History: Maintain and access past states for a given thread ID.
  • Time Travel: Replay, fork, or update states from historical checkpoints.
  • Long-Term Memory: Utilize a Store for cross-thread memory, storing user preferences or facts.
  • Subgraph Scoping: Control persistence behavior for subgraphs, managing interrupts and multi-turn memory.

Quick Start

Invoke the langgraph-persistence skill to set up a basic graph with in-memory checkpointing and thread-based state persistence.

Frequently Asked Questions about langgraph-persistence

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save LangGraph state and conversation history?

You can save LangGraph state and conversation history by using checkpointing and a key-value store to persist graph executions. This enables durable execution by maintaining thread-specific past states for your application.

What is time travel in LangGraph checkpointing?

Time travel in LangGraph checkpointing is the ability to replay, fork, or update application states from historical checkpoints. It allows developers to access past states for a given thread ID and modify execution paths retroactively.

Can I use PostgreSQL or SQLite for LangGraph persistence?

Yes, LangGraph persistence supports saving and loading graph states using various backends including PostgreSQL, SQLite, and in-memory storage. This allows you to choose the appropriate database for your state management and checkpointing needs.

How do I add long-term memory to a LangGraph application?

You add long-term memory to a LangGraph application by utilizing a Store for cross-thread memory. This mechanism stores user preferences or facts across different threads, enabling persistent context beyond a single conversation history.

How does subgraph persistence mode handle interrupts in LangGraph?

Subgraph persistence mode controls persistence behavior for subgraphs to manage interrupts and multi-turn memory. This scoping allows you to define specific state saving and execution boundaries within complex graph structures.

When do I need state persistence for LangGraph execution?

You need state persistence for LangGraph execution when your application requires durable runs, conversation history, or time travel. Checkpointing solves this by saving and loading graph states so you can resume or review past executions reliably.