Persistent memory layer for AI agents that survives session boundaries. Enable agents to recall previous interactions, learned facts, and context across conversations.
Every conversation starts from scratch. Critical context is lost. Users get frustrated.
Every new conversation means starting completely fresh. Years of learned preferences are gone.
Agents ask the same questions because they can't remember previous answers.
Complex multi-step tasks fail because agents lose track of what they've done.
Add memory to your AI agents in minutes, not months.
# Install the SDK
npm install @memory-bank/sdk
# Add memory to your agent
import { MemoryBank } from '@memory-bank/sdk';
const memory = new MemoryBank({
apiKey: process.env.MEMORY_BANK_KEY
});
// Store important context
await memory.store('customer-123-prefs', {
prefersDarkMode: true,
language: 'en',
notifyVia: 'email'
});
// Retrieve when needed
const prefs = await memory.get('customer-123-prefs');
// Returns: { prefersDarkMode: true, language: 'en', ... }
Production-ready memory infrastructure for AI agents.
RESTful API with SDKs for Python, JavaScript, and TypeScript. Add memory in under 5 minutes.
Natural language queries return relevant memories with confidence scores. No exact matches needed.
Share memory across agents in the same workspace. Team agents collaborate with shared context.
Dashboard showing memory usage, agent activity, and storage trends. Know what's in your agents' heads.
Workspace isolation, optional encryption, and GDPR-compliant deletion. Your data stays yours.
Intelligent memory management. LRU eviction when storage is full. Important memories stay longer.
Native integrations with the most popular AI agent frameworks.
Memory adapter for LangChain agents. Use our MemoryStore as a drop-in replacement.
138K+ usersBackend memory for CrewAI crews. Enable multi-agent collaboration with shared memory.
GrowingMemory component for AutoGen agents. Preserve conversation history across sessions.
MicrosoftDon't see your framework? Our REST API works with anything.
View API DocsThree lines of code to add persistent memory to your AI agent.
Add the Memory Bank SDK to your project with npm or pip.
# npm
npm install @memory-bank/sdk
# or pip
pip install memory-bank
Set your API key as an environment variable. Get one from the dashboard.
MEMORY_BANK_KEY=mb_live_your_api_key_here
That's it. Your agents can now remember across sessions.
import { MemoryBank } from '@memory-bank/sdk';
const memory = new MemoryBank({ apiKey: process.env.MEMORY_BANK_KEY });
// Store important context
await memory.store('customer-prefs', { prefersDark: true });
// Retrieve across sessions
const prefs = await memory.get('customer-prefs');
// { prefersDark: true } — even in a new session!
Get free access to the Starter tier. No credit card required.