See the hot path before production does.
Every node sized by cost. Sequential scans on big tables glow red. Click any branch to pin the SQL that produced it. Catch the bad plan locally instead of in the on-call channel.
A desktop Postgres client for the keyboard-first. Real SQL editor, fast schema browser, and an AI grounded in your live schema.
pgen is built for people who live in their keyboard. Every panel and command has a key, and the command palette covers whatever doesn't. Open a query or jump to a table without ever reaching for the mouse.
“The mouse is a fine pointing device, but the keyboard is where the work happens. We built pgen for the hands that have already memorized the shortcuts they wish existed.”
Six tools, and each one earns its place on the toolbar.
Every node sized by cost. Sequential scans on big tables glow red. Click any branch to pin the SQL that produced it. Catch the bad plan locally instead of in the on-call channel.
Tag prod, staging, local. Filter by environment. ⌘P to jump between any of them. Every query you've ever run, against any of them, full-text searchable.
Plug in OpenAI, Anthropic, or a local Ollama. Prompts are grounded in your live catalog. Queries never leave your machine, and pgen never sees your data.
Smart column mapping, type inference, conflict resolution on insert. Round-trip a Parquet dump through Postgres into a CSV without leaving the editor.
Mark a connection prod and destructive statements either require confirmation or refuse to run at all.
If it speaks the wire protocol, pgen connects. Cloud, container, or laptop — paste the URL and you're in.
We made pgen because the tools we had treated SQL like a chore. A box to type in, a table to stare at, a spinner to wait through. We wanted something that respects the keyboard, that reads your schema, that doesn’t phone home — and that gets out of the way when there’s a query to write.

pgen is free forever — every feature, no account, bring your own API key when you want the AI on. PRO is coming for teams that want cloud sync and managed inference.
We use analytics to understand which pages get visited and how many people download pgen. See our privacy policy.