Examples#
23 Jupyter notebooks demonstrating how to use langgraph-checkpoint-redis for
persistent LangGraph workflows. Each notebook is self-contained and uses Redis
as the backing store for checkpoints, memory, and middleware.
Checkpoints#
Persist graph state across invocations using Redis-backed checkpoint savers, including cross-thread sharing, functional APIs, and subgraph patterns.
Notebook |
Description |
|---|---|
Cross-thread persistence with Redis stores |
|
Cross-thread persistence using the functional API |
|
Functional persistence patterns |
|
Subgraph checkpoint persistence |
|
Managing state in subgraphs |
Human-in-the-Loop#
Interrupt graph execution for human review, edit state mid-run, and navigate checkpoint history with time travel.
Notebook |
Description |
|---|---|
Adding breakpoints for human review |
|
Dynamic breakpoints based on conditions |
|
Editing graph state during execution |
|
Reviewing tool calls before execution |
|
Reviewing tool calls with the OpenAI Responses API |
|
Time travel to previous checkpoints |
|
Waiting for user input during execution |
Memory#
Manage conversation history, summarize past messages, and perform semantic
search over stored memories using RedisStore.
Notebook |
Description |
|---|---|
Summarizing conversation history |
|
Deleting messages from state |
|
Managing conversation history length |
|
Semantic search over stored memories |
Middleware#
Add caching, conversation memory, and semantic routing to LangGraph agents using the Redis middleware layer.
Notebook |
Description |
|---|---|
LLM response caching with semantic matching |
|
Tool result caching with metadata control |
|
Semantic conversation history retrieval |
|
Combining middleware with shared connections |
ReAct Agents#
Build ReAct agents with Redis-backed persistence, human-in-the-loop review, and long-term memory.
Notebook |
Description |
|---|---|
ReAct agent with human-in-the-loop |
|
ReAct agent with message history management |
|
ReAct agent with persistent memory |