@daleverett: https://x.com/daleverett/status/2055332581659566288

X AI KOLs Timeline Tools

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.

https://t.co/VIkX2hOPzV
Original Article
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

colbymchenry/codegraph

GitHub Trending (daily)

CodeGraph is an open-source tool that creates a pre-indexed knowledge graph of a codebase, enabling Claude Code's exploration agents to query symbol relationships and call graphs instantly, reducing tool calls by up to 96% and exploration time by 77%.

ggsql: A grammar of graphics for SQL

Lobsters Hottest

ggsql is an alpha-release tool that brings grammar of graphics visualization capabilities to SQL, allowing users to create structured, modular visualizations using SQL syntax across Quarto, Jupyter, Positron, and VS Code.

Scaling PostgreSQL to power 800 million ChatGPT users

OpenAI Blog

OpenAI shares technical insights on scaling PostgreSQL to support 800 million ChatGPT users and millions of queries per second, using a single-primary architecture with 50 read replicas while managing challenges from write-heavy workloads through sharding and optimization strategies.