# Evokoa/pgGraph

Open-source graph database superpowers for your existing Postgres data.

Repository: https://github.com/Evokoa/pgGraph
Canonical: https://ross.abutalabs.com/products/pggraph
Homepage: https://www.polygres.com
Language: Rust
License: NOASSERTION
License Family: other
Topics: graph, graph-database, postgres, postgresql-database, postgresql-extension, rust, traversal, ai, ai-agents, ai-agents-framework, pgrx, relationship-graph
Last push: 2026-08-22T01:56:41+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 8
- inputs: {"age_days": 112, "days_push": 12, "days_rel": 12, "gap_med": 5, "n_releases_24m": 10}
- flags: young, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1014, forks 85 (observed 2026-08-28T04:03:14.016881+00:00)

## What it is
pgGraph is a PostgreSQL extension (built with pgrx in Rust) that adds graph database capabilities—graph search, traversal, and shortest-path queries—directly on top of existing Postgres data. It is part of the Evokoa/Polygres ecosystem alongside pgContext for vector search, and can be self-hosted or used via their managed cloud.

## Use cases
- run graph traversal queries on existing postgres tables
- find shortest paths between entities in a relational database
- model relationships without recursive CTE joins
- add graph database features to postgres without a separate neo4j
- give AI agents graph search over structured data
- combine graph traversal with vector search in one query

## When to choose
- your data already lives in Postgres and you want graph queries in place
- you want to avoid operating a separate graph database
- you need hybrid graph + vector retrieval for AI agents
- you prefer self-hosting an extension over a managed service

## When to avoid
- you need a full standalone graph database with its own query language
- you require a permissive OSI license for redistribution (license is non-standard)
- you need multi-model graph features beyond traversal such as graph algorithms suites
- you are not on PostgreSQL 14-18

## Facets
- artifact type: library
- maturity: active
- function: database, search-engine, vector-database
- domain: databases, graph-processing
- platform: self-hosted, cloud, rust
- tags: postgres-extension, pgrx, graph-traversal, shortest-path, hybrid-search, knowledge-graph, sql, search, ai-agents, retrieval-augmented-generation, linux, docker

## Member repositories
- Evokoa/pgGraph (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:14.016881+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:30.003227+00:00, confidence not recorded.
  - readme: https://github.com/Evokoa/pgGraph (fetched 2026-08-28T04:03:14.016881+00:00, sha 3caf5274daae)
  - homepage: https://www.polygres.com (fetched 2026-08-29T13:10:53.745184+00:00, sha e62844772a93)
  - site_page: https://polygres.com/about (fetched 2026-08-29T13:10:53.756568+00:00, sha 16e7b5373698)
  - site_page: https://polygres.com/pricing (fetched 2026-08-29T13:10:53.754613+00:00, sha 7fda291b1023)
- Data as of 2026-08-30T08:39:29.467469+00:00.
