Run a self-hosted DBA agent for Postgres and MySQL
Built DeepSQL, a self-hostable DBA agent for Postgres and MySQL.
Source
venkat971 on Hacker News · 2026-07-20 · Project link
Written in our own words. Credit to the original author. Link checked 2026-10-16.
What they did
Built DeepSQL, a self-hostable DBA agent for Postgres and MySQL.
Result (as claimed)
Launched publicly; strong Show HN reception (52 points).
Tools they used
Cost: Claude Code: free plan, paid from $17/mo. Checked 2026-10-14.
Set it up
Pick one goal and metric
For example replies to outreach, ad ideas per week or landing page conversion.
Set up the tools
Open postgres, mysql, Claude Code. Load your offer, audience and examples of what already works.
Generate, then review
Have the agent research and draft. You approve every message, post or ad before it goes out.
Measure and iterate
Track the metric for a week, keep what works and feed the results back into the prompt.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Run a self-hosted DBA agent for Postgres and MySQL What the original author did: Built DeepSQL, a self-hostable DBA agent for Postgres and MySQL. Reported result (as claimed by the author): Launched publicly; strong Show HN reception (52 points). Source: https://news.ycombinator.com/item?id=48980286 Tools they used: postgres, mysql, Claude Code Category: Marketing & growth Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Run a self-hosted DBA agent for Postgres and MySQL What the original author did: Built DeepSQL, a self-hostable DBA agent for Postgres and MySQL. Reported result (as claimed by the author): Launched publicly; strong Show HN reception (52 points). Source: https://news.ycombinator.com/item?id=48980286 Tools they used: postgres, mysql, Claude Code Category: Marketing & growth Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Run a self-hosted DBA agent for Postgres and MySQL What the original author did: Built DeepSQL, a self-hostable DBA agent for Postgres and MySQL. Reported result (as claimed by the author): Launched publicly; strong Show HN reception (52 points). Source: https://news.ycombinator.com/item?id=48980286 Tools they used: postgres, mysql, Claude Code Category: Marketing & growth Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Related use cases
Check which AI engines recommend your product
Built a coding-agent skill that asks ChatGPT-style engines the questions buyers ask and reports which brands they name.
Build a plain-English Google Ads burn dashboard
Used Claude Code to build a Google Ads dashboard that explains in plain English what is wasting spend and why.
Give coding agents real SEO data through an MCP
Built an SEO MCP so Claude Code and ChatGPT get real site numbers instead of guessing and hurting rankings.
Run an AI SDR team with human approval
Daily, three Sonnet agents take 15 leads each, research the site and Meta Ads Library, find weaknesses and write a cold email; Opus reviews and he approves.