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

Hacker News Top Products

Summary

DeepSQL is a self-hostable AI DBA agent that monitors, optimizes, and manages Postgres and MySQL databases, promising cost reduction and performance improvements.

Hi HN - I&#x27;m Venkat, founder of Stayflexi (YC), CMU CS grad and Ex-Oracle Query Engine team (patents in core databases)<p>DeepSQL started as an internal tool to stop our own databases from becoming the bottleneck they were becoming (13,000+ hotels in production). It worked well enough that we&#x27;re releasing it.<p>DeepSQL is an AI agent that operates a database the way a senior DBA and Data Engineer would<p>1. Fixes slow queries (we cutdown DB spend by 4x) 2. Fixes DB bloat (blocks unnecessary schema changes, in vibecoded setup) 2. BI dashboards(we removed spend on tableau, retool and appsmith) 3. Security (We could redact access to sensitive, PII data to our employees) while engaging everyone in the org to interact with our database<p>How it works 1. Deepsql learns your data and relationships from your code base, rules and query logs 2. Deepsql agent has 20 background jobs that continuously monitor the schema changes, bottlenecks, and come up with solutions before the problem arises. (Schema bloat issues are irreversible) 3. Deepsql Brain has CLI and MCP surfaces that can directly work with Claude &#x2F; Codex and Cursor. 4. Deepsql digest delivers the daily database health report. 5. Your team can connect to deepsql with their favourate surface areas - Web UI, CLI, MCP or Slack.<p>One line install: curl -fsSL <a href="https:&#x2F;&#x2F;install.deepsql.ai&#x2F;install.sh" rel="nofollow">https:&#x2F;&#x2F;install.deepsql.ai&#x2F;install.sh</a> | bash<p>For community support: <a href="https:&#x2F;&#x2F;discord.gg&#x2F;duEJq7AeeG" rel="nofollow">https:&#x2F;&#x2F;discord.gg&#x2F;duEJq7AeeG</a><p>Or just email me for expert level setup guidance [email protected]
Original Article
View Cached Full Text

Cached at: 07/22/26, 05:23 PM

# DeepSQL - 24/7 DBA: Cut Database Costs, Optimize Queries, MCP + Slack Source: [https://deepsql.ai/](https://deepsql.ai/) [deepsql](https://deepsql.ai/)The brain for your database DeepSQL monitors workloads, optimizes slow queries, and ships BI dashboards to cut database costs by 38%\. One\-line install · Self\-host in 15 minutes How it works ## From zero to a working AI DBA in 15 minutes 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\. host: aws\-rds\-replica\.internal role: deepsql\_ro ssl: require Teach DeepSQL your business rules in plain English — MRR, active\-hotel, currency conventions\. // MRR = SUM\(subscription\.mrr\) // WHERE status = 'active' // Active hotel = check\-ins ≥ 1 / 30d Point at pg\_stat\_statements or MySQL slow log\. DeepSQL clusters, ranks, and starts recommending\. source: pg\_stat\_statements window: 30d rolling grouped: 1,284 → 96 fingerprints Chat with the built\-in DeepSQL agent in your browser, or connect Claude, Codex, and Cursor to your DeepSQL instance over MCP or CLI\. ## Put your database on autopilot\. One\-line install\. Self\-host in 15 minutes\. Role\-based access, query policies, and audit logs built in\. [Read the docs](https://docs.deepsql.ai/quickstart/) ## Field notes from inside the database Deep dives on cutting Aurora costs, replacing Tableau, and why your observability bill is a lie\. Written for senior DBAs and data engineers\. [Read the blog](https://deepsql.ai/blog)

Similar Articles

Show HN: GETadb.com – every GET request creates a DB

Hacker News Top

GETadb.com offers an instant backend with a relational database, sync engine, and auth, accessible via a simple GET request without sign-up, allowing AI agents like Claude or Codex to build full-stack apps seamlessly.