Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 562 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 562 Bytes

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