███╗ ███╗███████╗███╗ ███╗ ██████╗ ██████╗ ██╗ ██╗ ████╗ ████║██╔════╝████╗ ████║██╔═══██╗██╔══██╗╚██╗ ██╔╝ ██╔████╔██║█████╗ ██╔████╔██║██║ ██║██████╔╝ ╚████╔╝ ██║╚██╔╝██║██╔══╝ ██║╚██╔╝██║██║ ██║██╔══██╗ ╚██╔╝ ██║ ╚═╝ ██║███████╗██║ ╚═╝ ██║╚██████╔╝██║ ██║ ██║ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ████████╗██╗ ██╗ █████╗ ████████╗ ████████╗██╗ ██╗██╗███╗ ██╗██╗ ██╗███████╗ ╚══██╔══╝██║ ██║██╔══██╗╚══██╔══╝ ╚══██╔══╝██║ ██║██║████╗ ██║██║ ██╔╝██╔════╝ ██║ ████████║███████║ ██║ ██║ ████████║██║██╔██╗ ██║█████╔╝ ███████╗ ██║ ██╔══██║██╔══██║ ██║ ██║ ██╔══██║██║██║╚██╗██║██╔═██╗ ╚════██║ ██║ ██║ ██║██║ ██║ ██║ ██║ ██║ ██║██║██║ ╚████║██║ ██╗███████║ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝
███╗ ██╗ ██████╗ ████████╗ ██╗██╗ ██╗███████╗████████╗ ████╗ ██║██╔═══██╗╚══██╔══╝ ██║██║ ██║██╔════╝╚══██╔══╝ ██╔██╗ ██║██║ ██║ ██║ ██║██║ ██║███████╗ ██║ ██║╚██╗██║██║ ██║ ██║ ██ ██║██║ ██║╚════██║ ██║ ██║ ╚████║╚██████╔╝ ██║ ╚█████╔╝╚██████╔╝███████║ ██║ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚════╝ ╚═════╝ ╚══════╝ ╚═╝ ███████╗████████╗ ██████╗ ██████╗ ███████╗███████╗██╗ ██╔════╝╚══██╔══╝██╔═══██╗██╔══██╗██╔════╝██╔════╝██║ ███████╗ ██║ ██║ ██║██████╔╝█████╗ ███████╗██║ ╚════██║ ██║ ██║ ██║██╔══██╗██╔══╝ ╚════██║╚═╝ ███████║ ██║ ╚██████╔╝██║ ██║███████╗███████║██╗ ╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚═╝
Six-layer cognitive architecture for AI agents. User profiles, semantic search, temporal reasoning, contradiction detection - in a single SQLite file.
$ pip install neuromem-core
Neuromem runs locally. $0/month, forever. See how that compares to cloud-based alternatives as your usage scales.
Free forever. No credit card. No cloud account.
Neuromem doesn't just save you money. It outperforms every alternative on accuracy, features, and privacy.
| LoCoMo Accuracy | 91.8% | 61.4% |
| Multi-hop Reasoning | 89.7% | 37.7% |
| Runs Offline | ✓ | ✗ |
| Personality Profiles | ✓ | ✗ |
| Temporal Reasoning | ✓ | ✗ |
| Contradiction Detection | ✓ | ✗ |
| Open Source | ✓ | ✗ |
| Cost per Answer | $0.0015 | $0.0031 |
| LoCoMo Accuracy | 91.8% | 65.4% |
| Multi-hop Reasoning | 89.7% | ✗ |
| Runs Offline | ✓ | ✗ |
| Personality Profiles | ✓ | ✗ |
| Temporal Reasoning | ✓ | ✗ |
| Contradiction Detection | ✓ | ✗ |
| Open Source | ✓ | ✗ |
| Monthly Cost | $0 | $19–$399 |
| LoCoMo Accuracy | 91.8% | 86.2% |
| Multi-hop Reasoning | 89.7% | ✗ |
| Personality Profiles | ✓ | ✗ |
| Temporal Reasoning | ✓ | ✗ |
| Contradiction Detection | ✓ | ✗ |
| Salience Filtering | ✓ | ✗ |
| Consolidation | ✓ | ✗ |
| Predictive Coding | ✓ | ✗ |
Each layer is a functional component of a custom memory processor. Together they form a single orchestration engine with graceful degradation.
Pre-computed entity profiles. Communication patterns, preferences, traits. The core identity processor.
FTS5 keyword search with BM25 ranking and temporal windowing. The indexed lookup table.
256-dim Model2Vec embeddings fused with episodic via Reciprocal Rank Fusion. The vector math engine.
Entity overlap, recency decay, importance weighting. Many signals in, best signals out.
Timeline construction, contradiction detection, summary generation. Memory that evolves, not accumulates.
Surprise scoring via KL-divergence. High-surprise memories boosted, redundant suppressed. Final output stage.
LoCoMo: 1,540 questions across 10 conversations. All systems evaluated on identical pipeline. Zero errors across 12,320 total answers.
| # | System | Accuracy | Offline | Multi-hop | Temporal |
|---|---|---|---|---|---|
| 1 | Neuromem Pro | 91.8% | ✓ | 89.7% | 76.0% |
| 2 | Neuromem Base | 88.2% | ✓ | ✓ | ✓ |
| 3 | RAG (ChromaDB) | 86.2% | ✓ | ✗ | ✗ |
| 4 | Engram | 84.5% | ✗ | ✗ | ✗ |
| 5 | BM25 Baseline | 80.5% | ✓ | ✗ | ✗ |
| 6 | Supermemory | 65.4% | ✗ | ✗ | ✗ |
| 7 | Mem0 | 61.4% | ✗ | 37.7% | ✗ |
Works with Claude Desktop, Claude Code, or any MCP-compatible client. Base tier runs on any machine with 512MB RAM.
# install - that's it, no docker, no cloud keys # $ pip install neuromem-core from neuromem import MemoryEngine # one sqlite file. your entire memory system. engine = MemoryEngine("memories.db") # store memories - entities extracted automatically engine.store("Josh prefers dark mode and vim keybindings") engine.store("Meeting with Sarah about the API redesign on Tuesday") # search - hybrid retrieval across all 6 layers results = engine.search("what editor preferences does Josh have?") # → "Josh prefers dark mode and vim keybindings" (score: 0.94) # temporal queries just work results = engine.search("what happened on Tuesday?") # → "Meeting with Sarah about the API redesign" (score: 0.91) # entity profiles - personality extraction profile = engine.get_entity_profile("josh") # → traits, preferences, communication patterns, topics