Would you let an AI write SQL against your production database?
I wouldn't either. So when I built Quanta — a workspace where you ask questions in plain English and get back a live dashboard — the model never touches your data directly.
Every query it generates is SELECT-only and runs read-only. If one fails, the system feeds the exact database error back to the model and lets it correct itself once before anything reaches you. Credentials stay encrypted with AES-256-GCM and never leave the vault.
Connect Postgres or MySQL, switch between Gemini, Claude, and GPT, and build dashboards from 12 chart types. It's multi-tenant now too. Orgs, roles, and per-workspace AI spend caps.
Curious how other devs handle the "LLM + real database" problem. What guardrail would you add?
The self-correction loop is such a smart touch. Only thing I'd add is a statement_timeout + forced LIMIT so a valid-but-heavy query can't tank prod. Ideally run against a read replica. Great build.
Designed and built the homepage and pricing page for Lex Asistan, an AI workspace for lawyers in Turkey: a scroll-driven product story and a pricing builder.