Features

A database that describes itself.

RushDB stores records, relationships and search indexes in one Rust process. As data is written it keeps an exact catalog of every label, field, type, value and relationship shape, so an agent (or a developer) can read what exists before writing a query. This page walks through the engine from the first write to the disk.
01 · Records

Write JSON. Get linked records.

Send documents in the shape your apps, pipelines or agents produce them. Each nested object becomes its own record, linked to its parent in the same commit. The key a child appears under becomes its label, the parent → child link can be named per key with relationshipTypes, and every value is typed as it is written.

Records that arrive separately can be linked on matching keys afterwards, such as message.session_id = session.id, with one linkRecords command. JSON and CSV import, and inserts from SQL, Cypher, Gremlin or Mongo-style statements, all land in the same records.

One write
{
  "label": "ACCOUNT",
  "options": {
    "relationshipTypes": {
      "FEATURE": "HAS_FEATURE",
      "INCIDENT": "HAS_INCIDENT"
    }
  },
  "data": {
    "name": "Acme Corp",
    "tier": "enterprise",
    "FEATURE": [
      {
        "name": "Checkout",
        "INCIDENT": [
          {
            "status": "open",
            "severity": "high",
            "summary": "Checkout requests are timing out."
          }
        ]
      }
    ]
  }
}
Three linked records, catalog updated
ACCOUNT  { name: "Acme Corp", tier: "enterprise" }
  └─HAS_FEATURE─▶ FEATURE  { name: "Checkout" }
        └─HAS_INCIDENT─▶ INCIDENT  { status: "open", severity: "high", … }

catalog  ACCOUNT 1 · FEATURE 1 · INCIDENT 1
         INCIDENT.status: string · values open (1)
02 · Schema catalog

The schema is a query, not a guess.

Every commit updates a catalog: each label with its record count, each property per type, value dictionaries with counts, and every relationship shape. Reading it never scans records, and the counts are exact.

The same call takes a filter. Scoped to the records a predicate matches, it returns the fields, values and links inside that slice: faceted navigation for an app, and a way for an agent to look before it narrows.

When a service starts sending amount as text, the catalog lists both types side by side.

Describe the high-severity incidents
{
  "kind": "describe",
  "describe": {
    "kind": "schema",
    "query": {
      "labels": ["INCIDENT"],
      "predicate": {
        "severity": "high"
      }
    }
  }
}
Response (example data)
{
  "labels": [
    {
      "name": "INCIDENT",
      "recordsCount": 41
    }
  ],
  "properties": [
    {
      "name": "status",
      "type": "string",
      "recordsCount": 41
    },
    {
      "name": "opened_at",
      "type": "datetime",
      "recordsCount": 41
    }
  ],
  "relationships": [
    {
      "sourceLabel": "FEATURE",
      "type": "HAS_INCIDENT",
      "targetLabel": "INCIDENT",
      "count": 41
    }
  ]
}
03 · Languages

One graph. The language you already know.

SQL, openCypher, ISO GQL, Gremlin, SQL/PGQ, Mongo-style documents and the native SearchQuery all run on the same records and the same snapshot. A record created in Cypher is visible to SQL in the next statement. Nothing is copied between languages, and each write statement is one atomic commit.

Labels are tables to SQL (on Apache DataFusion) and nodes to the graph languages, which share one planner. PostgreSQL clients and BI tools connect on :5432, Neo4j drivers on :7687, everything else over HTTP, gRPC or MCP.

Enable the release candidates:

rushdb serve --data-dir ./data --languages sql,cypher,gql,gremlin,sql-pgq,mongodb

Who does Alice know?

-- Labels are tables; relationships are rushdb_edges.<type>.
SELECT f.name
FROM person p
JOIN rushdb_edges.knows e ON p.__id = e.__source_id
JOIN person f ON f.__id = e.__target_id
WHERE p.name = 'Alice';

Compatibility

Query languages
LanguageStatusRuns onAccessTransportsLimits
SearchQuery (native JSON)StableEngine + Cloudread/writeHTTP, gRPC, SDKs, MCPAlways on. Filters reach across relationships by naming related labels.
SQLStableEngineread/writePostgreSQL wire, HTTP, gRPCLabels are tables. Over PostgreSQL wire: reads and single-statement writes in autocommit; BEGIN/COMMIT are refused.Tested: psql, node-postgres, psycopg, tokio-postgres
GremlinStableEngineread/writeHTTP, gRPCText traversals.
Mongo-style documentsStableEngineread/writeHTTP, gRPCMulti-document commands are not one atomic commit.
SQL/PGQ GRAPH_TABLEStableEnginereadHTTP, gRPCRead-only.
openCypherRelease candidateEngine + Cloudread/writeopt-inHTTP, Bolt, gRPCOpt-in on the engine; raw openCypher through the SDKs on Cloud. The openCypher TCK does not pass in full yet.Tested: Neo4j drivers over Bolt 5.0
ISO GQLRelease candidateEngineread/writeopt-inHTTP, gRPCOpt-in. ISO/IEC 39075 Graph Query Language (not GraphQL). The public GQL corpus does not pass in full yet.

