What problem does it solve?
This Skill addresses the challenge of managing state persistence and configuration for LangGraph, enabling durable execution and state management across different scenarios.
Core Features & Use Cases
- State Persistence: Offers various checkpointers for saving and loading graph state, including in-memory, SQLite, and PostgreSQL options.
- Thread Management: Allows for isolated state between different thread IDs, enabling concurrent conversations with separate states.
- Time Travel: Enables browsing and replaying checkpoint history, as well as forking from past states for different execution paths.
- Subgraph Checkpointer Scoping: Provides control over persistence behavior for subgraphs, supporting interrupts, multi-turn memory, and parallel execution.
- Long-Term Memory (Store): Offers cross-thread memory for user preferences and facts, facilitating shared state across conversations.
Quick Start
Use the langgraph-persistence skill to set up a basic graph with in-memory checkpointing and thread-based state persistence by running the following command: langgraph-persistence setup in-memory.