langgraph-persistence

Installation
Summary

Durable graph execution with thread-scoped checkpoints, state history, and cross-thread long-term memory.

  • Three checkpointer options: InMemorySaver for testing, SqliteSaver for local development, PostgresSaver for production; always pass thread_id in config to enable persistence
  • Browse and replay from past checkpoints using get_state_history(), fork execution by updating state at a past point, or manually modify state before resuming
  • Store API provides cross-thread memory for user preferences and facts; access via runtime.store in graph nodes, separate from thread-scoped checkpoint history
  • Subgraph checkpointer modes: False (no persistence), None (interrupts only, default), or True (multi-turn memory); stateful subgraphs cannot be called multiple times in parallel within a single node due to namespace conflicts
SKILL.md
  • Checkpointer: Saves/loads graph state at every super-step
  • Thread ID: Identifies separate checkpoint sequences (conversations)
  • Store: Cross-thread memory for user preferences, facts

Two memory types:

  • Short-term (checkpointer): Thread-scoped conversation history
  • Long-term (store): Cross-thread user preferences, facts
Checkpointer Use Case Production Ready
InMemorySaver Testing, development No
SqliteSaver Local development Partial
PostgresSaver Production Yes
Related skills
Installs
6.5K
GitHub Stars
678
First Seen
Mar 3, 2026