--- id: langgraph-checkpoint-sqlite version: "3.1.1" license: MIT license_treatment: permissive maintenance: active --- # langgraph-checkpoint-sqlite — Library with a SQLite implementation of LangGraph checkpoint saver. License: permissive · Maintenance: active · Downloads: 3.5M/mo ## What it is and what it does This package implements LangGraph's checkpoint saver interface using SQLite as the backing store. It allows LangGraph applications to persist execution state—channel values, versions, and metadata—across runs, enabling features like resumable workflows and state recovery. The library supports both synchronous and asynchronous operations via aiosqlite, making it suitable for local development, testing, and lightweight deployments where a full database service is not available. The package is part of the LangGraph ecosystem and integrates directly with LangGraph's state management layer. It handles serialization of checkpoint data and provides methods to store, retrieve, and list checkpoints keyed by thread ID and namespace. A critical security note in the documentation emphasizes setting LANGGRAPH_STRICT_MSGPACK=true or supplying an explicit allowed_msgpack_modules list to restrict deserialization to known-safe types, preventing arbitrary code execution if the database is compromised. Use it for: - Local development and testing of LangGraph applications where persistent state is needed without external infrastructure - Lightweight production deployments on single machines or containers where SQLite's file-based storage is sufficient - Building resumable workflows that can recover from interruptions by reloading checkpoint state - Async LLM applications requiring non-blocking checkpoint operations via AsyncSqliteSaver - Multi-threaded graph execution with per-thread state isolation using configurable thread IDs ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a SQLite-backed checkpoint saver for LangGraph, enabling state persistence in LLM applications with both sync and async support. Yes. Active maintenance, low install friction, no known vulnerabilities, and MIT licensing make this a solid choice for LangGraph state persistence in development and small-to-medium deployments. Install it if you are building LangGraph applications and need local or lightweight checkpoint storage; skip it if you require distributed state management or are already using a dedicated database backend. ## Install pip install langgraph-checkpoint-sqlite uv add langgraph-checkpoint-sqlite poetry add langgraph-checkpoint-sqlite ## Installing langgraph-checkpoint-sqlite Before you install: Low friction installation with three runtime dependencies. Actively maintained; last commit 2026-08-14 with 39691 repository stars. Requires Python 3.10 or later. License in practice: MIT license permits commercial and private use with minimal restrictions; suitable for production deployments. Quickstart: from langgraph.checkpoint.sqlite import SqliteSaver with SqliteSaver.from_conn_string(":memory:") as checkpointer: checkpointer.put(config, checkpoint, {}, {}) checkpointer.get(config) Requires Python 3.10 or later. Set LANGGRAPH_STRICT_MSGPACK=true or pass allowed_msgpack_modules to prevent code execution if database is compromised. Verify before relying: - Performance characteristics under high-volume checkpoint writes or large state objects - SQLite file size limits and practical scalability for production workloads - Compatibility with concurrent access patterns beyond the documented async interface ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 3.5M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags langgraph state persistence, sqlite checkpoint storage, langgraph memory backend, async sqlite saver, langgraph local storage, checkpoint serialization, graph state management, langgraph, state-persistence, async-support [View on SkillFed](https://skillfed.io/packages/langgraph-checkpoint-sqlite) · [View on PyPI](https://pypi.org/project/langgraph-checkpoint-sqlite/)