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
curl -fsSL https://raw.githubusercontent.com/eosphoros-ai/DB-GPT/main/scripts/install/install.sh | bashcd ~/.dbgpt/DB-GPT && uv run dbgpt start webserver --profile <profile>pip install dbgpt-apppip install dbgpt-app -i https://pypi.tuna.tsinghua.edu.cn/simpledbgpt 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.
Multi-source data access
Work across structured and unstructured sources, including databases, spreadsheets, documents, and knowledge bases.
Skills-driven extensibility
Package domain knowledge, analysis methods, and execution workflows into reusable skills.
Reporting and decision support
Produce charts, dashboards, HTML reports, and decision-ready business outputs.
Sandboxed execution
Run code and tools in isolated environments for safer, more reliable analysis.