AgensGraph

active

by SKAI Worldwide (formerly Bitnine) · since 2016 · also known as Agens Graph

PostgreSQL fork with a built-in property graph model, mixing SQL, openCypher and ISO GQL.

graphrelationaldatabase engineopen source (permissive)growing

Overview

AgensGraph is a PostgreSQL fork (not an extension) from SKAI Worldwide, formerly Bitnine, that builds the property-graph model into the database: a graph is a schema, labels are tables, and vertices and edges are rows. You can mix SQL, openCypher and ISO GQL clauses in a single statement, and graph data shares transactions, roles, row-level security, replication and extensions such as pgvector with ordinary tables. The 2.18 line is rebased on PostgreSQL 18.6 and adds more GQL clauses and planner improvements. It suits Postgres shops that want deeper graph integration than the AGE extension, at the cost of running a forked server.

Strengths & trade-offs

Strengths

  • +Graph and relational data commit in one ACID transaction inside a single database
  • +SQL, openCypher and ISO GQL clauses can be mixed in one statement
  • +Keeps the PostgreSQL toolchain: pg_dump, replication, row-level security, pgvector
  • +Apache 2.0 and tracking current PostgreSQL releases (18.6 base)

Trade-offs

  • −A fork, so it cannot be used on managed Postgres services
  • −Smaller community than Apache AGE or Neo4j
  • −Traversals still execute as relational joins, limiting very deep queries

Great for

  • +Adding graph queries to Postgres-centric systems
  • +Knowledge graphs alongside relational data
  • +Teams experimenting with ISO GQL on familiar infrastructure

Think twice for

  • −Managed Postgres environments
  • −Billion-edge deep traversals
  • −RDF/SPARQL workloads

Capabilities

Native or official first-party support · 11 of 25 tracked

✓Transactions
✓Joins
✓Secondary indexes
✓Full-text search
✓JSON
✓Triggers
✓Stored procedures
✓Materialized views
✓Durable persistence
✓Role-based access
✓Online schema changes
–Vector search
–Geospatial
–Change data capture
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Compression
–Encryption at rest
–Time travel
–Branching
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Medium · ≤ 10 TB
Horizontal scaling
None
Multi-region
Read replicas
Transactions
Full ACID
Consistency
Strong
Schema
Flexible
Architecture
Single node, Primary replica, Client server
Query languages
SQL, openCypher, GQL

Inherits PostgreSQL streaming replication; no built-in sharding.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

compatible withPostgreSQL
apis & protocolsPostgreSQL wire protocol
client languagesAny PostgreSQL driver, Java, Python, Go

Alternatives to AgensGraph

Compare all→
Apache AGEGraph20.2

PostgreSQL extension that adds openCypher graph queries alongside SQL.

agensgraph vs apache-age →
PostgreSQLRelational93.2

The extensible, standards-first open-source relational database.

agensgraph vs postgresql →
Neo4jGraph61.2

The default property-graph database, with Cypher, a big ecosystem and a managed cloud.

agensgraph vs neo4j →
MemgraphGraph24.4

In-memory, Cypher-compatible graph database in C++ for streaming and real-time graph workloads.

agensgraph vs memgraph →
TypeDBGraph27.0

Strongly typed entity-relation database with TypeQL, polymorphic queries and a Rust core.

agensgraph vs typedb →
GrapheneDBGraph0.0

Managed hosting for Neo4j Community Edition on dedicated cloud instances, with backups and replicas.

agensgraph vs graphenedb →

AgensGraph FAQ

What is AgensGraph?

AgensGraph is a graph database by SKAI Worldwide (formerly Bitnine), first released in 2016. AgensGraph is a PostgreSQL fork (not an extension) from SKAI Worldwide, formerly Bitnine, that builds the property-graph model into the database: a graph is a schema, labels are tables, and vertices and edges are rows. You can mix SQL, openCypher and ISO GQL clauses in a single statement, and graph data shares transactions, roles, row-level security, replication and extensions such as pgvector with ordinary tables. The 2.18 line is rebased on PostgreSQL 18.6 and adds more GQL clauses and planner improvements. It suits Postgres shops that want deeper graph integration than the AGE extension, at the cost of running a forked server.

Is AgensGraph open source?

Yes. AgensGraph is open source. License: Apache License 2.0.

Does AgensGraph support ACID transactions?

Yes. AgensGraph supports full ACID transactions, with strong consistency.

Does AgensGraph scale horizontally?

AgensGraph does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at medium scale (≤ 10 TB). It supports cross-region read replicas.

How can I run AgensGraph?

You can self-host it.

What is AgensGraph best for?

AgensGraph is a strong fit for adding graph queries to Postgres-centric systems, knowledge graphs alongside relational data and teams experimenting with ISO GQL on familiar infrastructure. Think twice for managed Postgres environments.

What are the best alternatives to AgensGraph?

Common alternatives to AgensGraph include Apache AGE, PostgreSQL, Neo4j, Memgraph and TypeDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

How popular is AgensGraph?

AgensGraph ranks #329 of 844 databases on the WhichDB Score (8.2/100), and #26 among graph databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.