
langgraph-persistence
INVOKE THIS SKILL when your LangGraph needs to persist state
by langchain-aiFree
Description
langgraph-persistence is an agent skill from LangChain's langchain-skills collection, listed on skills.sh. It helps an AI agent make a LangGraph application persist its state, remember conversations, travel back through history and scope checkpointers for subgraphs. The skill explains the main concepts: a checkpointer saves and loads the graph state at every step, a thread ID identifies a separate sequence of checkpoints, which is usually one conversation, and a store holds cross-thread memory such as user preferences and facts. It separates two kinds of memory: short-term memory, which is the conversation history within a thread, and long-term memory, which carries across threads. The skill includes a table that compares checkpointers. InMemorySaver suits testing and development and is not production-ready, SqliteSaver suits local development with partial readiness, and PostgresSaver is listed as the production choice. A skill is a SKILL.md file of instructions, sometimes with scripts and reference notes, that an AI agent loads only when a task calls for it. The skill is listed as free on skills.sh.…
Highlights
- Checkpointers save state at every step
- Thread IDs for separate conversations
- Short-term and long-term memory
- Comparison of checkpointer options for production
Ratings & Reviews
No ratings yet
Be the first to rate langgraph-persistence.
People also visit

langgraph-docs
Fetches and references LangGraph Python documentation to build stateful agents
langgraph-persistence FAQ
What does the langgraph-persistence skill do?
It helps an AI agent add state persistence, conversation memory and history to a LangGraph app.
How do I install it?
Run: npx skills add https://github.com/langchain-ai/langchain-skills --skill langgraph-persistence
Is it free?
Yes. The skill is listed as free on skills.sh.
Which checkpointer should I use in production?
The skill's table lists PostgresSaver for production. InMemorySaver is for testing and development.
What is a thread ID?
It identifies a separate checkpoint sequence, which usually means one conversation.
What are the best langgraph-persistence alternatives?
Popular alternatives to langgraph-persistence include langgraph-docs, langgraph-fundamentals and sgx-labs/statelessagent. See all langgraph-persistence alternatives

















