DB-GPT
open-source agentic AI data assistant for the next generation of AI + Data products.
What is DB-GPT?
open-source agentic AI data assistant for the next generation of AI + Data products.
Overview of DB-GPT
What it is
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; and execute tasks safely in sandboxed environments. DB-GPT is also a platform for building AI-native data agents, workflows, and applications with agents, AWEL, RAG, and multi-model support.
Key features
- 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.
- Sandboxed execution: run code and tools in isolated environments for safer, more reliable analysis.
Use cases
- Analyze CSV / Excel files and generate visual reports.
- Connect to databases and produce profiling reports.
- Ask business questions in natural language and let AI write SQL automatically.
- Perform financial report analysis with code, charts, and narrative summaries.
- Create and reuse SQL analysis skills and domain workflows.
- Combine code, SQL, retrieval, and tools in a single agentic workflow.
- Build next-generation AI + Data assistants for your team or product.
Getting started
curl -fsSL https://raw.githubusercontent.com/eosphoros-ai/DB-GPT/main/scripts/install/install.sh | bash
Or install via PyPI:
uv pip install dbgpt-app
### or
pip install dbgpt-app
Then start the server:
dbgpt start
Open http://localhost:5670 in your browser.
License and pricing
License: MIT. Pricing: open source (free).
Based on the project's public README and repository metadata.