OPEN_SOURCE ↗
HN · HACKER_NEWS// 28d agoPRODUCT LAUNCH
DB9 unifies Postgres, file storage for AI agents
DB9 is a serverless PostgreSQL-compatible database built for AI agents, combining SQL storage with a built-in file system so agents can store structured state and unstructured artifacts in one workspace — no S3 configuration required. It also ships in-query vector embeddings, environment branching, and zero-config CLI setup.
// ANALYSIS
The "one workspace per agent run" model is genuinely compelling — eliminating the glue code between Postgres, object storage, and embedding pipelines is exactly the friction that slows agent development.
- –The `embedding()` in-SQL function is the standout feature: call it in a query and get vectors back without managing an external embedding service or extra API keys in app code
- –Built-in `fs9` file system extension means transcripts, session snapshots, and binary artifacts live alongside relational state — a natural fit for long-running agents that accumulate context
- –Environment branching that includes files and cron jobs (not just schema) is unusual and useful for agent testing
- –Caveat worth noting: DB9 is a PostgreSQL-compatible layer over TiKV, not actual Postgres — the homepage obscures this, which drew HN criticism; workloads with complex Postgres internals may hit compatibility limits
- –Zero-config CLI (`curl … | sh`, then `db9 create`) and anonymous account creation lower the barrier to trial significantly
// TAGS
db9llmagentvector-dbragopen-sourceapidevtool
DISCOVERED
28d ago
2026-03-15
PUBLISHED
28d ago
2026-03-14
RELEVANCE
7/ 10
AUTHOR
ngaut