Why JetGraph
Why a live compact graph is the right data layer for AI agents
Raw SQL warehouses drown agents in joins and rows. Vector stores miss live relationships and time windows. JetGraph turns streaming events into a self-describing, compact graph agents can reason over immediately.
What breaks when agents query traditional stores
| Approach | What happens when an agent asks a live question |
|---|---|
| Raw SQL / Warehouse | The agent has to infer schema meaning from cryptic column names, generate multi-table joins across raw event logs, and either hits timeouts or overflows its context window with unaggregated rows. |
| Vector Store / Text RAG | Great for documents and knowledge articles, but blind to exact structure and recency: it cannot tell you how many times two entities interacted in the last 24 hours or which neighbors they share. |
| General-purpose Graph DB | Stores every event or heavy property structures on disk, offers no built-in business_meaning + compact time-window MCP layer, and requires you to build bounded agent guardrails yourself. |
| JetGraph Live Graph | Streams events into compact per-pair records and rolling histograms in memory, attaches description and business_meaning to every type, and exposes 14 guarded MCP tools out of the box. |
Agent-first design without leaving the decision path
Streaming Events (IngestStream / graph.ingest) ↓ JetGraph In-Memory Graph (1 compact record per pair + histograms + business_meaning) ├──→ Built-in MCP (/mcp) → AI Agents (understand, explore, cypher_read, segments) └──→ gRPC / HTTP / Bolt → Decision Services (sub-ms read → score → ingest)
Also built for the real-time decision path
The same graph that answers agent questions over MCP serves authorize-time and session-time applications over gRPC, HTTP, and Bolt using a three-phase loop:
- Query historical state — read pair novelty and activity windows via
GetEdgeState, rolling histograms viaQueryNodeHistogram, fan-out viaGetNeighborCount, and linked cases viaGetFraudContext. - Enrich and decide — score with your rules, model, or a registered
scoring_profile. JetGraph supplies live graph features; your application owns the decision. - Ingest and link cases — write the event via
UpsertEdgeorIngestTransaction(even when declined), and open or resolve cases withCreateFraudCase/ResolveFraudCase.
See real-time risk scoring and Rust client docs.
When JetGraph is the right tool
- You want AI agents to inspect live customer, transaction, product, device, or service relationships over MCP
- You want predictable in-memory sizing from compact per-pair aggregation instead of keeping every raw event in RAM
- You need sub-millisecond reads and streaming ingest, on one machine for development or active-active across two or three hosts in production
- You keep a warehouse, OLTP database, or data lake as your durable system of record
When it is not
- You need an agent orchestration framework or LLM runtime (JetGraph is the data layer they connect to)
- You need to list or replay every raw historical event (JetGraph stores aggregated pair summaries and bounded windows)
- You need full Neo4j Cypher, GDS algorithms, or a multi-terabyte distributed disk-backed graph database
- You only need simple Redis counters with no relationships, or static document RAG with no entity graph
Detailed comparisons: vs Neo4j, vs Redis, vs PostgreSQL, vs feature stores.
Explore the engine and MCP server
See how MCP tools sit alongside gRPC, HTTP, and Bolt on one in-memory engine.