The project's README from github.com/eosphoros-ai/DB-GPT. As one markdown file: README.md.
From a data question to verifiable queries, analytical reports, and reusable dashboards.
English · 简体中文 · 日本語 · हिन्दी · മലയാളം · தமிழ்
Documentation · Releases · Community · Quick start
Connect your data, establish business definitions, choose expert methods, execute within configured tool and runtime boundaries, and deliver results you can inspect, edit, and reuse.
DB-GPT goes beyond translating natural language into SQL. It brings data connections, business semantics, expert skills, task orchestration, and analytical artifacts into one workflow: a practical assistant for users and an extensible foundation for developers building AI-native data applications.
Product demo · Why DB-GPT? · Product modules · Safety and execution boundaries · Quick start · Community
https://github.com/user-attachments/assets/36ddad2c-1021-4181-b31a-8fb216c93f81
“Revenue” can mean different date attribution, refund treatment, and scope. The Semantic Center organizes schema metadata, business meanings, metric formulas, and published versions so an agent can work from explicit definitions rather than guess them again for each question.
Use specialized plugins for queries, analysis, SQL optimization, metadata and architecture, or financial analysis. Skills package reusable instructions and scripts; workflows make steps, dependencies, and tool configuration explicit.
Deliver query tables, charts, analytical reports, and editable dashboards—not only chat messages. Inspect the execution, review the result, request changes, and retain the artifact for the next task.
Models, tools, data sources, and runtime access depend on deployment and task configuration. Dashboard plans and proposed edits can be reviewed before application. Controlled execution is not a guarantee of absolute safety: use least-privilege credentials, appropriate isolation, and independent review.

Start with a question, a file, or a database. Choose a model and the relevant expert, clarify the objective, and move into a query, analysis, or dashboard task.
Start with a plan or template, generate a draft, edit widgets and queries, and enter Preview to present the full board.

This is the actual Walmart dashboard generated and saved during the product demo, shown in Preview board view. Its four widgets include sales and store KPIs, a weekly trend, and a Top 10 ranking. It is a saved draft, not a publicly published board.
The featured Walmart board uses an example dataset. Its values illustrate this case, not current company performance.
Select an expert plugin for the task and bind its data, knowledge context, and permitted tools. Skills package domain instructions, methods, and scripts.

| Expert | Typical work |
|---|---|
| Data Query | Clarify the question and metric, inspect and execute SQL, export results |
| Data Analysis | Inspect data, analyze trends and composition, prepare reports and dashboards |
| SQL Optimization | Inspect SQL and execution plans, propose changes for review |
| Metadata & Architecture | Organize data dictionaries, relationships, and modeling recommendations |
| Financial Analysis | Read financial materials and structure comparisons, subject to configuration and data prerequisites |
Plugins provide methods, not data permissions. Review third-party instructions, scripts, dependencies, and tool access before installing them.
Manage database connections and select the source for each task. Queries, analysis, and dashboards can work from the same connection inventory and metadata context.

Supports data sources including MySQL, PostgreSQL, SQLite, DuckDB, ClickHouse, Apache Doris, StarRocks, Oracle, MSSQL, Neo4j, and TuGraph.
Organize metadata, business definitions, metrics, query examples, relationships, and rules around a source. Published definitions preserve versions that can be associated with a query result.

Use the visual editor to organize Agent nodes, inputs, outputs, serial steps, and parallel branches. Prefer explicit workflows when a task should be repeatable.

This is a template editing view, not evidence that the workflow has been debugged or published. Configure its data source, model, and tools before running it.
Connect → Ground → Plan → Execute → Review → Reuse
DB-GPT provides configurable execution and review mechanisms. Effective safety depends on deployment:
Capabilities depend on the release, configuration, schema migrations, and model behavior. Use the code and documentation for your version; a UI entry or historical demo is not a production-readiness guarantee.
Download and review the script before running it:
curl -fsSL https://raw.githubusercontent.com/eosphoros-ai/DB-GPT/main/scripts/install/install.sh -o install.sh
less install.sh
bash install.sh
Follow the wizard to choose a profile and configure a model provider. Then use the directory and startup command printed by the installer:
cd ~/.dbgpt/DB-GPT
uv run dbgpt start webserver --profile <profile>
Replace <profile> with your configured profile and open http://localhost:5670.
From the repository root:
bash scripts/install/install.sh --profile openai --repo-dir "$(pwd)"
uv run dbgpt start webserver --profile openai
--repo-dir reuses the current checkout instead of cloning or switching branches. Provider credentials and required services still need configuration.
With dependencies installed and an appropriate TOML configuration, the backend can also be started directly:
.venv/bin/python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py -c configs/dbgpt-proxy-openai.toml
For frontend development, run npm run dev -- --hostname 127.0.0.1 --port 3000 inside web/. A running UI does not prove model inference or data access is ready.
Use Python 3.10 or newer:
pip install dbgpt-app
dbgpt start
Complete provider setup before using the interface. PyPI releases, main, and feature branches may differ; use the corresponding source checkout to test branch-specific features.
See the documentation for additional installation and configuration options.
Consult current documentation for provider support, drivers, and dependencies instead of treating historical model lists as compatibility guarantees.
Make trustworthy data work open and composable: help users complete an analysis while enabling teams to retain business context, reusable methods, and analytical artifacts.
Development directions include semantic consistency, task evaluation, execution diagnostics, portable Skills and workflows, and supervised recurring tasks. Track proposals and priorities through Issues and Discussions, without assuming unconfirmed release dates.
Contribute reproducible cases, fixes, documentation, Skills, and workflows. Include the version, configuration method, and a minimal reproduction when reporting a problem; remove secrets and sensitive data from logs.
For detailed guidelines, see how to contribute. Contributions to code, documentation, Skills, workflows, and reproducible examples are welcome.
DB-GPT is distributed under the MIT License. Read the disclaimer.
The following papers introduce the project and related research. They do not describe the compatibility of every current UI feature.
@article{xue2023dbgpt,
title={DB-GPT: Empowering Database Interactions with Private Large Language Models},
author={Siqiao Xue and Caigao Jiang and Wenhui Shi and Fangyin Cheng and Keting Chen and Hongjun Yang and Zhiping Zhang and Jianshan He and Hongyang Zhang and Ganglin Wei and Wang Zhao and Fan Zhou and Danrui Qi and Hong Yi and Shaodong Liu and Faqiang Chen},
year={2023},
journal={arXiv preprint arXiv:2312.17449},
url={https://arxiv.org/abs/2312.17449}
}
@misc{huang2024romasrolebasedmultiagentdatabase,
title={ROMAS: A Role-Based Multi-Agent System for Database monitoring and Planning},
author={Yi Huang and Fangyin Cheng and Fan Zhou and Jiahui Li and Jian Gong and Hongjun Yang and Zhidong Fan and Caigao Jiang and Siqiao Xue and Faqiang Chen},
year={2024},
eprint={2412.13520},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2412.13520}
}
@inproceedings{xue2024demonstration,
title={Demonstration of DB-GPT: Next Generation Data Interaction System Empowered by Large Language Models},
author={Siqiao Xue and Danrui Qi and Caigao Jiang and Wenhui Shi and Fangyin Cheng and Keting Chen and Hongjun Yang and Zhiping Zhang and Jianshan He and Hongyang Zhang and Ganglin Wei and Wang Zhao and Fan Zhou and Hong Yi and Shaodong Liu and Hongjun Yang and Faqiang Chen},
year={2024},
booktitle={Proceedings of the VLDB Endowment},
url={https://arxiv.org/abs/2404.10209}
}