User Guide

User Guide#

Learn how to use langgraph-checkpoint-redis for persistent LangGraph workflows backed by Redis. These guides cover everything from installation to advanced deployment patterns.

Installation

Install the package, set up Redis, and verify your environment.

Installation
Getting Started

Build your first LangGraph workflow with Redis persistence in minutes.

Getting Started
Checkpointers

Deep dive into RedisSaver and AsyncRedisSaver for full checkpoint history.

Checkpointers
Shallow Checkpointers

Store only the latest checkpoint per thread for reduced storage overhead.

Shallow Checkpointers
Stores

Key-value storage with optional vector search using RedisStore.

Stores
TTL Configuration

Configure automatic expiration and refresh-on-read for checkpoints and stores.

TTL Configuration
Middleware

Add semantic caching, tool caching, routing, and conversation memory to agents.

Middleware
Azure and Enterprise

Deploy with Azure Managed Redis, Azure Cache for Redis, or Redis Enterprise.

Azure and Enterprise Deployment
Message Exporter

Extract and export conversation messages from checkpoints for analytics and auditing.

Message Exporter
Migration Guide

Upgrade between versions with step-by-step migration instructions.

Migration Guide