DB-GPT

An open-source AI data assistant that connects to your data, writes SQL and code, runs skills in sandboxed environments, and turns analysis into reports, insights, and action.
DB-GPT is also a platform for building AI-native data agents, workflows, and applications with agents, AWEL, RAG, and multi-model support.
Quick startโ
- ๐ Shell Quick Start
- โก PIP Quick Start
One-line installer for macOS & Linux โ downloads, configures, and sets up DB-GPT automatically.
1
Install DB-GPT
curl -fsSL https://raw.githubusercontent.com/eosphoros-ai/DB-GPT/main/scripts/install/install.sh | bash2
Start the server
cd ~/.dbgpt/DB-GPT && uv run dbgpt start webserver --profile <profile>Install with pip and start in seconds โ the fastest way to try DB-GPT on any platform.
1
Install the package
pip install dbgpt-appUsers in China region can use a mirror for faster downloads:
pip install dbgpt-app -i https://pypi.tuna.tsinghua.edu.cn/simple2
Start DB-GPT
dbgpt startWhat is DB-GPT?โ
DB-GPT is an open-source agentic AI data assistant for the next generation of AI + Data products.
It helps users and teams:
- connect to databases, CSV / Excel files, warehouses, and knowledge bases
- ask questions in natural language and let AI write SQL autonomously
- run Python- and code-driven analysis workflows
- load and execute reusable skills for domain-specific tasks
- generate charts, dashboards, HTML reports, and analysis summaries
- execute tasks safely in sandboxed environments
Why DB-GPT?โ
Agentic data analysis
Plan tasks, break work into steps, call tools, and complete analysis workflows end to end.
Autonomous SQL + code execution
Generate SQL and code to query data, clean datasets, compute metrics, and produce outputs.