Open Source · Apache-2.0 · Self-Hostable

Self-Hosted Memoryfor AI Agents

The privacy-first, MCP-native memory layer for autonomous agents. Your knowledge base never leaves your infrastructure, and a portable open format means zero lock-in. Retrieval keeps context lean — up to 98.8% fewer tokens than dumping it all in. Free to self-host.

Self-Host Free →See the benchmark
80.0%
LongMemEval_S (Zep self-reports 71.2)
99.2%
Retrieval recall@10
63.4%
Fully offline — beats full-context GPT-4o
0
Data leaves your infra
Apache-2.0
Free to self-host

Versatile. Lean. Powerful.

NovaCortex is the memory system we needed for our own AI agents — and couldn't find. No lock-in, no forced cloud, no bloat. A system that fits any stack, saves tokens instead of burning them, and still delivers state-of-the-art retrieval.

<∞ ms
Retrieval
Token-Optimised
18 MB
RAM Baseline
100%
Open Source

Engineered for Speed

Built for AI-agent workloads from day one — not retrofitted.

Token Intelligence

NovaCortex retrieves only what the agent needs right now — no full-context dumps. Salience decay model learns what to forget. Typical savings: 85–95% fewer input tokens.

Graph-Native Memory

Four typed memory kinds (Episodic, Semantic, Procedural, Working) stored in a force-directed relation graph. Not a flat vector store — a real knowledge graph.

PMF — Portable Memory Format

Open RFC-001 standard for vendor-neutral AI memory interchange. Export everything to a single PMF file, import into any compatible system. Merkle-verified. No lock-in.

Knowledge Buckets

Organize memories into named buckets with per-agent access control. Fine-grained isolation for multi-agent systems. Namespace federation across deployments.

MCP Built-In

Native Model Context Protocol server — zero configuration. Works with Claude Desktop, Cursor, Windsurf, and any MCP-compatible client out of the box.

Free Self-Hosting

docker compose up. Runs on any VPS, Unraid, Raspberry Pi, or bare metal. Full stack — API, web UI, vector DB, graph DB, cache — in one command.

Portable Memory Format (PMF)

RFC in Progress · Open Standard

PMF is NovaCortex's answer to the AI memory fragmentation problem. Every system stores memories differently. PMF defines an open, machine-readable format for AI memory snapshots — with schema validation, versioning, and compatibility across all major systems.

  • Full export in a single file: memories, namespaces, relations, embeddings
  • Import into any PMF-compatible system — no migration scripts
  • RFC process open for community contributions
  • Native Obsidian export: memories as a Markdown vault for Graphify integration
memory-snapshot.pmf.json
{"pmf"   "1.0","namespace"   "agent-research","exported"   "2026-04-12T09:00:00Z","memories"   [    {"id"       "m_01","content"       "HNSW index achieves sub-ms recall at 1M+ vectors","embedding"       [0.021, -0.134, 0.892, ...],"tags"       ["research", "performance"]    }  ]}

Stop the Token Bleeding

Context stuffing burns thousands of tokens on every request. NovaCortex delivers only what the agent needs right now — no full-context dumps.

Without NovaCortex
25,675 Tokens
Context per Request
$0.0039 / Request
Full-Context Dump · High Latency
With NovaCortex
305 Tokens
Context per Request
$0.00005 / Request
−98.8%
Precise Retrieval · Lower Latency

Measured on a ~26K-token KB (gpt-4o-mini, top-5 retrieval) · reproducible — see the benchmark below

Measured. Published. Reproducible.

LongMemEval_S: 500 questions, each against its own ~115K-token conversation history. We publish every raw per-question record, the judge prompt, and the harness — run it yourself.

80.0%
LongMemEval_S — same score with two different frontier readers (gpt-4o & gpt-5-mini)
99.2%
Session-level retrieval recall@10 across 500 questions
63.4%
Fully offline (local 8B reader + local embeddings) — beats full-context GPT-4o
−95%
Context tokens per query vs full 115K-token history
LongMemEval_S — overall accuracy
NovaCortex (gpt-4o reader)80.0%
measured, raw data published
Zep (self-reported, gpt-4o)71.2%
no supported self-host
NovaCortex fully local (qwen3:8b)63.4%
70W GPU, zero data leaves the box
Full-context GPT-4o (no memory system)60.2%
entire 115K-token history in the prompt
Question categoryCloud reader (gpt-4o)Fully local (qwen3:8b)
Knowledge updates (fact changed over time)93.6%66.7%
Temporal reasoning (when / how long / order)81.2%72.2%
Single-session recall (user / assistant)97.1% / 89.3%84.3% / 87.5%
Multi-session aggregation72.2%42.9%

