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.
> /plugin marketplace add nhadaututtheky/neural-memory> /plugin install neural-memory@neural-memory
What's inside
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.
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:
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 |
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.
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 backup# Store memories (type auto-detected)
nmem remember "Fixed auth bug with null check in login.py:42"
nmem remember "We decided to use PostgreSQL" --type decision
nmem todo "Review PR #123" --priority 7
# Recall
nmem recall "auth bug"
nmem recall "database decision" --depth 2
# Brain management
nmem brain list && nmem brain health
nmem brain export -o backup.json
# Sync across devices
nmem sync --full
# Web dashboard
nmem serve # http://localhost:8000/dashboard
import asyncio
from neural_memory import Brain
from neural_memory.storage import InMemoryStorage
from neural_memory.engine.encoder import MemoryEncoder
from neural_memory.engine.retrieval import ReflexPipeline
async def main():
storage = InMemoryStorage()
brain = Brain.create("my_brain")
await storage.save_brain(brain)
storage.set_brain(brain.id)
encoder = MemoryEncoder(storage, brain.config)
await encoder.encode("Met Alice to discuss API design")
await encoder.encode("Decided to use FastAPI for backend")
pipeline = ReflexPipeline(storage, brain.config)
result = await pipeline.query("What did we decide about backend?")
print(result.context) # "Decided to use FastAPI for backend"
asyncio.run(main())
Free 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.
Query: "authentication improvements"
Free (FTS5): 2 results — exact matches only
Pro (HNSW): 7 results — includes "JWT rotation", "session hardening", "OAuth migration"
| 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) |
pip install neural-memory # Pro features included
nmem shared activate --key NM-PRO-XXXX-XXXX-XXXX # activate license
nmem shared status # verify: Pro: Active
$9/mo — 30-day money-back guarantee. All free tools keep working. Downgrade anytime, keep your data.
/plugin marketplace add nhadaututtheky/neural-memory
/plugin install neural-memory@neural-memory-marketplace
pip install neural-memory
Add to your editor's MCP config:
{
"mcpServers": {
"neural-memory": { "command": "nmem-mcp" }
}
}
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:
pip install neural-memory && npm install -g neuralmemory
Set memory slot in ~/.openclaw/openclaw.json:
{ "plugins": { "slots": { "memory": "neuralmemory" } } }
Already using Neural Memory? Just activate your key:
nmem shared activate --key NM-PRO-XXXX-XXXX-XXXX # activate license
Then enable InfinityDB (semantic search engine):
# ~/.neuralmemory/config.toml
storage_backend = "infinitydb"
Restart your MCP server. Existing memories are auto-migrated from SQLite to InfinityDB on first startup.
pip install neural-memory[server] # FastAPI server + dashboard
pip install neural-memory[extract] # PDF/DOCX/PPTX/HTML/XLSX extraction
pip install neural-memory[nlp-vi] # Vietnamese NLP
pip install neural-memory[embeddings] # Local embedding models
pip install neural-memory[embeddings-openai] # OpenAI embeddings
pip install neural-memory[all] # Everything
| 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 |
git clone https://github.com/nhadaututtheky/neural-memory
cd neural-memory && pip install -e ".[dev]"
nmem doctor --dev # Verify contributor setup
pytest tests/ -v # 7800+ tests
ruff check src/ tests/ # Lint
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.
.claude-plugin/
hooks/
hooks.json
marketplace.json
plugin.json
SKILL.md
skills/
memory-audit/
SKILL.md
memory-evolution/
SKILL.md
memory-intake/
SKILL.md
README.md
.dockerignore
.env.example
.gitattributes
.github/
CODEOWNERS
dependabot.yml
FUNDING.yml
ISSUE_TEMPLATE/
bug_report.md
feature_request.md
question.md
PULL_REQUEST_TEMPLATE.md
release-drafter.yml
workflows/
benchmark.yml
ci.yml
docs.yml
notify-telegram.yml
release-drafter.yml
release.yml
republish-npm.yml
.gitignore
.pre-commit-config.yaml
benchmarks/
coherence_test.py
ground_truth.py
metrics.py
naive_baseline.py
nm_vs_rag.py
run_benchmarks.py
stress_at_scale.py
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
dashboard/
.gitignore
components.json
e2e/
landing.spec.ts
smoke.spec.ts
eslint.config.js
index.html
package-lock.json
package.json
playwright.config.ts
README.md
src/
api/
client.ts
hooks/
useDashboard.ts
useStorage.ts
useStore.ts
useSync.ts
useTelegram.ts
types.ts
App.tsx
components/
common/
CommandPalette.tsx
MemoryChart.tsx
PageSkeleton.tsx
ProGate.tsx
UpgradeModal.tsx
layout/
AppShell.tsx
nav-items.ts
Sidebar.tsx
TopBar.tsx
ui/
badge.tsx
button.tsx
card.tsx
confirm-dialog.tsx
dialog.tsx
skeleton.tsx
features/
diagrams/
DiagramsPage.tsx
FiberMindmap.tsx
evolution/
EvolutionPage.tsx
graph/
GraphPage.tsx
NetworkGraph.tsx
health/
HealthPage.tsx
insights/
InsightsPage.tsx
living-brain/
components/
BrainCanvas.tsx
BrainShell.tsx
CanvasErrorBoundary.tsx
ModeToggle.tsx
NeuronNodes.tsx
NodeDetailPanel.tsx
SettingsDrawer.tsx
ShareBrain.tsx
StatsBar.tsx
SynapseEdges.tsx
engine/
brain-constraint.ts
brain-shape.ts
communities.ts
cortical-zones.ts
d3-force-3d.d.ts
force-3d.ts
types.ts
hooks/
useActivationStream.ts
useCountUp.ts
useFocusDeepLink.ts
useKeyboardNav.ts
useLivingBrain.ts
useReducedMotion.ts
LivingBrainPage.tsx
stores/
brainSettingsStore.ts
livingBrainStore.ts
oracle/
components/
CardBack.tsx
CardFace.tsx
DailyReading.tsx
FlipCard.tsx
MatchupMode.tsx
ModeSelector.tsx
ShareButton.tsx
WhatIfMode.tsx
engine/
card-generator.ts
reading-engine.ts
templates.ts
types.ts
hooks/
useDaily.ts
useOracleData.ts
OraclePage.tsx
utils/
share-image.ts
overview/
GuideCard.tsx
OverviewPage.tsx
QuickActionsCard.tsx
settings/
ConfigStatusCards.tsx
EmbeddingConfig.tsx
SettingsPage.tsx
WatcherCard.tsx
storage/
MigrationCard.tsx
MigrationProgress.tsx
StoragePage.tsx
StorageStatusCard.tsx
TierDistributionCard.tsx
store/
BrainCard.tsx
BrainPreviewDialog.tsx
ExportDialog.tsx
StoreFilters.tsx
StorePage.tsx
sync/
SyncPage.tsx
tier-analytics/
TierAnalyticsPage.tsx
useTierAnalytics.ts
timeline/
TimelinePage.tsx
tool-stats/
ToolStatsPage.tsx
visualize/
VisualizePage.tsx
i18n/
en.json
index.ts
vi.json
index.css
lib/
neuron-colors.ts
utils.ts
main.tsx
stores/
useBrainStore.ts
useLayoutStore.ts
tsconfig.app.json
tsconfig.json
tsconfig.node.json
vite.config.ts
docker-compose.postgres.yml
docker-compose.yml
Dockerfile
docs/
agent-instructions/
.cursorrules
CLAUDE.md
api/
mcp-tools.md
python.md
server.md
architecture/
ARCHITECTURE_V1_EXTENDED.md
architect-260302-0506-kb-retrieval-analysis.md
overview.md
scalability.md
assets/
css/
quickstart.css
images/
hero-brain.svg
js/
quickstart.js
logo.svg
redirect.js
audits/
2026-06-comprehensive-audit.md
benchmarks.md
blog/
honest-comparison-2026.md
neural-memory-openclaw.md
why-i-built-neuralmemory.md
changelog.md
concepts/
how-it-works.md
memory-types.md
neurons-synapses.md
spreading-activation.md
contributing.md
demo/
demo_script.py
FAQ.md
getting-started/
cli-reference.md
cli.md
installation.md
quickstart.md
guides/
agent-memory-governance.md
brain-health.md
brain-sharing.md
cloud-sync.md
cognitive-reasoning.md
docs-chatbot.md
embedding-setup.md
integration.md
learning-habits.md
mcp-server.md
memory-layer-unification.md
multi-brain-setup.md
openclaw-plugin.md
pro-quickstart.md
quickstart-guide.md
safety.md
schema-v21-migration.md
temporal-recipes.md
index.md
landing/
index.html
pricing.md
pro-landing.html
pro.md
lessons-learned.md
overrides/
main.html
packaging-free-paid.md
plans/
2026-02-26-graph-svg-export.md
promo/
devto-article.md
discord-anthropic.md
hackernews.md
reddit-claudeai.md
reddit-localllama.md
screenshots/
dashboard-graph.png
dashboard-mindmap.png
dashboard-overview.png
examples/
basic_usage.py
brain_sharing.py
chatbot_memory.py
integrations/
hermes-neuralmemory/
__init__.py
after-install.md
config.py
hooks.py
mcp_client.py
plugin.yaml
README.md
SPEC.md
tests/
neuralmemory_plugin_test.py
tools_proxy.py
neural-memory/
SKILL.md
neuralmemory/
.gitignore
dist/
index.d.ts
index.js
index.js.map
mcp-client.d.ts
mcp-client.js
mcp-client.js.map
tools.d.ts
tools.js
tools.js.map
types.d.ts
types.js
types.js.map
openclaw.plugin.json
package-lock.json
package.json
README.md
src/
index.ts
mcp-client.ts
tools.ts
types.ts
test/
config.test.ts
env.test.ts
mcp-client.test.ts
tools.test.ts
tsconfig.json
vitest.config.ts
LICENSE
Makefile
mkdocs.yml
npm-package/
bin/
run.js
package.json
README.md
server.json
pay-hub/
src/
index.ts
pyproject.toml
README.md
ROADMAP.md
scripts/
_prune_status.py
benchmark/
benchmark_backends.py
benchmark_cognee_results.json
benchmark_cognee_vs_nm.py
benchmark_consolidation.py
benchmark_mem0_vs_nm.py
benchmark_results.json
benchmark_scale.py
benchmark_write_path.py
__init__.py
_debug_single.py
_light_hook_v1_minimal.py
_light_hook_v2_locked.py
_light_hook_v3_pathlib.py
_light_hook_v4_disabled.py
_mem_profile.py
baselines.py
cascade_metrics.py
compare_baselines.py
compare_inprocess.py
config.py
data_loader.py
evidence_baseline.json
evidence.py
hook_light_spike.py
hook_spawn_latency.py
ingest.py
judge.py
longmemeval.py
metrics.py
mini_bench_ids.json
mini_bench.py
package_release_evidence.py
reader.py
README.md
release_evidence.py
report.py
results/
ablation.json
nm_inprocess_20260418_075113.json
release-evidence.json
runtime-footprint.json
... 1081 moreFAQ
neural-memory is a Claude Code plugin with 3 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes memory-audit, memory-evolution, memory-intake. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.