Open sourceMIT · v1.0.0

The Postgres client your queries deserve.

Fast, elegant, AI-powered. Free, open source and local-first — a modern alternative to pgAdmin and DBeaver.

gamalab — SELECT public
Screenshot of the GamaLab app — Postgres query editor with results grid
  • MIT licensed
  • No account
  • No telemetry
  • Local-first
  • < 1 s cold start
  • Bring your own AI key
  • One-click Docker Postgres
  • OS-keychain credentials

01Features

Everything a Postgres dev needs

Six reasons to open GamaLab instead of the tool you've tolerated for five years.

01

Query Editor

Monaco under the hood — multi-tab editing, PostgreSQL highlighting, autocomplete, one-shortcut formatting, saved queries.

SQLEditor
1select p.id, p.text, u.name2from posts p3join users u on u.id = p.user_id4where p.created_at > now() - interval '7 days'5order by p.created_at desc6limit 100;
02

Schema Explorer

Visual schema diagrams with foreign-key highlighting, plus a sortable, filterable result grid.

1 — *public.posts⚿ idint4 created_attimestamptz⚿ user_idint4 texttextpublic.users⚿ idint4 created_attimestamptz nametext
03

AI Assistant

Describe what you want in plain English — bring your own Claude or OpenAI key, with live cost display.

claude · openai · $0.0004

04

Docker in one click

Spin up a fresh Postgres container, experiment, tear it down. Databases as scratch pads.

postgres:16 · running

05

CSV Import & Export

Auto-mapped columns with a preview before import. Export any result set in a click.

users.csv → public.users · 12 cols mapped

06

Safe by default

Credentials encrypted with the OS keychain. Confirmation before DROP, TRUNCATE, or unscoped DELETE.

drop table orders — confirm?

02AI assistant

Describe. Execute.

GamaLab knows your schema. Describe what you want in English or French, and the SQL comes out with the right joins, the right types, the right indexes. No more SELECT * in an 11 pm Slack.

  1. 01

    Bring your own key

    Claude (Haiku, Sonnet, Opus) or OpenAI — you pick the model, you pay the provider.

  2. 02

    No proxy, ever

    Requests go straight to the provider. Keys are encrypted locally in your OS keychain.

  3. 03

    Schema-aware, cost-aware

    It reads your tables to write correct joins, and streams back with a live cost meter.

assistantclaude-haiku-4-5

List users created this month with more than 3 sales.

SQL·generatedstreaming
312 tokens$0.00041.2 sRun
zsh — build from source

$git clone github.com/garerim/gamalab.git

Cloning into 'gamalab'… done.

$cd gamalab && npm install

added 1 284 packages in 41s

$npm run dev

✔ GamaLab ready · electron 33 · vite 6

activity · last 6 monthslessmore

03Open source

Read the code. Own the tool.

GamaLab is fully open source. No account, no telemetry, no hidden backend — every line that touches your database is auditable on GitHub.

View on GitHubMIT · v1.0.0· Windows, macOS & Linux from source

04Comparison

Why GamaLab

Compared to the tools you already know.

CriterionpgAdminDBeaverGamaLab
Cold start~6 s~4 s< 1 s
Modern design (Linear-like)NoNoYes
Integrated AI SQL AssistantNoNoYes
OS-encrypted credentials storagepartialYesYes
One-click Docker PostgresNoNoYes
Local-first (zero cloud)YesYesYes
Free & open sourceYesCommunity ed.MIT

05FAQ

Frequently asked questions

Straight answers about price, privacy and what happens next.

Missing a question? contact@gamalab.dev

v1.0.0 · free forever

Open your database in a better lab.

85 MB, no account, no telemetry. Runs offline. Ready in under a second.