
Security News
NIST Officially Stops Enriching Most CVEs as Vulnerability Volume Skyrockets
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.
langgraph-db
Advanced tools
Langraph-DB is a powerful memory backend for LangGraph.js that brings short-term and long-term memory to your agents using flexible storage providers like MongoDB, Prisma, Redis, and more.
A powerful memory backend for LangGraph.js that provides short-term and long-term memory for your agents using flexible storage providers.
LangGraph-DB implements the checkpoint interfaces from LangGraph.js, featuring two core components:
Both components are implemented using an adapter pattern, allowing seamless integration with various storage backends while maintaining a consistent API.
npm install langgraph-db
import { RedisStore, RedisSaver } from "langgraph-db";
// Create a Redis store for persistent memory
const store = new RedisStore({
url: "redis://localhost:6379",
ttl: 3600, // Optional TTL in seconds
});
// Create a Redis checkpoint saver
const saver = new RedisSaver({
url: "redis://localhost:6379",
ttl: 3600, // Optional TTL in seconds
});
// Use with LangGraph
import { StateGraph, Checkpoint } from "langchain/langgraph";
const graph = new StateGraph({
channels: {
// Your channels here
},
// Configure with Redis persistence
checkpointer: new Checkpoint({
store,
saver,
}),
});
import { createClient } from "redis";
import { RedisStore, RedisSaver } from "langgraph-db";
// Use your existing Redis client
const redisClient = createClient({
url: "redis://localhost:6379",
});
// Pass the client directly to the store and saver
const store = new RedisStore({ client: redisClient });
const saver = new RedisSaver({ client: redisClient });
| Provider | Status |
|---|---|
| Redis/Upstash | ✅ Available |
| MongoDB | 🔜 Coming Soon |
| Prisma | 🔜 Coming Soon |
Contributions are welcome! Feel free to open issues or submit pull requests.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)Distributed under the MIT License. See LICENSE for more information.
FAQs
Langraph-DB is a powerful memory backend for LangGraph.js that brings short-term and long-term memory to your agents using flexible storage providers like MongoDB, Prisma, Redis, and more.
We found that langgraph-db demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.