PostgreSQL wire / ORM-compatible / SQL + graph + vector

AionDB

PostgreSQL tooling for applications that need relational records, graph relationships, and vector search in one Rust engine.

Read the docs Project overview

One query surface
MATCH (u:User {tenant_id: 100})-[:WROTE]->(d:Document)
      -[:CITES]->(ref:Document)
WHERE d.kind = 'runbook'
RETURN d.title, ref.title,
       l2_distance(d.embedding, '[0.1,0.8,0.2]') AS dist,
       u.tenant_id
ORDER BY dist ASC
LIMIT 5;

Normal app stack.

pgwire, ORMs, migrations, psql, pgAdmin.

>> PostgreSQL ecosystem path

Use normal ORMs and migration tools through pgwire.

Prismaverified ORM
TypeORMverified ORM
Sequelizeverified ORM
Knex.jsverified ORM
SQLAlchemyverified ORM
Alembicverified migrations
psycopgverified driver
Prismaverified ORM
TypeORMverified ORM
Sequelizeverified ORM
Knex.jsverified ORM
SQLAlchemyverified ORM
Alembicverified migrations
psycopgverified driver

Django is the only excluded ORM today: its harness catches a NOT NULL migration enforcement gap.

>> Data model

Built for application data that outgrows one shape.

Relational state

Tables remain the source of truth, queried through SQL and PostgreSQL-compatible clients.

Connected data

Graph labels and Cypher-style patterns are available over ordinary application records.

Semantic retrieval

Vector columns and distance functions live beside metadata instead of in a detached service.

Local integration

The engine can run as a server over pgwire or through the embedded Rust API.

>> Measured, not universal claims

Performance position

AionDB is not presented as universally faster than mature single-purpose systems. The useful claim is narrower: it already performs competitively on many measured SQL workloads, is often materially faster than SurrealDB on the measured SQL, graph, and hybrid workloads in the public harnesses, and publishes the raw benchmark snapshots used by the docs.

See Benchmarks and Benchmark Results for exact measured cases.

>> Alpha boundaries

What AionDB does not claim.

PostgreSQL replacement

No. PostgreSQL remains the compatibility and operational maturity reference.

Production-ready cluster

No. Distributed and HA modules are internal or experimental in v0.1.

Every ORM works

No. Many harnesses pass now, but every app still needs feature-by-feature validation.

Best on every benchmark

No. The project publishes reproducible benchmark snapshots instead of universal speed claims.