About Gel
Gel is a database that combines ideas from relational databases, graph databases, and ORMs, which it calls a graph-relational model. It runs on top of Postgres and is the project formerly known as EdgeDB. The schema is expressed as object types with properties connected by links instead of tables and foreign keys. It is released under the Apache-2.0 license.
Its query language, EdgeQL, is designed as a ground-up redesign of SQL. Queries return structured objects rather than flat rows, which makes fetching deeply related data straightforward without JOINs, and queries are composable, so one can be used as an expression inside another. The database supports a strict type system, indexes, constraints, computed properties, stored procedures, link properties, schema mixins, and strong JSON support.
The project also bundles authentication and AI solutions, per its description. Documentation, a learning guide for building an app, a Discord server, and a blog are available. Gel suits application developers who want a typed, object-oriented data model while keeping Postgres reliability underneath.
Key features
- Graph-relational data model on Postgres
- Object types connected by links
- EdgeQL composable query language
- Strict type system with constraints and indexes
- Computed properties and schema mixins
- Built-in auth and AI solutions
Good fit for
- →Applications with deeply related data
- →Replacing an ORM plus SQL schema with a typed model
- Built with
- Python
- Tags
- database
- postgres
- edgeql
- graph-relational
- orm
- edgedb
- schema
- auth
Gel: questions and answers
- What is Gel used for?
- Gel is a graph-relational database built on Postgres that models data as object types with links and queries it with EdgeQL, previously known as EdgeDB. It is a good fit for applications with deeply related data and replacing an ORM plus SQL schema with a typed model.
- Is Gel open source?
- Yes. Gel is open source under the Apache-2.0 licence. Its source code is on GitHub at geldata/gel and is written mainly in Python.
- Is Gel free?
- Yes. Gel is open source, so the software itself is free to use.
- Can I self-host Gel?
- Yes. Gel can be self-hosted on your own server or infrastructure.
- What are some alternatives to Gel?
- Similar open-source tools in the Databases category include pgrust, Redis and etcd. SaaS products in the same category include Aerospike, Amazon MemoryDB and Azure Data Explorer.
- Is Gel actively maintained?
- The most recent commit to Gel was on 24 December 2025, and the latest release is v7.0, published on 5 November 2025. The project has 14k stars on GitHub.
Open-source alternatives to Gel
See all
pgrust
Databases
Postgres rewritten in Rust, now faster than Postgres and Clickhouse
AGPL-3.0★ 5.2k
Redis
Databases
For developers, who are building real-time data-driven applications, Redis is the preferre
OSSvs Upstash★ 77k
etcd
Databases
Distributed reliable key-value store for the most critical data of a distributed system
Apache-2.0★ 52k
ClickHouse
Databases
ClickHouse is a fast open-source column-oriented database management system that allows ge
Apache-2.0vs Snowflake★ 50k
DuckDB
Databases
DuckDB is an analytical in-process SQL database management system
MITvs MotherDuck★ 42k
TiDB
Databases
TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and nati
Apache-2.0vs Amazon Aurora★ 41k
SaaS alternatives to Gel
See all
Aerospike
Databases
Real-time NoSQL database for low-latency, high-throughput applications
SaaS
Amazon MemoryDB
Databases
Durable in-memory database service on AWS compatible with Valkey and Redis OSS
SaaS
Azure Data Explorer
Databases
Analytics service on Azure for exploring log, telemetry and time-series data with Kusto queries
SaaS
Cloudflare D1
Databases
Serverless SQLite-based database for Cloudflare Workers
SaaS
CockroachDB
Databases
Distributed SQL database with horizontal scaling, available as a managed cloud service
SaaS
EDB Postgres AI
Databases
Enterprise PostgreSQL distribution, managed service and tooling from EnterpriseDB
SaaS

