Skip to main content
Version: dev

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.

GitHub ยท Releases ยท Community

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 | bash
2
Start the server
cd ~/.dbgpt/DB-GPT && uv run dbgpt start webserver --profile <profile>

What 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.

Product workflowโ€‹

๐Ÿ”

Explore data

Connect files, databases, and knowledge bases in one workspace.

๐Ÿช„

Plan and execute

Let AI reason through the task, write SQL and code, and execute step by step.

๐Ÿงฐ

Use skills

Load reusable skills for repeatable business analysis workflows.

๐Ÿ“„

Generate reports

Produce charts, dashboards, HTML reports, and decision-ready outputs.

Core capabilitiesโ€‹

๐Ÿค–

Agentic Analysis

Task planning, step-by-step execution, tool use, and iterative reasoning.

๐Ÿงฎ

SQL + Code Execution

Natural language to SQL, Python-based analysis, metric calculation, and chart generation.

๐Ÿ—ƒ๏ธ

Multi-Source Data Access

Relational databases, CSV / Excel, documents, knowledge bases, and mixed-source workflows.

๐Ÿง 

Skills and Agents

Reusable skills, domain workflows, agent orchestration, and customizable execution flows.

๐Ÿ“Š

Reporting

Database profiling reports, financial analysis reports, dashboards, summaries, and insights.

๐Ÿ”

Safe Execution

Sandboxed code execution, controlled tool use, and reproducible outputs and artifacts.

Platform & ecosystemโ€‹

Terminologyโ€‹

TermDescription
DB-GPTDataBase Generative Pre-trained Transformer โ€” open-source framework around databases and LLMs
Data AppAn intelligent data application built on DB-GPT
Text2SQLGenerate SQL from natural language using LLM capabilities
KBQAKnowledge-Based Q&A system
GBIGenerative Business Intelligence โ€” analysis and decisions through dialogue
LLMOpsEnd-to-end workflow for training, tuning, deploying, and monitoring LLMs
EmbeddingMethods to convert text, audio, video into vectors
RAGRetrieval Augmented Generation
AWELAgentic Workflow Expression Language
AWEL FlowWorkflow orchestration using AWEL
SMMFService-oriented Multi-model Management Framework

Communityโ€‹

If you encounter problems, submit an issue, join discussions, or check the releases.