@daleverett: https://x.com/daleverett/status/2055332581659566288
Summary
pgGraph is a high-performance, open-source graph traversal extension for PostgreSQL, written in Rust, designed to give AI agents fast relationship queries without migrating data to a separate graph database.
View Cached Full Text
Cached at: 05/16/26, 03:11 AM
Introducing pgGraph: Open Source Graph Superpowers for Postgres
We are open-sourcing our proprietary engine. We call it pgGraph. pgGraph is a high-performance graph traversal extension for PostgreSQL, written in Rust. You can find the repository on Github and read the full documentation here.
For the last year, we have been building Evokoa as an operational intelligence layer for multi-location enterprises. We quickly realized that answering complex, multi-hop relationship questions at scale required a graph traversal engine that didn’t exist yet. Everything off-the-shelf was either too slow for our agent workloads or required moving our entire system of record into a separate, heavy graph database.
So, we built our own. And we have decided to open source it to further humanity’s movement towards a world that must become AI native.
Graph Superpowers, Postgres Gravity
The core premise of pgGraph is simple: you should not have to migrate your data to get graph capabilities. Postgres remains your single source of truth. Your applications keep writing data the exact same way they always have.
Behind the scenes, pgGraph builds a compact, derived graph index (using compressed sparse row arrays) over your selected relational tables. When your AI agents or applications need to find shortest paths, map relationships, or discover hidden networks, they ask standard SQL questions. Our engine intercepts those queries and walks the integer arrays in microseconds, entirely avoiding the recursive SQL traps that normally bring Postgres to a halt at depth.
Why We Are Open-Sourcing It
We believe that graph capabilities are going to become a fundamental requirement for the agent era. Agents need connected, structural context to reason effectively. If every startup and enterprise has to adopt a separate, heavy graph database just to give their agents context, the market will stall.
By dropping a fast relationship cache directly beside Postgres, we change the unit of adoption. We are building the missing infrastructure for widespread AI adoption, and we are committed to keeping pgGraph 100% free and open-source, forever.
Early Access & Alpha
pgGraph is currently alpha software. It is ready for experimentation, demos, and benchmarks. The core traversal features—like bounded BFS/DFS, shortest path, and connected components—are usable today, though we are still hardening the memory model for extremely large, enterprise-scale graphs.
If you are building AI agents and hitting the execution bottleneck of relational databases, we encourage you to try it out. Spin it up in a Docker container, point it at your schema, and see what microseconds feel like.
Star the repo below to follow our progress, and let us know what you build.
#postgres #database #graphRAG
Similar Articles
Property Graphs
PostgreSQL documentation introduces property graphs, a SQL/PGQ feature that allows querying relational data using graph pattern matching syntax, defined as read-only views over tables.
DuckPGQ – A DuckDB community extension for graph workloads
DuckPGQ is a DuckDB community extension that adds SQL/PGQ standard graph query capabilities to DuckDB, enabling high-performance graph analytics within analytical workflows.
@tom_doerr: Modular GraphRAG implementation in Rust with WebGPU acceleration support. https://github.com/automataIA/graphrag-rs…
A modular, high-performance Rust implementation of GraphRAG (Graph-based Retrieval Augmented Generation) with support for WebGPU acceleration and three deployment architectures: server-only, WASM-only (client-side), and hybrid.
@yoheinakajima: .@activegraphai v1.2.0 is live graph projection is now pluggable falkordb = native edges + cypher pushdown 2-hop query:…
Active Graph v1.2.0 makes the materialized graph projection pluggable, with FalkorDB as the first external backend, enabling native edges, Cypher query push-down, and a 30x performance improvement for 2-hop queries.
@ErickSky: They rewrote PostgreSQL completely in Rust... and it already passes 100% of the official Postgres tests! Heads up, it's…
A ground-up reimplementation of PostgreSQL in Rust passes 100% of official tests, is disk-compatible, and claims significant performance improvements (50% faster transactional, ~300x faster analytical) in a WIP version.