NeuralMemory

Your AI agent forgets everything between sessions. Neural Memory gives it a brain.
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.
pip install neural-memory
Restart your AI tool. Your agent now remembers — no init needed, the MCP server auto-initializes on first use.
3 Tools. That's It.
60 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.
All 60 MCP tools →
What Makes This Different
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:
outage ← CAUSED_BY ← JWT expiry ← SUGGESTED_BY ← Alice's review
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 |
Cloud Sync — Your Data, Your Infrastructure
Sync your brain across every machine. Unlike other memory tools, we never store your data.
Laptop ←→ Your Cloudflare Worker ←→ Desktop
↕
Your Phone
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.
nmem sync # push/pull changes
nmem sync --auto # auto-sync after every remember/recall
Sync uses Merkle delta — only diffs travel, not the full brain. Fast, efficient, private.
Cloud Sync setup guide →
Features
Memory & Recall
- 14 memory types — fact, decision, error, insight, preference, workflow, instruction, and more
- Spreading activation — memories surface by association, not keyword match
- Cognitive reasoning — hypothesize, submit evidence, make predictions, verify with Bayesian confidence
Knowledge Ingestion
- Train from documents — PDF, DOCX, PPTX, HTML, JSON, XLSX, CSV ingested into permanent brain knowledge
- Import adapters — migrate from ChromaDB, Mem0, Cognee, Graphiti, LlamaIndex in one command
Lifecycle & Storage
- Memory consolidation — episodic memories mature into semantic knowledge over time
- Compression tiers — full → summary → essence → ghost → metadata (reclaim storage, keep meaning)
- Brain versioning — snapshot, rollback, diff, transplant memories between brains
Community
- Brain Store — browse, import, and publish pre-built brains to the community marketplace
- 3 seed brains — Python Best Practices, Git Workflows, Docker Essentials (ready to import)