Stable: the documented profile is implemented and exercised by the engine’s test suite. Release candidate: reads and writes are implemented, but the standard’s external conformance suite does not pass in full yet.

GQL here is ISO/IEC 39075 Graph Query Language. It is not GraphQL. A client can ask a server what it supports at runtime with describe.queryLanguages.

How clients connect

Transports
TransportStatusRuns onDetails
HTTP native protocolStableEnginePOST /protocol/v1/execute on :3000.
PostgreSQL wireStableEngineOn :5432 with SQL enabled. Checked with the clients listed, not every client or ORM.Tested: psql, node-postgres, psycopg, tokio-postgres
Bolt 5.0Release candidateEngineServes Cypher; opt-in with --bolt-port.Tested: Neo4j drivers
gRPCStableEnginerushdb.v1.Database/Execute; opt-in with --grpc-port.
REST APIStableCloud onlyhttps://api.rushdb.com/api/v1. On a self-hosted engine use the native HTTP protocol.

SDKs, MCP and skills

Client libraries
LibraryRuns onDetails
TypeScript SDKEngine + CloudCloud API key, or direct mode against your engine. Cloud-only features throw CloudOnlyError in direct mode.
Python SDKEngine + CloudCloud API key, or direct mode against your engine.
MCP serverEngine + CloudHosted with OAuth on Cloud (mcp.rushdb.com); local over stdio in direct mode for a self-hosted engine.
Agent skillsEngine + Cloud
05 · Transactions

Durable, transactional, one commit.

Atomic writes

Records, relationships, index entries and catalog updates from one statement publish as one commit. Multi-statement transactions over HTTP and the SDKs.

Snapshot reads

Every query reads one pinned MVCC snapshot, whichever language it is written in. Readers never block writers.

Recoverable

A write-ahead log is the durable truth. Base backups plus archived WAL restore to a chosen log position; derived state is on disk, so restart rebuilds nothing.

06 · Architecture

One process, from the wire to the disk.

The Labeled Meta-Property Graph (LMPG) stores every property value of every record as its own ordered key, an occurrence, instead of one blob per record. Updating one property writes one key, and counters, value dictionaries and index entries are derived from each commit. That is why the catalog is exact and cheap to read.

Transports

HTTP, PostgreSQL wire, gRPC and Bolt are thin adapters. They authenticate, bind the tenant and hand one Protocol v1 operation to the executor.

Engines

The native engine (SearchQuery, Mongo-style), Apache DataFusion for SQL, one graph planner for Cypher, GQL, Gremlin and SQL/PGQ, plus vector and text search.

LMPG layer

Plans mutations, expands them into keys, derives counters and the schema catalog, and reconstructs records from their occurrences.

Storage

A segmented write-ahead log is the durable truth. Commits are materialized into an embedded ordered store; reads run on pinned MVCC snapshots.

Projects, users, billing and embedding models stay out of the engine by design. RushDB Cloud runs the same engine with one tenant per project and adds them on top.

07 · Status

What is stable, and what isn’t yet.

The same labels the engine reports about itself. Every claim on this site traces to the engine manual.

Engine status
StatusAreas
StableNative protocol and SearchQuery, SQL, Gremlin text traversals, Mongo-style documents, SQL/PGQ (read-only), the schema catalog, vector, BM25 and hybrid search, transactions, backups with point-in-time restore.
Release candidateopenCypher, ISO GQL and Bolt are opt-in; their external conformance suites do not pass in full yet. Replication is asynchronous with manual promotion. PostgreSQL wire runs in autocommit.
08 · Coming soon

What is on the way.

Engine work that exists as a preview or a release candidate. None of it is ready for production yet, and each item says what you can use today. Each one is tracked in a public GitHub issue, open for discussion.

FAQ

Questions about the engine.

Where to run it: self-host the engine or use RushDB Cloud.

Is RushDB a graph database, a vector database or a document store?
All three views of one store. Data is a property graph: records with labels and typed properties, joined by typed relationships. Vector and BM25 indexes attach to those records, and JSON documents go in and come out as they are. There is one copy of the data and one snapshot per query.
Do I define a schema before writing data?
No. There is no CREATE TABLE. Types are inferred per value, nested objects become linked records, and every commit updates the schema catalog. You can still add indexes for fields you filter by often.
How does an agent use the schema catalog?
Before it writes a query, the agent reads describe.schema (labels, properties with types and counts, relationship shapes) and propertyValues for the fields it filters on. Scoped with a predicate, the same call describes only the records a filter matches, so the agent sees which values exist in that slice before narrowing further.
Which query language should I use?
The one your tools or your model already know. SQL works with any PostgreSQL client and BI tool. Cypher works with Neo4j drivers over Bolt. SearchQuery is the native JSON format the SDKs and MCP server use. All of them read and write the same records.
Does the engine generate embeddings?
No. The self-hosted engine indexes and searches vectors you supply from your own model. RushDB Cloud adds managed embeddings: it embeds writes, backfills existing records and embeds text queries.

Give your agents a database they can read.

Free tier · no credit card · pricing

curl -fsSL https://rushdb.com/install.sh | sh

Updated