The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Neural Memory listing page.
Your AI agent forgets everything between sessions. Neural Memory gives it a brain.
Website · Quickstart · MCP Tools · Pro · Changelog
Memories are stored as interconnected neurons and recalled through spreading activation — the same way the human brain works. No vector database. No API calls. No monthly embedding bill.
Restart your AI tool. Your agent now remembers — no init needed, the MCP server auto-initializes on first use.
Already installed? nmem update upgrades in place and detects whether you installed via pip or from source. nmem update --check only reports what is available.
The CLI is
nmem(or the longerneural-memory). There is nonmbinary.
63 MCP tools are available, but you only need three:
| Tool | What it does |
|---|---|
nmem_remember | Store a memory — auto-detects type, tags, and connections |
nmem_recall | Recall through spreading activation — related memories surface naturally |
nmem_health | Brain health score (A–F) with actionable fix suggestions |
Everything else — sessions, context loading, habit tracking, maintenance — works transparently in the background.
Most memory tools are search engines. Neural Memory is a graph that thinks.
When you ask "Why did Tuesday's outage happen?", a vector database returns the most similar sentence. Neural Memory traces the chain:
Relationships are explicit — CAUSED_BY, LEADS_TO, RESOLVED_BY, CONTRADICTS — so your agent doesn't just find memories, it reasons through them.
| Search-based (RAG) | Neural Memory | |
|---|---|---|
| Retrieval | Similarity score | Graph traversal |
| Relationships | None | 24 explicit types |
| LLM required | Yes (embedding) | No — fully offline |
| Multi-hop reasoning | Multiple queries | One traversal |
| Memory lifecycle | Static | Decay, reinforcement, consolidation |
| Cost per 1K queries | ~$0.02 | $0.00 |
Sync your brain across every machine. Unlike other memory tools, we never store your data.
You deploy the sync hub to your own Cloudflare account (free tier). Your D1 database, your encryption key, your data. We provide the code — you own the infrastructure.
Sync uses Merkle delta — only diffs travel, not the full brain. Fast, efficient, private.
nmem config preset {balanced,safe-cost,max-recall,chat-heavy} tune the brain for SaaS, frugal mode, deep retention, or conversational agentsnmem_causal exposes temporal_range and temporal_neighborhood actions; see the Temporal Recall Recipes guide.db files to Telegram for offsite backupFree Neural Memory is complete — 63 tools, unlimited memories, fully offline. You never have to pay.
But past 10K memories, things change. Keyword matching misses semantically related content. Consolidation slows to minutes. Storage grows unbounded. If your agent's brain is getting big, Pro makes it smart.
| Free (SQLite) | Pro (InfinityDB) | |
|---|---|---|
| Recall | Keyword match (FTS5) | Semantic similarity (HNSW) |
| Speed at 1M neurons | ~500ms | <5ms |
| Scale tested | ~50K neurons | 2M+ neurons |
| Compression | Text-level trimming | 5-tier vector compression (97% savings) |
| Consolidation | O(N²) brute-force | O(N×k) HNSW clustering |
| Storage per 1M | ~5 GB | ~1 GB |
| Cloud sync | Manual push/pull | Merkle delta (auto, diffs only) |
$9/mo — 30-day money-back guarantee. All free tools keep working. Downgrade anytime, keep your data.
Add to your editor's MCP config:
Skill — one click via ClawHub. Published on every release:
clawhub.ai/skills/neural-memory
Plugin — memory slot replacement. Use this if you want NeuralMemory to be OpenClaw's memory provider rather than a skill it calls:
Set memory slot in ~/.openclaw/openclaw.json:
Already using Neural Memory? Just activate your key:
Then enable InfinityDB (semantic search engine):
Restart your MCP server. Existing memories are auto-migrated from SQLite to InfinityDB on first startup.
| Metric | NeuralMemory | Mem0 | Cognee |
|---|---|---|---|
| Write 50 memories | 1.2s | 148.2s (121x slower) | 290.6s (80x slower) |
| Read 20 queries | 1.8s | 2.9s | 34.6s |
| API calls | 0 | 70 | 149 |
Zero LLM calls, zero API cost. Full benchmarks → · Cognitive Efficiency release evidence →
| Guide | Description |
|---|---|
| Quickstart Guide | Interactive guide with animated demos |
| Pro Quickstart | Get started with Pro features |
| CLI Reference | All 82 CLI commands |
| MCP Tools Reference | All 63 MCP tools with parameters |
| Cloud Sync | Multi-device sync setup |
| Brain Health Guide | Understanding and improving brain health |
| Embedding Setup | Configure embedding providers |
| Architecture | Technical design deep-dive |
See CONTRIBUTING.md for guidelines.
If Neural Memory helps your AI agent remember, please consider giving it a star — it helps others discover the project and keeps development going.
You can also sponsor the project.
MIT — see LICENSE.