deepsql
Active·★ 40·Apache-2.0·Updated 2026-10-25
DeepSQL is an AI-powered database agent for PostgreSQL and MySQL, allowing users to interact with their databases, generate queries, analyze performance, and manage schema using plain English. It is model-agnostic, enabling integration with various LLM providers like OpenAI, Azure OpenAI, or self-hosted models, while keeping all sensitive data and operations within the user's controlled environment.
#Database Agent#PostgreSQL#MySQL#SQL Generation#LLM Integration#Database Performance#Schema Management#Data Analytics
01
Features
01Answer BI questions in plain English by generating, validating, and executing read-only SQL.
02Identify and fix slow queries by analyzing logs and flagging regressions against baselines.
03Provide index recommendations and apply them concurrently on PostgreSQL without table locks.
04Monitor and track schema changes to detect drift before it impacts queries or dashboards.
05Establish a 'brain' that understands business metrics, rules, and conventions for consistent query generation and recommendations.
02
Compatibility
PostgreSQL
Database
Verified via docs
MySQL
Database
Verified via docs
Docker Engine
Runtime
Verified via docs
OpenAI API Compatible LLMs
LLM Provider
Verified via docs
03
Quick start
1
$ git clone https://github.com/DeepSQLAI/deepsql.git
2
$ cd deepsql
3
$ cp .env.example .env
4
$ ./scripts/self-host/install.sh
04
Use cases
↳Database administrators or data engineers seeking AI assistance for routine tasks and performance tuning.
↳Business analysts or stakeholders needing to get insights from databases using natural language without writing SQL.
↳Teams aiming to automate the generation of dashboards and reports based on business context.
↳Organizations looking for a secure way to integrate LLMs with their databases, keeping data within their own infrastructure.
↳Developers wanting to enhance their coding agents with direct, safe database interaction capabilities.
05
Alternatives
tabularis★ 5.3k
Open-source database client for PostgreSQL, MySQL/MariaDB and SQLite with SQL notebooks, visual EXPLAIN, AI and MCP built in. Hackable with plugins.
kordoc★ 2.8k
모두 파싱해버리겠다 — HWP·HWPX·PDF·Office 문서를 Markdown으로. 양식 자동 채우기와 신구대조를 갖춘 CLI·MCP 서버 | Convert Korean documents (HWP, HWPX, PDF, Office) to Markdown — CLI and MCP server with form filling and diff
wisp-science★ 1.1k
Open-source, local-first desktop AI research workbench for scientific computing with Python/R, MCP bioinformatics tools, SSH/WSL/GPU runtimes, and OpenAI/Anthropic models.
geodata★ 41
Lightweight open-source visualiser for India admin boundaries — pick a layer, view, download parquet
pullmd★ 506
Self-hosted URL- and file-to-Markdown service for humans and AI agents - web pages, documents, images, audio, YouTube. PWA + REST + MCP + Claude Code skill, Reddit-aware, refreshable share links.
pgedge-postgres-mcp★ 241
pgEdge MCP Server. A PostgreSQL MCP server with a Natural Language Agent CLI and Web UI.
Comments
Log in to leave a comment
No comments yet. Be the first!