// db-ai
Talk to your database in plain English.
DB AI is a desktop database client that pairs a modern SQL workbench with an AI assistant grounded in your live PostgreSQL schema — so you can explore a database by describing what you want instead of remembering exact syntax.
// the idea
The best of the big SQL clients, distilled around AI
Tools like DBeaver, TablePlus, DataGrip, and Chat2DB are each excellent, but sprawling. DB AI started from a written product spec that asked a sharper question: which capabilities actually matter day-to-day, and what changes when an AI assistant is a first-class part of the workflow rather than a bolt-on?
The answer is a focused, AI-first client. An LLM is grounded in your live schema and turns plain-English questions into SQL you can read and run — but every guardrail assumes it will eventually be pointed at a production database. Nothing runs on its own, writes are gated, and your credentials never leave your machine.
the differentiator
An AI assistant that knows your schema
The LLM never guesses in the dark. It is grounded in the live database — tables, columns, and relationships — so its SQL fits the schema in front of you.
trust layer
Built to be pointed at production
AI-generated SQL against a real database is only useful if it's safe. Guardrails are per-connection and explicit — never inferred.
the workbench
A real SQL editor, not a toy box
Everything you expect from a modern SQL client, focused on the PostgreSQL workflow.
data operations
Browse, edit, and export
A full data grid for exploring and changing rows without hand-writing every statement.
schema & metadata
Understand the database, not just the rows
Navigate structure and relationships straight from PostgreSQL's own metadata.
security & storage
Credentials stay on your machine
Everything sensitive is stored locally and encrypted — nothing is shipped to a server that isn't yours.
under the hood
How it's built
A pragmatic Electron stack, put together so the AI can be useful without ever being the weakest link in security.
This is what I ship on my own
DB AI went from a written product spec to a working desktop app — schema-grounded AI, a full SQL workbench, and production-minded guardrails — scoped, designed, and built end to end by one product engineer. It's a fair sample of how I work: take an ambiguous problem, decide what actually matters, and ship it.