deepsql.ai• Jul 20, 2026• 1 min read
Show HN: DeepSQL – A self-hostable DBA agent for Postgres and MySQLHi HN - I'm Venkat, founder of Stayflexi (YC), CMU CS grad and Ex-Oracle Query Engine team (patents in core databases)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're releasing it.DeepSQL is an AI agent that operates a database the way a senior DBA and Data Engineer would1. 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 databaseHow 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 is