Built for live agent context and sub-millisecond decisions

JetGraph is not a raw event store with a query parser bolted on. Semantics, compact relationship summaries, time windows, MCP tools, and similarity live in the engine.

Built-in MCP server (14 tools + investigate prompt)

jetgraph-engine serves Streamable HTTP MCP at /mcp and /api/mcp on port 8080, and jetgraph-mcp provides the same 14 tools over stdio or standalone HTTP. Agents get schema discovery, neighborhood traversal, pair state, rolling histograms, weighted similarity, guarded read-only Cypher, and live signal/segment authoring. See MCP for AI agents and MCP docs.

Self-describing schema (description & business_meaning)

Every node type and edge type can carry a technical description and a domain business_meaning. When an agent calls get_schema, it receives the live graph model plus plain-language instructions on how types connect and what metrics mean.

Compact per-pair edge storage & predictable footprint

JetGraph keeps the meaning, not the event log. Every (src, dst) pair on a compact edge type is one record updated in place: tx_count, approx_sum, last_seen, optional bool_flag, 8 value bins, and a 21-tick sliding activity bitmap. Choose Full (~52 B/pair), Slim (~32 B/pair), or Static (~16 B/pair) at schema registration, with optional state_ttl_secs expiration. Memory scales with distinct pairs, not event volume. See Memory & compression.

Rolling node histograms & activity bitmaps

QueryNodeHistogram (and MCP get_histogram) maintains hourly and daily ring buffers with 8 configurable value buckets per node, while GetEdgeState (and MCP get_edge_state) queries up to 4 sliding windows from each pair's 21-tick activity bitmap. Compare recent hours against multi-day baselines without scanning raw events.

Relationship novelty

GetEdgeState returns found: false when a (src, dst) pair has never been seen on an edge type. Checking novelty before ingest lets both decision services and investigating agents spot first-time counterparties immediately.

Weighted shared-neighbor similarity

FindSimilarNodes (and MCP find_similar) computes top-k lookalikes using weighted Jaccard overlap across multiple edge types and optional boolean node properties, with required-overlap filters. BuildSimilarityGraph materializes SIMILAR_TO edges in batch.

Real-time Signals & Segments

The segment-evaluator sidecar evaluates Cypher-defined signals in real time as transactions arrive and links matching entities via MEMBER_OF edges. Agents and operators can inspect or create signals and segments live without restarting the engine.

Fraud context & case management

CreateFraudCase, AddFraudCaseNodes, RemoveFraudCaseNode, ResolveFraudCase, and GetFraudContext model fraud cases as graph links with rule provenance (rule_id) and verdicts (open, confirmed, false_positive, inconclusive) so misfired rules can be retracted cleanly.

Streaming ingestion & CDC

Bidirectional gRPC IngestStream micro-batches incoming transactions and merges updates per edge type and source node in a single sorted-merge RCU pass. WatchEdgeUpserts broadcasts live edge changes to downstream consumers such as pattern-miner.

openCypher subset & Bolt

Run MATCH, CREATE, MERGE, and CALL procedures over HTTP POST /cypher or Bolt on port 7687 with compatible Neo4j drivers. Not full Neo4j Cypher — see the Cypher Manual and Bolt docs.

Rust engine & zstd snapshots

Built in Rust on Tokio with DashMap sharding, chunked RCU adjacency rows, dictionary-encoded strings, bit-packed booleans, and zstd-compressed snapshots. Production adds active-active HA across two or three hosts. See Architecture and Clustering & HA.