langgraph-checkpoints
Installation
SKILL.md
LangGraph Checkpointing
Persist workflow state for recovery and debugging.
Checkpointer Options
from langgraph.checkpoint import MemorySaver
from langgraph.checkpoint.sqlite import SqliteSaver
from langgraph.checkpoint.postgres import PostgresSaver
# Development: In-memory
memory = MemorySaver()
app = workflow.compile(checkpointer=memory)
# Production: SQLite
checkpointer = SqliteSaver.from_conn_string("checkpoints.db")
app = workflow.compile(checkpointer=checkpointer)