/checkpoint-redis

Langgraph Redis Checkpoint Saver

Primary LanguageTypeScriptMIT LicenseMIT

Langchain langgraph Redis Checkpoint Saver

A TypeScript implementation of a Redis-based checkpoint saver for langgraph. Based on How to create a custom checkpoint saver (python).

Install

npm install checkpoint-redis

Usage

import { RedisSaver } from "checkpoint-redis";
import { Redis } from "ioredis";

const redis = new Redis(process.env.REDIS_URL);
const checkpoint = new RedisSaver(redis);

License

MIT