Your 24/7 DBA and Data Engineer

The database agent for Postgres and MySQL

Answers BI questions, fixes slow queries, and watches your schema 24/7.

Free to get started · Self-host in 15 minutes

Works with
ClaudeCodexCursor
venkat@laptop — deepsql — 120×34

██████╗ ███████╗███████╗██████╗ ███████╗ ██████╗ ██╗
██╔══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██╔═══██╗██║
██║  ██║█████╗  █████╗  ██████╔╝███████╗██║   ██║██║
██║  ██║██╔══╝  ██╔══╝  ██╔═══╝ ╚════██║██║▄▄ ██║██║
██████╔╝███████╗███████╗██║     ███████║╚██████╔╝███████╗
╚═════╝ ╚══════╝╚══════╝╚═╝     ╚══════╝ ╚══▀▀═╝ ╚══════╝
I am your DBA and Data agent. DeepSQL is the brain for your database.
Try these prompts
Connections (4)
analytics-replica mysql
prod-warehouse postgres
deepsql-vault postgres
prod-primary mysql
Needs attention
⚠ analytics-replica · brain still initializing (73%)
→ deepsql connections init analytics-replica
⚠ prod-primary · brain still initializing (73%)
→ deepsql connections init prod-primary
42 brain recommendations to review → deepsql brain recs
Ask a question · exit to quit · deepsql --help for CLI commands
v0.26.0 · latest
[deepsql] >
How it works

From zero to a working database agent in 15 minutes

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

1
Install
One line

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

2
Setup
Point it at your data

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.

Database connections

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
Company knowledge

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
Slow query logs

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
3
Go live
Start chatting

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

Works with
ClaudeCodexCursor

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
The DeepSQL Blog

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