cd /news/ai-agents/show-hn-deepsql-a-self-hostable-ai-d… · home topics ai-agents article
[ARTICLE · art-68923] src=deepsql.ai ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

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

DeepSQL, a self-hostable AI DBA agent for Postgres and MySQL, monitors workloads, optimizes slow queries, and ships BI dashboards to cut database costs by 38%. The tool installs in one line and self-hosts in 15 minutes, with top customers ingesting a combined 17.35M rows/day. DeepSQL runs on any Linux box, EC2, or container in the user's VPC, using read-only credentials and keeping data within the infrastructure.

read1 min views2 publishedJul 20, 2026
Show HN: DeepSQL – A self-hostable AI DBA agent for Postgres and MySQL
Image: source

DeepSQL monitors workloads, optimizes slow queries, and ships BI dashboards to cut database costs by 38%.

One-line install · Self-host in 15 minutes

Top 5 customers by rows ingested into sales_report_aggregation

over the last 7 days:

Customer Rows / day Δ vs prior wk
Aurora Hospitality (30469) 4.82M +18%
Nordic Stays Group (28104) 3.91M +12%
Coastline Resorts (31287) 3.44M +9%
Meridian Hotels (29553) 2.87M +6%

| Lumen Suites (30988) | 2.31M | +21% | Combined 17.35M rows/day — 62% of total ingestion volume.

Self-hosted end-to-end. Your data, your credentials, your VPC.

Run this on any Linux box, EC2, or container in your VPC. Installs the DeepSQL agent, CLI, and MCP server on the machine.

Add database connections, teach it your company's knowledge, and feed it your slow query logs. DeepSQL indexes your schema and starts learning your workload immediately.

Postgres or MySQL — read replica, VPC-peered. Read-only credentials, no data leaves your infra.

Teach DeepSQL your business rules in plain English — MRR, active-hotel, currency conventions.

Point at pg_stat_statements or MySQL slow log. DeepSQL clusters, ranks, and starts recommending.

Chat with the built-in DeepSQL agent in your browser, or connect Claude, Codex, and Cursor to your DeepSQL instance over MCP or CLI.

One-line install. Self-host in 15 minutes. Role-based access, query policies, and audit logs built in.

Deep dives on cutting Aurora costs, replacing Tableau, and why your observability bill is a lie. Written for senior DBAs and data engineers.

── more in #ai-agents 4 stories · sorted by recency
── more on @deepsql 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-deepsql-a-se…] indexed:0 read:1min 2026-07-20 ·