langgraph-checkpointing
OfficialPersist LangGraph state, resume workflows anytime.
Software Engineering#workflow#AI agents#PostgreSQL#checkpointing#LangGraph#human-in-the-loop#state persistence
Authoralldigitalrewards
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Long-running or human-in-the-loop LangGraph workflows require state persistence to resume after interruptions or for review, which can be complex to implement correctly. This skill guides you in implementing robust state persistence and checkpointing for resumable LangGraph workflows.
Core Features & Use Cases
- Flexible Checkpointer Types: Supports
MemorySaverfor development,SqliteSaverfor local persistence, andPostgresSaverfor production-grade state storage. - Thread Management: Guides in using unique
thread_idpatterns for managing separate conversations and resuming specific workflows. - Human-in-the-Loop Integration: Facilitates pausing workflows at specific nodes for human review and resuming upon approval.
- Use Case: When building a human-in-the-loop approval workflow, use this skill to configure checkpointing. It will help you set up
PostgresSaverfor production, define a uniquethread_idfor each approval process, and configureinterrupt_beforea human review node, allowing the workflow to pause and resume seamlessly.
Quick Start
Set up SqliteSaver for local checkpointing in my LangGraph workflow. Then, demonstrate how to run a workflow with a unique thread_id and retrieve its state after an invocation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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-checkpointing Download link: https://github.com/alldigitalrewards/changemaker-minimal/archive/main.zip#langgraph-checkpointing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.