DeepSQL - Self-hostable AI DBA agent for Postgres and MySQL
Show HN: DeepSQL – A self-hostable AI DBA agent for Postgres and MySQL

DeepSQL acts as an intelligent, self-hosted database administrator that monitors workloads, optimizes slow queries, and delivers BI dashboards to cut database costs by up to 38%. Designed for security-conscious teams, it installs via a single command and operates entirely within your VPC, ensuring data never leaves your infrastructure. Compatible with Postgres and MySQL, DeepSQL integrates seamlessly with AI tools like Claude, Codex, and Cursor via MCP, allowing developers to chat with their database and execute complex analytics instantly while maintaining full control over credentials and access policies.
The brain for your database: monitor workloads, optimize slow queries, and ship BI dashboards to cut database costs by 38%.
- docheinestages
The landing page doesn't show a link to your GitHub. Despite mentioning "self-hostable", I genuinely thought it was closed-sourced. I doubt first-time users will trust a random tool and grant it database-level access with a curl command.
- vector_spaces
> 2. BI dashboards(we removed spend on tableau, retool and appsmith)
Can you explain this in more detail? You saying that DeepSQL can create BI dashboards that makes Tableau and friends redundant -- are you talking about analytics dashboards consumed by business teams or more like db ops dashboards used by backend teams? Does the user prompt the agent for them, or does it build dashboards that it infers are needed?
- venkat971
Deepsql doesn't replace your DBA, it gives your DBA super powers. In my org, when we had to decide on hiring a DBA, we chose building deepsql and empowered our senior engineer to handle the database tasks like a senior DBA.