skillfed

langgraph-checkpoint-redis

Redis implementation of the LangGraph agent checkpoint saver and store.

langgraph-checkpoint-redis v0.5.1 1.0M downloads/30d#4,447 on PyPI235
Permissive license MIT Active released

What it is and what it does

langgraph-checkpoint-redis is a Redis backend for LangGraph's checkpoint and store systems, allowing you to persist agent state and conversation history in Redis instead of memory or local storage. It provides both standard and shallow checkpoint savers (sync and async), plus key-value stores with optional vector search for semantic caching and tool caching in LangChain agents.

The package wraps redis and redisvl to manage checkpoint serialization, TTL-based expiration, and index creation. It handles the complexity of connecting to different Redis deployments—standard Redis, Azure Managed Redis, Redis Enterprise—by detecting cluster mode and configuring clients appropriately. You call .setup() once to initialize indices, then use put/get/list methods to store and retrieve checkpoints keyed by thread_id and namespace.

Use it for:

  • Store LangGraph agent execution checkpoints in Redis for multi-turn conversation recovery across server restarts.
  • Implement semantic caching for LLM tool calls using Redis vector search to avoid redundant API calls.
  • Scale agent state across multiple worker processes by persisting checkpoints to a shared Redis instance.
  • Expire old conversation history automatically using Redis TTL to manage storage costs.
  • Build agent middleware for conversation memory and tool result caching in production deployments.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Redis-backed checkpoint storage and key-value stores for LangGraph agents, with optional vector search capabilities via RedisJSON and RediSearch modules.

Yes, if you are building LangGraph agents and need persistent, scalable checkpoint storage. The package is actively maintained, has low install friction, and solves a real problem for production agent deployments. The main gotcha is the Redis module requirement (RedisJSON, RediSearch)—verify your Redis deployment includes these before installing, especially on Azure or Redis Enterprise.

Install

langgraph-checkpoint-redis on PyPI

pip

pip install langgraph-checkpoint-redis

uv

uv add langgraph-checkpoint-redis

poetry

poetry add langgraph-checkpoint-redis

Installing langgraph-checkpoint-redis

Before you install

Low install friction; pure Python wheel with straightforward dependencies. Active maintenance (last commit 2026-07-14, 31 days since release). Requires Redis 8.0+ with RedisJSON and RediSearch built-in, or Redis Stack for older versions—this is a runtime requirement, not a Python install issue.

License in practice

MIT license (permissive); you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

from langgraph.checkpoint.redis import RedisSaver

with RedisSaver.from_conn_string("redis://localhost:6379") as checkpointer:
    checkpointer.setup()
    checkpointer.put({"configurable": {"thread_id": "1"}}, checkpoint_data, {}, {})

Requires Redis 8.0+ (or Redis Stack for older versions) with RedisJSON and RediSearch modules enabled; Azure Managed Redis and Redis Enterprise require standard Redis client, not cluster-aware client.

Verify before relying

  • Whether redisvl>=0.5.1 and orjson are used directly by the package or are transitive dependencies only.
  • Performance characteristics (throughput, latency) for checkpoint read/write operations at scale.
  • Whether the shallow checkpoint implementations (ShallowRedisSaver) are production-ready or experimental.

Package facts

License MIT (permissive)
Python support supports the current Python release (<3.15,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 5 — langgraph-checkpoint, orjson, redis, redisvl, tomli
Maintenance actively maintained — 31 days since the last release
Last repo commit
First released
Downloads 1,048,084/month — #4,447 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: langgraph_checkpoint_redis-0.5.1-py3-none-any.whl

Keywords: ai, redis, redis-client, vector-database, agents, langgraph, langchain

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

langgraph checkpoint redis storageredis agent state persistencelanggraph redis saverredis vector search agentslanggraph checkpoint backend
langgraph-integrationredis-backendagent-persistence

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

langgraph-checkpoint-aws

Provides AWS-based persistence backends for…

permissive · top 15,000 on PyPI

langgraph-checkpoint-mongodb

Provides a MongoDB-backed checkpoint storage…

unclear · top 15,000 on PyPI

RLTest

RLTest is a test framework for Redis and Redis…

permissive · top 15,000 on PyPI

langgraph-checkpoint-sqlite

Provides a SQLite-backed checkpoint saver for…

permissive · top 5,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

langchain-redis

Integrates Redis with LangChain to provide…

permissive · top 15,000 on PyPI

agent-framework-redis

Adds Redis-backed persistent memory and…

permissive · top 15,000 on PyPI

langchain-neo4j

Integrates Neo4j graph databases with…

permissive · top 15,000 on PyPI

langgraph-supervisor

Builds hierarchical multi-agent systems where a…

permissive · top 15,000 on PyPI