DB-GPT: Open-Source Agentic AI Data Assistant
Connect your data, let AI write SQL and code autonomously, execute in sandboxes, and turn analysis into reports, insights, and action.
- Source repo
- eosphoros-ai/DB-GPT
- Stars
- ★ 20k
- Last updated
- 1d ago v0.8.3
- FARS reviewed
- Nov 08, 2026 +1 new
- License
- MIT
- Primary language
- Python
- FA score
- 50/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Data analysts: upload a CSV file and get an AI-generated data overview with visual reports.
- Not a fit if
- Users unwilling to supply paid OpenAI, Moonshot, or MiniMax API keys
- Enterprises needing mature commercial-grade docs and support
- Website
- docs.dbgpt.cn ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v0.8.3 (2026-11-17)+2.9 ★/day over 7 days
- Source review
- 50/100 · Major gaps
What does this agent do, and when should you use it?
DB-GPT is an open-source agentic AI data assistant for the next generation of AI + Data products. It lets users and teams connect to databases, CSV/Excel files, warehouses, and knowledge bases, ask questions in natural language, and let AI autonomously write SQL and code. It runs Python- and code-driven analysis workflows, loads reusable skills for domain-specific tasks, and generates charts, dashboards, HTML reports, and analysis summaries. DB-GPT also serves as a platform for building AI-native data agents, workflows, and applications, with support for agents, AWEL, RAG, and multiple LLM providers. The project is MIT-licensed and offers one-line installation scripts and PyPI packages for quick deployment, with a web UI available at localhost:5670.
DB-GPT performs concrete operations: it reads from multiple data sources through connection managers (relational databases, CSV/Excel, documents, knowledge bases); uses an agent framework to plan tasks, break them into steps, call tools, and iterate; generates SQL from natural language and executes Python code for data cleaning, metric computation, and transformations; loads and runs reusable skills (e.g., SQL analysis skills, financial report analysis); executes code in sandboxed environments for safety; and produces outputs such as charts, dashboards, HTML reports, and summaries. Key components include the dbgpt CLI, FastAPI backend, agent execution engine, AWEL workflow engine, and RAG document parsing.
- Data analysts: upload a CSV file and get an AI-generated data overview with visual reports.
- Business users: ask questions about a database in plain English; AI writes the SQL and returns results.
- Finance teams: perform financial statement analysis with code, charts, and narrative summaries.
- Developers: use DB-GPT's framework to build custom AI data assistants with AWEL workflows.
- Enterprises: connect private data sources and knowledge bases, run analyses in a secure sandbox.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://raw.githubusercontent.com/eosphoros-ai/DB-GPT/main/scripts/install/install.sh | bashuv pip install dbgpt-apppip install dbgpt-app
- Environment variables
OPENAI_API_KEY- Config files
~/.dbgpt/DB-GPT- Runtime
- Python 3.10+
- Install notes cover
- macOS · Linux · Docker
How do you install or deploy this agent?
Installation:
- One-line install (macOS/Linux):
curl -fsSL https://raw.githubusercontent.com/eosphoros-ai/DB-GPT/main/scripts/install/install.sh | bashOr specify an API key:
curl -fsSL https://raw.githubusercontent.com/eosphoros-ai/DB-GPT/main/scripts/install/install.sh | OPENAI_API_KEY=sk-xxx bash -s -- --profile openai- PyPI install (requires Python 3.10+ and uv):
uv pip install dbgpt-appOr with pip: pip install dbgpt-app.
- Docker installation: see official docs.
How do you use this agent?
After installation, start the server:
cd ~/.dbgpt/DB-GPT && uv run dbgpt start webserver --profile <profile>Or, with the PyPI package, simply run dbgpt start, then open http://localhost:5670. The first run launches an interactive wizard to choose an LLM provider and enter your API key. Then you can connect data sources, ask questions, run analyses, and generate reports through the Web UI.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Supports a wide range of data sources (databases, CSV/Excel, knowledge bases) and multiple LLM providers (DeepSeek, Qwen, GLM, Llama, etc.), giving flexibility in model choice.
- Provides sandboxed code execution for safer, more reliable analysis.
- Built-in AWEL workflow and skill mechanisms allow building reusable domain-specific analysis pipelines.
- One-line installer and PyPI package make deployment straightforward.
- Generates visual reports, dashboards, and HTML outputs, supporting decision-making.
- Installation requires Python 3.10+ and uv, which may be a barrier for some environments.
- Sandboxed execution may restrict certain operations requiring network or specific libraries.
- Natural language to SQL accuracy depends on the chosen LLM; may need fine-tuning or careful model selection.
- For large datasets or complex analyses, performance may be a concern.
- Documentation and community support are less mature than commercial products; troubleshooting may require self-help.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| DB-GPT: Open-Source Agentic AI Data Assistant This agent | 50 · Major gaps | CLIFree + model costs | ★ 20k | 1d ago | Python | — |
| OpenChatBI — Conversational BI Agent | 66 · Some gaps | Library / SDKFree + model costs | ★ 676 | 29d ago | Python | OpenAI API · Claude API |
| DeepEye | 65 · Some gaps | — | ★ 275 | 5mo ago | Python | — |
| CAMEL Multi-Agent Framework | 60 · Some gaps | Library / SDKFree + model costs | ★ 18k | 2d ago | Python | OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
The project offers local and proxy models, data-source connections, and SQL/code execution, and claims sandboxing and privacy protections. The supplied material does not show a permission model, sensitive-data controls, or a general pre-execution confirmation flow, so least privilege, confirmation, data-flow transparency, and sensitive-data handling receive partial credit. Proxy API keys must be configured; the README also claims proxy desensitization but does not explain key storage, rotation, or desensitization boundaries. Dependencies use uv and workspace packages, with no dependency audit or security policy shown. Example registration tests indicate a key is sent in a request header and not saved; failure-boundary tests show offline mode does not download and existing databases are preserved, giving limited evidence for external effects and rollback. The LICENSE names a copyright holder and paper citations provide attribution clues, so source attribution is relatively well supported; publisher identity remains unknown as instructed.
pyproject.toml specifies the Python requirement, workspace members, and development dependencies, while Quickstart documents several model configurations and launch commands, supporting basic deployment guidance. However, the supplied Quickstart excerpt contains a truncated command sequence, and the packet does not show the core Agent implementation or complete dependency-lock evidence, so self-consistency and dependency availability receive only partial credit. Example tests cover missing offline archives, hash mismatches, preservation of existing databases, and default non-registration, giving concrete evidence for failure handling; they do not establish runtime correctness.
The README targets enterprises and developers and names data analysis, SQL/code, multi-source data, and skill extensions. The supplied skills specify triggers, preconditions, workflows, and tool boundaries for CSV analysis and dashboard creation. Quickstart covers proxy and local models, SQLite defaults, and GPU-related setup, supporting ordinary scenario and environment fit. Scores are limited because the README's capability claims are broad and the excerpts do not define the framework's full boundaries.
The packet includes a multilingual README, documentation quickstart, skill directory, workspace pyproject, MIT license, and release-notes entry point, providing a useful information structure, installation guidance, and clear license text. Several skills include concrete examples and FAQ-like constraints, and Dashboard Builder documents the no-selected-database condition. Project-level limitations are sparse, and naming across sample skills and modules is not fully uniform. The README points to release information, but the materials provide limited evidence about a responsible maintainer and an explicit update path, so maintenance responsibility receives partial credit.
The project aims to connect natural-language requests with data, analysis, and dashboards, and provides structured report templates, artifact references, and multi-model/data-source support. This indicates reusable output paths and a distinct data-workflow value. The supplied skills require numeric report values to be bound to captured artifacts and distinguish evidence from interpretation; however, the packet provides no systematic cost or resource comparison and does not substantiate realized benefits across scenarios, so cost-benefit receives a low score.
README scope claims receive some cross-source support from skill instructions, Quickstart configurations, pyproject metadata, and example tests. The report skill requires artifact references for numeric values; the CSV skill describes deriving insights from a statistical summary; and the dashboard skill requires use of the selected source and distinguishes sampled evidence from exact facts. These support separation of evidence and inference. Promotional claims about performance, accuracy, and privacy lack matching implementation or independent support in this packet, limiting claim traceability.
- The README describes autonomous SQL/code execution and sandboxing; check tool permissions, isolation, user confirmation, and data-access scope before deployment because this packet does not establish that these controls are comprehensive.
- Quickstart requires proxy API-key configuration and may download models from model hubs; review network transfer, credential handling, and model sources against your data policies.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
✨ Enhancements - improve evidence verification and report recovery (#3348) - add configurable metadata payload indexes (#3305) - Add structured and traceable data analysis reports (#3295) - add dashboard workspace with Next.js 16 toolchain upgrade (#3278) - add Keenable Search MCP connector template (#3227) - tag Valkey clients with lib-name client\_info\_tag (#3282) - add llm wiki index for knowledge module (#3276) - add configurable runtime execution (#3272) - add Serply search tool (#3243) - add llm provider ui (#3241) - add Synthorai as a proxy LLM provider (#3210) …View on GitHub ↗ -
Release notes excerpt
✨ Enhancements - support multi-file upload and analysis (#3206) - add OrcaRouter proxy provider (#3186) - add MaxCompute (ODPS) datasource support (#3105) (#3178) - Parallel sub-agent delegation execution (#3161) - Agentic Knowledge-Base Search (Indexing + Agentic RAG) (#3160) - add ask_question tool as builtin-tools (#3107) 🐞 Bug fixes - avoid KeyError when chart/sql run omits db\_name (#3199) - include flow uid in update\_flow PUT path (#3193) (#3196) - use LONGTEXT for large agent messages on MySQL (#3189) - move EXAMPLE\_1 database creation to end of schema file (#3183) …View on GitHub ↗ -
Release notes excerpt
✨ Enhancements - Support Schedule task and MCP connector (#3095) - add CLIENT SETNAME to Valkey vector store client (#3090) - upgrade MiniMax default model to M3 (#3093) - Harden ~/.dbgpt/configs/\<profile>.toml file permissions to 0o600 (#3077) - adds context management, task-plan tracking, and the corresponding frontend UI. (#3053) - Implement VARBINARY and BINARY types for StarRocks (#3062) - add Valkey cache integration (#3057) - make distance metric configurable (#3044) - add Valkey vector store integration (#3051) - add LiteLLM as an embedded AI gateway provider (#3043) …View on GitHub ↗
FAQ
Which databases does DB-GPT support?
Can I use local models?
Is code execution safe?
What are the prerequisites for installation?
How can I extend with new data sources or skills?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.