Add graph querying to an existing PostgreSQL database to detect fraud or build a recommendation engine.
Model social network or organizational relationships and query them with openCypher without switching databases.
Run openCypher and SQL queries together in the same database session using a single PostgreSQL installation.
| apache/age | dankamongmen/notcurses | plasma-umass/coz | |
|---|---|---|---|
| Stars | 4,499 | 4,503 | 4,491 |
| Language | C | C | C |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 4/5 | 4/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a compatible PostgreSQL installation (versions 11-18) and building the extension from source, or pulling the Docker image.
Apache AGE is an extension for PostgreSQL that adds graph database capabilities on top of a regular relational database. The name stands for A Graph Extension. The idea is that instead of running two separate databases, one for tables and one for graph data, you can do both in a single PostgreSQL installation. A graph database organizes information as nodes (things) and edges (connections between things). This model is useful for problems like fraud detection, product recommendations, tracking relationships between people or organizations, and knowledge management, where the connections between data points matter as much as the data itself. Apache AGE lets you write queries in openCypher, a popular language designed specifically for graph data, alongside standard SQL in the same database session. Because it is a PostgreSQL extension rather than a standalone product, you get all the existing features and reliability of PostgreSQL along with the graph layer. Organizations already running PostgreSQL can add graph querying without switching to a different system or migrating their data. Installation involves setting up a compatible version of PostgreSQL first (versions 11 through 18 are supported), then building and installing the AGE extension from source or pulling a pre-built Docker image. After installation, each database connection loads the extension with a few setup commands before graph queries can run. The project is part of the Apache Software Foundation and is open source. Documentation for installation, built-in functions, and Cypher query syntax is available on the project's official site.
Apache AGE adds graph database features to PostgreSQL, letting you store and query connected data using the openCypher language alongside regular SQL, no second database required.
Mainly C. The stack also includes C, PostgreSQL, openCypher.
Open source under Apache 2.0, use freely for any purpose including commercial, modify and distribute with attribution.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.