Memory Layer
for AI Agents
Give your LLMs and AI agents persistent, searchable memory. Store context, retrieve relevant information, and build truly personalized AI experiences.
import { MemgenClient } from 'memgen';
const client = new MemgenClient({ apiKey: 'mg-...' });
// Store a conversation
await client.memories.add({
messages: [
{ role: "user", content: "I prefer Python" }
],
user_id: "alice"
});
// Retrieve relevant memories
const results = await client.memories.search({
query: "programming preferences",
user_id: "alice"
});Everything you need for AI memory
A complete platform for managing long-term memory in your AI applications.
Long-term Memory
Persistent memory across sessions. Your AI remembers context, preferences, and history.
Multi-tenant
Isolated memory per org and project. Enterprise-grade data separation built in.
Vector Search
Semantic search powered by embeddings. Find relevant memories with natural language.
Real-time Events
Track every operation with webhooks and audit trails. Full observability.
Simple API
RESTful API with SDKs. Add memory to your AI in minutes, not days.
Self-hostable
Deploy on your infrastructure. Full data control with Docker Compose.
Three steps to AI memory
Simple integration, powerful results.
Connect
Create a project, get your API key, and start sending conversations.
Consolidate
The engine automatically extracts and organizes memories from dialogues.
Recall
Search memories semantically. The right context at the right time.
Simple, transparent pricing
Start free and scale as you grow. No hidden fees.