@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.
@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.
@thomasp85: I am excited beyond description to lift the veil on what we have been working on in 2026: Please meet ggsql! A new exte…
Posit has announced the alpha release of ggsql, a new SQL language extension that brings grammar-of-graphics-style data visualization to SQL, compatible with Quarto, Jupyter notebooks, Positron, and VS Code. It allows users to create layered, structured visualizations using familiar SQL syntax inspired by ggplot2.
Show HN: HelixDB – A graph database built on object storage
HelixDB is a graph-vector database built in Rust for knowledge graphs and AI memory, offering a unified platform that supports graph, vector, KV, document, and relational data models, with tools for easy local and cloud deployment.
Fluree DB (GitHub Repo)
Fluree DB is an open-source, temporal graph database with git-like branching, integrated vector/text/geo search, fine-grained access control, and support for SPARQL, JSON-LD, and Open Cypher. It is optimized for AI agent memory and achieves high performance on billion-scale graphs.