Neo4j is the category-defining graph database, now with GenAI features layered on. HangarX Cortex is a memory platform built on a graph database — extraction, claims, hybrid retrieval, contradiction detection, and an MCP server, bundled.
Different layers of the same stack. Many teams use Neo4j as their graph DB and add memory infrastructure on top — which is what Cortex is.
Pick Cortex if
You want managed memory infrastructure, not a graph database.
Extraction, claims, retrieval, reranking, contradiction detection, MCP serving — bundled. You ingest a corpus and your agents start querying.
Pick Neo4j if
You need a billion-scale graph database with mature enterprise tooling.
Graph Data Science library, decades of operational maturity, native vector indexes, and the deepest catalog of graph algorithms in the industry.
| Dimension | HangarX Cortex | Neo4j |
|---|---|---|
| Layer of the stack | Memory platform | Graph database (with GenAI features layered on) |
| Cypher query language Cortex uses FalkorDB which is Cypher-compatible. Neo4j is the original Cypher implementation with deeper feature coverage. | ||
| Graph DB scale ceiling | Tens of millions of nodes | Billions of nodes |
| Native vector index inside the graph | ||
| LLM extraction (entities, relationships, claims) Neo4j's GraphRAG / GenAI features include extraction primitives, but you assemble the pipeline. Cortex ships extraction with claim provenance as a built-in step. | ||
| Document parsing + chunking | ||
| Hybrid retrieval pipeline (BM25 + vector + graph + reranker) | ||
| Claims with provenance (SPO triples + source spans) Neo4j stores graph data. Provenance is something you'd model and query yourself. | ||
| Contradiction detection across claims | ||
| MCP server (cross-tool memory) | ||
| Native Obsidian plugin | ||
| Self-host | ||
| Enterprise / regulated industries posture Neo4j has decades of enterprise procurement, certifications, and governance. Cortex is newer; the local Docker stack lets you run inside already-compliant environments. | ||
| Graph algorithms (PageRank, community detection, etc.) Cortex uses Personalized PageRank for retrieval expansion. Neo4j's Graph Data Science library has a much broader algorithm catalog. |
Neo4j is the gold standard for graph databases. Decades of operational maturity, the deepest graph algorithm catalog (Graph Data Science library), and a real GenAI roadmap. If you have an existing Neo4j deployment and graph engineers, building agent memory on Neo4j is a defensible choice.
But a graph database is not the same as a memory platform. Neo4j gives you the storage and the query language. To turn that into agent memory, you still build: parsing, chunking, LLM extraction with claim provenance, hybrid retrieval (BM25 + vector + graph), reranking, contradiction detection, and an MCP serving layer. That's the shape of Cortex — the memory platform built on a graph database, instead of asking you to build it on one.
Cortex defaults to FalkorDB (Cypher-compatible, Redis-protocol). FalkorDB is faster for many memory workloads and ships in a single Docker container. If your team is already standardized on Neo4j and you want graph queries to land there, Cortex's storage layer is open enough that pointing it at Neo4j is feasible but not the default path. Most teams pick whichever graph DB their ops team prefers.
Many enterprise teams do — and many spend the next year building parsing, extraction, claim modeling, retrieval pipelines, reranking, contradiction detection, and serving infrastructure on top. That work is roughly what Cortex has already shipped. Neo4j gives you a phenomenal graph database; Cortex gives you the memory platform built on a graph database. Different layers of the same stack.
Neo4j has been adding meaningful GenAI capabilities — vector indexes inside the graph, LLM extraction primitives, GraphRAG patterns. They're moving up the stack. The honest difference today: Cortex's pipeline is opinionated and end-to-end (parsing → extraction → claims → hybrid retrieval → reranking → MCP serving), while Neo4j's GenAI features are primitives you compose. If your team has graph-DB engineers and a long roadmap, Neo4j gives you ceiling. If you want grounded memory shipping fast, Cortex is closer to ready.
Neo4j wins on raw graph scale — billions of nodes with mature graph algorithms (Graph Data Science library), enterprise-grade replication, and decades of operational tooling. Cortex (FalkorDB) handles tens of millions of nodes well but isn't engineered for the billion-node tier. If your knowledge graph alone is gigantic and graph algorithms are the workload, Neo4j is the right call.
If you're evaluating this against Cortex, you're probably also weighing these.
Skip the build-it-yourself memory pipeline. Cortex bundles extraction, retrieval, claims, and MCP serving on top of a Cypher-compatible graph store.