SQL Chat
Describe what you want in plain language and get real SQL against your real schema: SQL Chat
is an open-source, chat-based SQL client from the Bytebase team. Instead of writing queries in
a traditional editor, you connect a database and describe what you want in plain language; the
AI reads your schema automatically, generates SQL that references real table and column names,
executes it, and returns tabular results in the conversation. Follow-up messages refine the
query, so exploration becomes a dialogue - narrow a result set, add a join, change an
aggregation - without retyping statements. It supports MySQL, PostgreSQL, SQL Server, TiDB
Cloud, and OceanBase from one interface, and covers modification as well as reads: insert,
update, and delete operations phrased conversationally. Built with Next.js and TypeScript, it
deploys as a single stateless Docker container in single-user mode - connection profiles live
in the browser, so there is nothing server-side to maintain. A custom AI endpoint setting
routes inference through any OpenAI-compatible API, including self-hosted models, and an
optional database-backed mode adds accounts and quotas for offering the tool to a team.
MIT-licensed.
Deploy