Remembra
The memory layer for AI that actually works.
Persistent memory with entity resolution, temporal decay, and graph-aware recall.
Self-host in minutes. No vendor lock-in.
Documentation โข
Website โข
Quick Start โข
Why Remembra? โข
Twitter โข
Discord
๐ What's New in v0.16.0 โ Lossless Memory
Most memory layers store an LLM's paraphrase of what you said. Remembra now keeps the receipts.
- ๐งพ Verbatim source records โ the exact original text is preserved as an
immutable record whenever facts are derived from it. Never LLM-merged, never rewritten.
- ๐ Receipts on every fact โ each derived fact carries
metadata.source_id
pointing back to its source. Recall a fact, fetch its evidence.
- ๐ก๏ธ Hallucination flagging โ every derived fact is verified against its source;
facts that don't overlap the original are stored flagged
verified: false, not silently trusted.
- โก Fast writes (opt-in) โ
REMEMBRA_ASYNC_ENRICHMENT=true stores the verbatim
source instantly and runs extraction in the background.
- ๐ฉบ Production reliability โ request IDs on every response, honest 429/502 upstream
error mapping, embedding cache (~8ร faster repeat recalls), litestream backups, and
the opaque store-500 class of failures fixed at the root.
Previous highlights
- ๐ง Brain layer (v0.15+) โ GraphRAG-style community detection over your entity graph; 2D/3D knowledge graph in the dashboard
- ๐ Remote MCP โ multi-tenant streamable-HTTP MCP: connect any agent with just a URL + API key
- ๐ Dashboard v2 โ 2FA, teams, admin console, audit log, entity browser
Supported Agents (6+)
Claude Desktop โข Claude Code โข Codex CLI โข Cursor โข Windsurf โข Gemini
The Problem
Every AI app needs memory. Your chatbot forgets users between sessions. Your agent can't recall decisions from yesterday. Your assistant asks the same questions over and over.
Existing solutions have tradeoffs:
- Mem0: Graph features require $249/mo plan; limited self-hosting documentation
- Zep: Academic approach, complex deployment
- Letta: Research-grade, not production-ready
- LangChain Memory: Too basic, no persistence
The Solution
from remembra import Memory
memory = Memory(user_id="user_123")
memory.store("Had a meeting with Sarah from Acme Corp. She prefers email over Slack.")
result = memory.recall("How should I contact Sarah?")
print(result.context)
โก Quick Start (2 Minutes)
One Command Install
curl -sSL https://raw.githubusercontent.com/remembra-ai/remembra/main/quickstart.sh | bash
That's it. Remembra + Qdrant + Ollama start locally. No API keys needed.
Or with Docker Compose directly:
git clone https://github.com/remembra-ai/remembra && cd remembra
docker compose -f docker-compose.quickstart.yml up -d
Try it:
curl -X POST http://localhost:8787/api/v1/memories \
-H "Content-Type: application/json" \
-d '{"content": "Alice is CEO of Acme Corp", "user_id": "demo"}'
curl -X POST http://localhost:8787/api/v1/memories/recall \
-H "Content-Type: application/json" \
-d '{"query": "Who runs Acme?", "user_id": "demo"}'
Connect ALL Your AI Agents (NEW in v0.10.0)
One command configures everything:
pip install remembra
remembra-install --all --url http://localhost:8787
This auto-detects and configures: Claude Desktop, Claude Code, Codex CLI, Cursor, Windsurf, Gemini.
Verify setup:
Manual MCP Config (if needed)
Claude Desktop โ add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"remembra": {
"command": "remembra-mcp",
"env": {
"REMEMBRA_URL": "http://localhost:8787",
"REMEMBRA_USER_ID": "default"
}
}
}
}
Claude Code:
claude mcp add remembra -e REMEMBRA_URL=http://localhost:8787 -- remembra-mcp
Cursor โ add to .cursor/mcp.json:
{
"mcpServers": {
"remembra": {
"command": "remembra-mcp",
"env": {
"REMEMBRA_URL": "http://localhost:8787"
}
}
}
}
Now ask Claude: "Remember that Alice is CEO of Acme Corp" โ then later: "Who runs Acme?"
Python SDK
from remembra import Memory
memory = Memory(user_id="user_123")
memory.store("Had a meeting with Sarah from Acme Corp. She prefers email over Slack.")
result = memory.recall("How should I contact Sarah?")
print(result.context)
TypeScript SDK
import { Remembra } from 'remembra';
const memory = new Remembra({ url: 'http://localhost:8787' });
await memory.store('User prefers dark mode');
const result = await memory.recall('preferences');
๐ฅ Why Remembra?
Feature Comparison
| Feature | Remembra | Mem0 | Zep/Graphiti | Letta | Engram |
|---|
| One-Command Install | โ
curl | bash | โ
pip | โ
pip | โ ๏ธ Complex | โ
brew |
| Bi-Temporal Relationships | โ
Point-in-time | โ | โ ๏ธ Basic | โ | โ |
| Entity Resolution | โ
Free | ๐ฐ $249/mo | โ
| โ | โ |
| Conflict Detection | โ
Auto-supersede | โ | โ | โ | โ |
| PII Detection | โ
Built-in | โ | โ | โ | โ |
| Hybrid Search | โ
BM25+Vector | โ | โ
| โ | โ |
| 6 Embedding Providers | โ
Hot-swap | โ (1-2) | โ (1) | โ | โ |
| Plugin System | โ
| โ | โ | โ
| โ |
| Sleep-Time Compute | โ
| โ | โ | โ
| โ |
| Self-Host + Billing | โ
Stripe | โ | โ | โ | โ |
| Memory Spaces | โ
Multi-tenant | โ | โ | โ | โ |
| MCP Server | โ
11 Tools | โ
| โ | โ | โ
|
| Pricing | Free / $49 / $199 | $19 โ $249 | $25+ | Free | Free |
| License | MIT | Apache 2.0 | Apache 2.0 | Apache 2.0 | MIT |
Core Features
๐ง Smart Extraction โ LLM-powered fact extraction from raw text
๐ฅ Entity Resolution โ "Adam", "Mr. Smith", "my husband" โ same person
โฑ๏ธ Temporal Memory โ TTL, decay curves, historical queries
๐ Hybrid Search โ Semantic + keyword for accurate recall
๐ Security โ PII detection, anomaly monitoring, audit logs
๐ Dashboard โ Visual memory browser, entity graphs, analytics
๐ Benchmark Results
Tested on the LoCoMo benchmark (Snap Research, ACL 2024) โ the standard academic benchmark for AI memory systems.
| Category | Accuracy | Questions |
|---|
| Single-hop (direct recall) | 100% | 37 |
| Multi-hop (cross-session reasoning) | 100% | 32 |
| Temporal (time-based queries) | 100% | 13 |
| Open-domain (world knowledge + memory) | 100% | 70 |
| Overall (memory categories) | 100% | 152 |
Scored with LLM judge (GPT-4o-mini). Adversarial detection not yet implemented. Run your own: python benchmarks/locomo_runner.py --data /tmp/locomo/data/locomo10.json
๐ Documentation
๐ ๏ธ MCP Server
Give any AI coding tool persistent memory with one command. Works with Claude Code, Cursor, VS Code + Copilot, Windsurf, JetBrains, Zed, OpenAI Codex, and any MCP-compatible client.
pip install remembra[mcp]
claude mcp add remembra -e REMEMBRA_URL=http://localhost:8787 -- remembra-mcp
Available Tools (11 total):
| Tool | Description |
|---|
store_memory | Save facts, decisions, context |
recall_memories | Semantic search across memories |
update_memory | Update content without delete+recreate |
forget_memories | GDPR-compliant deletion |
list_memories | Browse stored memories |
search_entities | Search the entity graph |
share_memory | Cross-agent memory sharing via Spaces |
timeline | Temporal browsing by entity and date |
relationships_at | Point-in-time relationship queries |
ingest_conversation | Auto-extract from chat history |
health_check | Verify connection |
๐๏ธ Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Your Application โ
โโโโโโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Python โ TypeScript โ MCP Server (Claude/Cursor) โ
โ SDK โ SDK โ remembra-mcp โ
โโโโโโโโโโโโดโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Remembra REST API โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโค
โ Extraction โ Entities โ Retrieval โ Security โ
โ (LLM) โ (Graph) โ (Hybrid) โ (PII/Audit) โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโค
โ Storage Layer โ
โ Qdrant (vectors) + SQLite (metadata/graph) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ค Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
git clone https://github.com/remembra-ai/remembra
cd remembra
pip install -e ".[dev]"
pytest
remembra-server --reload
๐ License
MIT License โ Use it however you want.
โญ Star History
If Remembra helps you, please star the repo! It helps others discover the project.

Built with โค๏ธ by DolphyTech
remembra.dev โข docs โข twitter โข discord