π What's New in v0.8.2
π AES-256-GCM Field Encryption β Encrypt memory content at rest with OWASP-compliant key derivation
π‘οΈ Enterprise Security Suite β PII detection, anomaly monitoring, audit logging
π¦ MCP Registry Published β Discoverable as
io.github.remembra-ai/remembrain Claude Desktopβ‘ One-Command Quick Start β
curl | bashzero-config setup with Ollama embeddingsπ Multi-Provider Support β OpenAI, Anthropic Claude, Ollama for embeddings & entity extraction
π Usage Warning Banners β API responses include usage thresholds at 60/80/95%
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.
The current solutions suck:
Mem0: $249/mo for graph features, self-hosting docs are trash
Zep: Academic, complex to deploy
Letta: Research-grade, not production-ready
LangChain Memory: Too basic, no persistence
The Solution
from remembra import Memory
memory = Memory(user_id="user_123")
# Store β entities and facts extracted automatically
memory.store("Had a meeting with Sarah from Acme Corp. She prefers email over Slack.")
# Recall β semantic search finds relevant memories
result = memory.recall("How should I contact Sarah?")
print(result.context)
# β "Sarah from Acme Corp prefers email over Slack."
# It knows "Sarah" and "Acme Corp" are entities. It builds relationships.
# It persists across sessions, reboots, context windows. Forever.β‘ Quick Start (2 Minutes)
One Command Install
curl -sSL https://raw.githubusercontent.com/remembra-ai/remembra/main/quickstart.sh | bashThat'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 -dTry it:
# Store a memory
curl -X POST http://localhost:8787/api/v1/memories/store \
-H "Content-Type: application/json" \
-d '{"content": "Alice is CEO of Acme Corp", "user_id": "demo"}'
# Recall it
curl -X POST http://localhost:8787/api/v1/memories/recall \
-H "Content-Type: application/json" \
-d '{"query": "Who runs Acme?", "user_id": "demo"}'Connect to Claude (MCP)
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-mcpCursor β 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
pip install remembrafrom 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) # "Sarah from Acme Corp prefers email over Slack."TypeScript SDK
npm install remembraimport { 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 | β
| β pip | β pip | β οΈ Complex | β brew |
Entity Resolution | β Free | π° $249/mo | β | β | β |
Conflict Detection | β Unique | β | β | β | β |
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 | β Native | β | β | β | β |
Pricing | Free / $49 / $99 | $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
Resource | Description |
Get running in minutes | |
Full Python reference | |
JavaScript/TypeScript guide | |
Tool reference + setup guides for 9 tools | |
API reference | |
Docker deployment guide |
π οΈ 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-mcpAvailable Tools:
Tool | Description |
| Save facts, decisions, context |
| Semantic search across memories |
| GDPR-compliant deletion |
| Auto-extract from chat history |
| 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.
# Clone
git clone https://github.com/remembra-ai/remembra
cd remembra
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Start dev server
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.