When to use JetGraph vs Neo4j

Neo4j is an excellent general-purpose graph database. JetGraph is built for a different job: folding streaming events into compact per-pair records in RAM for AI agents over MCP and sub-millisecond decision reads.

Different products

Calling JetGraph “a Neo4j replacement” is incorrect. JetGraph speaks an openCypher subset and Bolt so teams can reuse compatible drivers and query literacy. It does not implement the full Neo4j Cypher surface, GDS, Fabric, or Neo4j's clustered database architecture.

JetGraph is optimized for

  • Built-in MCP server (/mcp) with schema business_meaning, bounded tools, and a read-only Cypher guard
  • Compact per-pair storage (tx_count, approx_sum, last_seen, bins, 21-tick bitmaps) instead of keeping every raw event
  • Streaming ingest (IngestStream) plus sub-millisecond reads (GetEdgeState, QueryNodeHistogram, GetFraudContext)
  • Single-node deterministic in-memory latency with zstd snapshots

Neo4j is optimized for

  • Richer graph traversal and a much broader query/procedure ecosystem
  • Persistent general-purpose graph workloads and full property-graph storage
  • Investigative and analytical graph applications and GDS algorithms
  • A mature operator and tooling ecosystem around a full graph database

Bolt and drivers

JetGraph listens on Bolt port 7687 so compatible Neo4j drivers can connect. Queries must stay within the supported subset. Unsupported Cypher will fail; that is expected.

When to choose JetGraph

You want AI agents and real-time services querying a compact, self-describing graph fed by streaming events, and the working graph fits in RAM alongside an upstream system of record.

When to choose Neo4j (or both)

You need deep, flexible Cypher, graph data science, or a durable general-purpose graph as the system of record. Many stacks run JetGraph for real-time agentic/decision context and Neo4j (or a warehouse) for deep historical analytics.

TopicJetGraphNeo4j
CategoryIn-memory compact graph engineGeneral-purpose graph database
Agent MCP layerBuilt in (/mcp, 14 tools)External MCP server / custom
Edge storage1 compact summary per pair (not an event log)Full individual edges & properties
LanguageopenCypher subsetFull Cypher + procedures (product-dependent)
BoltCompatible subsetNative
HA modelActive-active gateways and full engine copies on two or three hostsClustered DB (product-dependent)

Related: Why JetGraph, MCP for AI agents, Bolt docs.