Honest fine print: competitor numbers are self-reported (Zep 71.2 with a gpt-4o reader; mem0 reports 94.4 via a non-public evaluation framework — with the same reader class, gpt-5-mini, we measure 80.0 and publish the raw records). Our judge allows numeric/order equivalence — disclosed in the docs, worth ~1–2 points. The fully-local run keeps every byte on one 70W machine; only grading used a cloud model. Full methodology & raw data →

Retrieval beats dumping your KB

Same questions, same model. Dumping the whole knowledge base into context vs NovaCortex fetching only the top-5 relevant memories. Dump tokens grow with the KB; retrieval stays flat.

−98.8%
Input tokens at a 26K-token KB
~65×
Cheaper per query at that size
100%
Retrieval recall@5 (518 distractors)
26K13K0~2K KB~10K KB~26K KBdump 25,675 tokretrieval 305 tok (flat)
Dump whole KBNovaCortex retrieval (top-5)
KB sizeDump tokensRetrieval tokensReduction
42 facts (~2K)2,02830585%
220 facts (~10K)10,15730597%
560 facts (~26K)25,67530598.8%

15 questions, gpt-4o-mini, top-5. Answer accuracy at parity (100% dump / 93% retrieval); retrieval recall@5 = 100% even with 518 unrelated distractor facts. Reproducible: node scripts/benchmark/run.mjs.

Why NovaCortex?

The only self-hosted AI memory system with a full admin UI, graph memory, and an open portability standard.

FeatureNovaCortexMem0CogneeSupermemory
Free self-hosted (full)
Self-hosted admin UI
Graph memory (self-hosted)
Open source / auditable
PMF open RFC standard
MCP server built-in
4 typed memory kinds
Salience decay modelpartial
Token-efficient contextpartial
Merkle-verified exports
Namespace federation

✓ Full support · ⚠ Partial/limited · ✗ Not available
Based on public documentation, April 2026. ⚠ Mem0 OSS: no admin UI, no auth, graph behind $249/mo SaaS Pro. ⚠ Cognee: experimental UI, not production-ready.

100% Free · Self-Hosted

Your Data. Your Infrastructure.

No subscription. No lock-in. Docker Compose in 60 seconds. NovaCortex runs on-premise, on your server, or in your cloud. Full data sovereignty. GDPR-compliant by default.

Launch via Docker ComposeView on GitHub →
Terminal
# Pull and start
docker compose up -d
# Web: http://localhost:3000
# API: http://localhost:3001
# Docs: http://localhost:3000/docs

Works with your Stack

OpenAI
Anthropic
Google Gemini
Mistral
Meta Llama
Cohere
LangChain
LlamaIndex
CrewAI
AutoGen
Obsidian + Graphify
MCP (Claude)

Questions, answered

What is NovaCortex?

NovaCortex is an open-source, self-hostable memory layer for AI agents. It gives agents persistent, queryable memory — typed memories linked by a relation graph, with semantic and text retrieval — exposed through a native MCP server, a REST API, TypeScript/Python SDKs, and a CLI. It runs entirely on your own infrastructure via Docker.

Does my data leave my infrastructure?

No. NovaCortex is self-hosted, so your knowledge base lives on your own servers and never goes to a third-party cloud. Retrieval also sends only the few relevant snippets to the model per query, instead of your whole knowledge base — so even less of your data is exposed than with context-dumping approaches.

How is NovaCortex different from Mem0 and Zep?

Mem0 and Zep are cloud-first. NovaCortex is privacy-first and self-hostable: your data stays on your infrastructure, and a portable open format (PMF) lets you export the entire memory graph at any time with zero lock-in. It is also MCP-native, so it plugs directly into Claude and Cursor.

How much does NovaCortex cost?

The full engine is free and open source (Apache-2.0) to self-host, with 3 namespaces. Pro is a one-time $10 license that unlocks 10 namespaces, namespace federation, and higher limits while staying self-hosted. Enterprise is custom, with unlimited namespaces and an SLA.

How much does retrieval save versus putting everything in context?

In a reproducible benchmark (15 questions, gpt-4o-mini, top-5 retrieval), retrieving only the relevant memories used 85% to 98.8% fewer input tokens than dumping the whole knowledge base into the prompt — about 65x cheaper per query on a 26K-token knowledge base — at parity answer accuracy and 100% retrieval recall. Dump cost grows with the knowledge base; retrieval stays flat.

Does NovaCortex work with Claude and Cursor?

Yes. NovaCortex ships a native Model Context Protocol (MCP) server with 15 tools, so Claude, Cursor, or any MCP-compatible agent can store and retrieve memory directly. You can also use the REST API, the TypeScript or Python SDK, or the CLI.

Can I export my memory, or am I locked in?

You can export everything. The Portable Memory Format (PMF) exports the full graph — memories, relations, and embeddings — as JSON, compact binary (MessagePack), or AES-256-GCM-encrypted, all with integrity hashes. There is no lock-in.

Build Agents that Remember

Start in 60 seconds. No setup overhead. Free to self-host.

Self-Host Free →