skillfed

langgraph-checkpoint-sqlite

Library with a SQLite implementation of LangGraph checkpoint saver.

langgraph-checkpoint-sqlite v3.1.1 3.5M downloads/30d#2,586 on PyPI39,691
Permissive license MIT Active released

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 on this page — 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

langgraph-checkpoint-sqlite on PyPI

pip

pip install langgraph-checkpoint-sqlite

uv

uv add langgraph-checkpoint-sqlite

poetry

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 the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — aiosqlite, langgraph-checkpoint, sqlite-vec
Maintenance actively maintained — 15 days since the last release
Last repo commit
First released
Downloads 3,538,545/month — #2,586 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: langgraph_checkpoint_sqlite-3.1.1-py3-none-any.whl

Tags

langgraph state persistencesqlite checkpoint storagelanggraph memory backendasync sqlite saverlanggraph local storagecheckpoint serializationgraph state management
langgraphstate-persistenceasync-support

More Database packages

psycopg2-binary

psycopg2-binary is a PostgreSQL database…

copyleft · top 1,000 on PyPI

redis

Python client library for connecting to and…

permissive · top 1,000 on PyPI

ydb

YDB Python SDK is the official client library…

permissive · top 1,000 on PyPI

snowflake-connector-python

Connects Python applications to Snowflake data…

permissive · top 1,000 on PyPI

sqlparse

sqlparse tokenizes SQL text into a tree of…

permissive · top 1,000 on PyPI

dbt-adapters

Provides base adapter protocols and shared…

permissive · top 1,000 on PyPI

langgraph-checkpoint

Provides the base interface and serialization…

permissive · top 1,000 on PyPI

langgraph-checkpoint-postgres

Provides a Postgres-backed checkpoint saver for…

permissive · top 5,000 on PyPI

seba-sqlite

Provides legacy SQLite storage backend for the…

copyleft · top 15,000 on PyPI

langgraph-checkpoint-mongodb

Provides a MongoDB-backed checkpoint storage…

unclear · top 15,000 on PyPI

langgraph-checkpoint-redis

Provides Redis-backed checkpoint storage and…

permissive · top 5,000 on PyPI

langgraph-checkpoint-aws

Provides AWS-based persistence backends for…

permissive · top 15,000 on PyPI

langgraph

LangGraph is a low-level orchestration…

permissive · top 1,000 on PyPI

langgraph-cli

Command-line interface for creating,…

permissive · top 5,000 on PyPI

langsmith-fetch

A CLI tool for fetching traces and threads from…

unclear · top 15,000 on PyPI

historydict

HistoryDict provides a persistent dictionary…

unclear · top 15,000 on PyPI