About DB9
What is DB9
DB9 is a PostgreSQL-compatible database platform designed for modern applications and AI agent workflows. It speaks the PostgreSQL wire protocol, so any tool or driver that connects to Postgres works with DB9 out of the box — no adapters, no proxies.
Under the hood, DB9 is built on TiKV, a distributed transactional key-value store originally created at PingCAP. This architecture gives DB9 horizontal scalability, strong consistency, and multi-tenant isolation without the operational complexity of managing distributed Postgres clusters.
Why DB9 Exists
Databases have been optimized for human developers for decades. But the next wave of applications is being built by AI agents — coding assistants, autonomous workflows, and multi-agent systems that need to provision, query, and manage databases programmatically.
DB9 is designed for this world: instant database provisioning, built-in branching for safe experimentation, a filesystem interface for document storage, and first-class SDK and CLI support for agent integration. Every feature is built to work both for human developers and for the agents that write code alongside them.
Technology
DB9's stack is built in Rust and Go:
- SQL layer — PostgreSQL-compatible query engine with support for DDL, DML, transactions, CTEs, window functions, and common extensions
- Storage engine — TiKV provides distributed, replicated, ACID-compliant key-value storage
- Wire protocol — Standard pgwire (PostgreSQL v3 protocol) on port 5433
- Extensions — Built-in vector search, full-text search, HTTP client, filesystem (fs9), pg_cron, and more
- Multi-tenancy — Shared infrastructure with strong per-tenant isolation at the storage and connection layers
For a deeper look at the architecture, see Architecture.
Background
DB9 builds on the distributed database expertise behind PingCAP and the TiKV project, a CNCF graduated project. TiKV powers production workloads at scale across industries worldwide.
The DB9 platform applies this foundation to a new problem: making databases as easy to provision and use as any other cloud API, with first-class support for the AI-native development workflow.
Get in Touch
Join the community or reach out:
- Discord — community discussions, support, and feedback
- GitHub — open-source tools, SDK, and CLI
- hello@db9.ai — general inquiries