
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
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.
The npm package langgraph-db receives a total of 1 weekly downloads. As such, langgraph-db popularity was classified as not popular.
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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.