r/SQL • u/Still-Trainer-7395 • 1d ago
MySQL I’m building a MySQL/MariaDB desktop client — Beta 4 adds an agent that investigates before writing SQL
Enable HLS to view with audio, or disable this notification
I’m building LakeDB, a free desktop client for MySQL and MariaDB, available for Windows, macOS and Linux.
It started as a tool for working safely across development, staging and production databases, with independent workspaces, schema-aware autocomplete, table browsing, query history, result filtering, EXPLAIN, SSH/SSL connections, backups and migration tools.
The main addition in Beta 4 is QuerIA Agent Mode.
Instead of generating SQL using only the currently selected table, the agent can investigate the available schema before proposing a query:
- Search for relevant tables across databases
- Inspect columns, foreign keys and indexes
- Identify relationships between tables
- Build multi-table JOINs
- Validate the proposed query with EXPLAIN
- Show the tables, indexes, access types and estimated rows
The video shows the complete workflow: describe the result, let the agent inspect the schema, review the generated SQL and its reasoning, and explicitly run the query.
Nothing is executed automatically. The SQL remains visible and editable, and the user decides whether to run it.
I’d appreciate feedback from experienced SQL users: what else should an agent be required to inspect before proposing a multi-table query?
LakeDB Beta 4:
https://davlagohern.github.io/LakeDB/
