DB-GPT
CLAUDE.md20k starsChanged 3 years agoMITView on GitHub
DB-GPT is an AI-native data app development framework with AWEL (Agentic Workflow Expression Language) and agents. It is organized as a Python monorepo using uv as the package manager. The monorepo is organized under packages/: Install uv (package manager): Sync all packages and install dependencies: Activate the virtual environment: Use uv run <command> to execute commands in the virtual environment without activating it. Code formatting and linting: To run a single test file: Pre-commit (runs all checks): Building and publishing:
- Pipes a download into a shell
- Installs packages
Trending
Less talk lately.about the whole repository
Who's talking about eosphoros-ai/DB-GPT
- WorldofAI“DB-GPT: Multi-Agent Framework - All-In-One Opensource Model!”YouTube · Jun 6, 2024 · 15k views
- AIGCLINK“DB-GPT:基于大模型实现用自然语言与各种数据库db交互,提供了agent管理、知识库管理、提示词管理、数据库对话管理、多模型管理等,解决各种BI数据分析场景、公司业绩分析、知识库管理等”YouTube · Oct 25, 2023 · 2.6k views
- Fahd Mirza“Install DB-GPT Locally on Linux and Windows”YouTube · Sep 3, 2023 · 2.6k views
- Fahd Mirza“DB-GPT Local Installation on Windows”YouTube · Dec 10, 2023 · 1.4k views
- Jonathan Coates“How to Get Started with DB GPT: A Beginner's Guide”YouTube · Sep 15, 2024 · 1.3k views
The biggest 5 of 63 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 63
Talked about on GitHub, YouTube, Bluesky and the web (63 times).
On GitHub · 35
- Dec 1, 2023💡 [Qwen+DB-GPT] - DB-GPT已经支持了千问72B,赶紧用起来吧 — QwenLM/Qwen2 reactions
- Sep 11, 2025GPU/System Memory, Context, KVCache, DB — pacoxu/AI-Infra1 reaction
- Jan 8, 2024【Question】Why not implement DAG in LCEL? — langchain-ai/langgraph1 reaction · 5 comments
- Sep 7, 2023Add DB-GPT: The All-In-One Model, Chat Privately With Files Locally, Plugins, Auto Ai Agents, & More! — e2b-dev/awesome-ai-agents1 reaction · 1 comment
- Aug 31, 2023【开源自荐】ChatExcel-通过自然语言对话实现数据分析 — ruanyf/weekly1 reaction
30 more on GitHub
- Nov 17, 2026agent-skills.github.eosphoros-ai.db-gpt: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 28, 2026[GHSA-7gj6-22m4-qfhx] DB-GPT Arbitrary File Write vulnerability — github/advisory-database0 reactions
- Oct 15, 2026Add DB-GPT HTTP fingerprint rule — hexbay/finger-rules0 reactions
- Sep 27, 2026agent-skills.github.eosphoros-ai.db-gpt: init at 0.8.2 — sudosubin/agents.nix0 reactions
- Sep 13, 2026GEN-01 (EPIC-GEN-01 #178): ontology-grounded generative ask + execute-validate (abstain if unsure) — Netie-AI/dms0 reactions · 6 comments
- Aug 25, 2026[Argus] CVE-2026-80104: DB-GPT 0.8.0 스킬 업로드 파일명을 통한 Path Traversal 및 임의 파일 쓰기 — LEEKIYOON-SEC/Argus-DEV0 reactions
- Aug 18, 2026Add CVE-2026-73034 - DB-GPT Path Traversal Arbitrary File Write — projectdiscovery/nuclei-templates0 reactions · 1 comment
- Aug 14, 2026feat: add CVE-2026-73034 DB-GPT <= 0.8.1 path traversal arbitrary file write — projectdiscovery/nuclei-templates0 reactions
- Aug 11, 2026[Argus] CVE-2026-73034: DB-GPT v0.8.1 user_id 헤더를 통한 경로 탐색 및 임의 파일 쓰기 취약점 — LEEKIYOON-SEC/Argus-DEV0 reactions
- Jul 17, 2026Update PURL mappings for conda-forge packages related to `dbgpt` — prefix-dev/purl-associator0 reactions · 1 comment
- Jun 28, 2026DB-GPT: 차세대 AI + 데이터 제품을 위한 오픈소스 에이전트형 데이터 어시스턴트 — roomedia/ax-trend0 reactions
- Jun 5, 2026[Add] DB-GPT (eosphoros-ai/DB-GPT) — PyTorchKR/landscape0 reactions · 3 comments
- May 28, 2026Add DeerFlow 2.0 `data-analysis-agent-skill` package with read-only ChatBI, file analytics, and packaging workflow — yssAI/agent-skills0 reactions
- Mar 26, 2026Update repo table — arran4/arran40 reactions
- Feb 27, 2026优化「提效技巧」卡片:增加真实教程链接与推荐教程列表 — jinjin-cxy/jinjin-cxy.github.io0 reactions
- Oct 29, 2025Add agent memory and context management documentation — pacoxu/AI-Infra0 reactions · 1 comment
- May 30, 2025Updated single-repositories/github/eosphoros-ai/DB-GPT.yml — oss-compass/compass-projects-information0 reactions · 2 comments
- Apr 4, 2025chore(deps): bump the pip group across 2 directories with 1 update — ai-in-pm/dbgpts0 reactions
- Mar 3, 2025Add DB-GPT — deepseek-ai/awesome-deepseek-integration0 reactions
- Oct 15, 2024docker.io/eosphorosai/dbgpt:latest — DaoCloud/public-image-mirror0 reactions · 1 comment
- May 16, 2024feat: Upgrade search workflow — eosphoros-ai/dbgpts0 reactions
- May 6, 2024chore: Update with latest agent — eosphoros-ai/dbgpts0 reactions
- Apr 25, 2024[Feature request] make cubejs as datasouce of DB-GPT — cube-js/cube0 reactions · 2 comments
- Apr 18, 2024【CS-part4】New submissions for Wed, 17 Apr 24 — Yukeaaa/arxiv-daily0 reactions
- Apr 17, 2024New submissions for Wed, 17 Apr 24 — qiaoyuet/arxiv_daily0 reactions
- Mar 27, 2024feat: Add rag url knowledge examples — eosphoros-ai/dbgpts0 reactions · 1 comment
- Nov 16, 2023Add typos for knownledge->knowledge, analyzis->analysis and compialtion->compilation — codespell-project/codespell0 reactions · 1 comment
- Sep 27, 2023【开源自荐】DB-GPT用私有化大模型定义数据库下一代交互方式 — Wechat-ggGitHub/Awesome-GitHub-Repo0 reactions
- Sep 18, 2023【开源自荐】DB-GPT用私有化大模型定义数据库下一代交互方式 — GitHubDaily/GitHubDaily0 reactions
- Sep 3, 2023【开源自荐】DB-GPT用私有化大模型定义数据库下一代交互方式 — 521xueweihan/HelloGitHub0 reactions
On YouTube · 25
- Jun 6, 2024DB-GPT: Multi-Agent Framework - All-In-One Opensource Model! — WorldofAI15k views · 14 comments
- Oct 25, 2023DB-GPT:基于大模型实现用自然语言与各种数据库db交互,提供了agent管理、知识库管理、提示词管理、数据库对话管理、多模型管理等,解决各种BI数据分析场景、公司业绩分析、知识库管理等 — AIGCLINK2.6k views · 4 comments
- Sep 3, 2023Install DB-GPT Locally on Linux and Windows — Fahd Mirza2.6k views · 11 comments
- Dec 10, 2023DB-GPT Local Installation on Windows — Fahd Mirza1.4k views · 5 comments
- Sep 15, 2024How to Get Started with DB GPT: A Beginner's Guide — Jonathan Coates1.3k views · 1 comment
20 more on YouTube
- Apr 30, 2025How to use DB-GPT‘s Chat Data — DB-GPT607 views
- May 29, 2025How to use DB-GPT's Chat Dashboard — DB-GPT541 views
- Aug 28, 2026DB-GPT: Ask Your Database Questions Instead of Writing SQL — GithubTrends530 views
- Apr 29, 2025How to use DB-GPT's App Chat — DB-GPT363 views
- Sep 5, 2023eosphoros-ai/DB-GPT - Gource visualisation — Gourcer348 views · 1 comment
- Apr 17, 2025How to deploy DB-GPT with Docker | DB-GPT Tutorial 1 — DB-GPT336 views · 1 comment
- Apr 9, 2025DB-GPT Introduction: Build Your Own AI Data Copilot — DB-GPT324 views
- May 9, 2025How to use DB-GPT’s Chat DB — DB-GPT285 views · 1 comment
- Dec 10, 2023Install DB GPT on AWS — Fahd Mirza267 views
- Jan 30, 2026How to Use DBGPT’s Text2SQL Benchmarking Tool — DB-GPTsays it tested it252 views · 1 comment
- Jun 10, 2025How to use DB-GPT's Chat With Financial Report — DB-GPT249 views
- May 11, 2026DB-GPT V0.8.0 — Paradigm Shift: AI + Data Driven Analytics Experience — DB-GPT230 views
- May 15, 2025How to use DB-GPT's Chat Knowledge Base — DB-GPT223 views
- Apr 19, 2025Docker+GPU deployment of local big models | DB-GPT Tutorial 2 — DB-GPT183 views
- Mar 14, 2025GitHub - eosphoros-ai/DB-GPT: AI Native Data App Development framework with AWEL(Agentic Workflow... — GitHub Daily Trend AI Podcast141 views
- May 7, 2025How to use DB-GPT's Chat Excel — DB-GPT130 views · 1 comment
- Nov 12, 2026Repo AI #70 · DB-GPT hỏi dữ liệu bằng câu thường — CPPAI41 views
- Sep 5, 2023What's Happening in the AI World Today (Sept. 4th)? - Database LocalGPT, AIGC Tutorials, FL — AI 1Minute12 views
- May 11, 2026⭐ DB-GPT — 18,709 GitHub Stars — Observe AI9 views
- Aug 11, 2026DB-GPT e PapersGPT: falhas críticas expõem ferramentas de IA — Daily tech hack5 views
On Bluesky · 2
- Sep 20, 2026🚀 GitHub Intelligence Drop DB-GPT (Python • 🟢) ⭐ 20K → https://github.com/eosphoros-ai/DB-GPT gun (JavaScript • 🟢) ⭐ 19.1K →… — @githubfeed.bsky.social1 likes and repost
- Dec 22, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 eosphoros-ai / DB-GPT ⭐ 8,798 (+102) 🗒 Python Revolutionizing Database Interactions with Private LLM… — @github-trending.bsky.social1 likes and repost · 1 reply
On the web · 1
- Nov 22, 2026eosphoros-ai/DB-GPT · Repo Library - Anh Kỹ Sư AI — anhkysuai.com
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-browserSkill
- business-reportSkill
- csv-data-analysisSkill
- csv-data-analyzerSkill
- dashboard-builderSkill
- excel-analyzerSkill
- excel-data-analyzerSkill
- financial-report-analyzerSkill
- skill-creatorSkill
- sql-data-analysisSkill
- walmart-sales-analyzerSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 45
Use uv run <command> to execute commands in the virtual environment without activating it.
- Distinctive: line 107
Import order enforced via ruff (isort rules)
- Very specific: line 112
Test files: test_*.py or *_test.py
- Very specific: line 115
Run tests with pytest --pyargs dbgpt from repo root
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
DB-GPT is an AI-native data app development framework with AWEL (Agentic Workflow Expression Language) and agents. It is organized as a Python monorepo using uv as the package manager.
Package Structure
The monorepo is organized under packages/:
- dbgpt-core: Core framework (agent system, RAG, storage, models, datasource). Most agent-related code lives here under
src/dbgpt/agent/. - dbgpt-app: Web server entry point (
dbgpt_server.py) and HTTP API routes. Use-c <config_file>to specify configuration. - dbgpt-serve: Service layer implementations (agents, conversations, datasources, prompts).
- dbgpt-client: Client SDK for interacting with the API.
- dbgpt-ext: Extensions including additional data source connectors and RAG knowledge parsers.
- dbgpt-sandbox: Sandbox execution environment.
- dbgpt-accelerator: Optional accelerator packages (flash-attention).
Development Environment Setup
Install uv (package manager):
pipx install uv
# or: curl -LsSf https://astral.sh/uv/install.sh | shSync all packages and install dependencies:
uv sync --all-packages \
--extra "base" \
--extra "proxy_openai" \
--extra "rag" \
--extra "storage_chromadb" \
--extra "dbgpts"Activate the virtual environment:
source .venv/bin/activate # macOS/Linux
# or: .venv\Scripts\activate # WindowsUse uv run <command> to execute commands in the virtual environment without activating it.
Build and Development Commands
Code formatting and linting:
make fmt # Format code with ruff and fix imports
make fmt-check # Check formatting without making changes
make mypy # Run type checking on dbgpt-coreTesting:
make test # Run unit tests (pytest --pyargs dbgpt)
make test-doc # Run doctests
make coverage # Run tests with coverage reportTo run a single test file:
pytest packages/dbgpt-core/src/dbgpt/util/tests/test_json_utils.pyPre-commit (runs all checks):
make pre-commit # Runs fmt-check, test, test-doc, mypy
uv run pre-commit install # Install git hooksBuilding and publishing:
make build # Build all packages for distribution
make publish # Publish to PyPI
make clean # Clean build artifactsRunning the Server
python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py -c configs/dbgpt-proxy-siliconflow.tomlConfiguration files are in configs/. Common options include dbgpt-proxy-openai.toml, dbgpt-proxy-siliconflow.toml.
Frontend (Web UI)
The frontend is a Next.js application in the web/ directory:
cd web
npm install
npm run dev # Development server
npm run build # Production build
npm run lint # ESLint check
npm run format # Prettier formatCode Style
- Python 3.10+ target version
- Line length: 88 characters
- Use double quotes
- Import order enforced via ruff (isort rules)
- First-party modules:
dbgpt,dbgpt_client,dbgpt_ext,dbgpt_serve,dbgpt_app,dbgpt_sandbox
Testing Conventions
- Test files:
test_*.pyor*_test.py - Located in
tests/subdirectories or inline next to source files - Uses pytest with asyncio support
- Run tests with
pytest --pyargs dbgptfrom repo root - Python path includes
packages/directory
Architecture Notes
- Component System: Uses a
SystemAppwith lifecycle hooks (on_init,after_init,before_start). - AWEL: Agentic Workflow Expression Language for orchestrating workflows as DAGs.
- Agent Framework: Multi-agent system with
ConversableAgent,UserProxyAgent, action-based execution, and memory management. - Model Management: SMMF (Service-oriented Multi-model Management Framework) supports multiple LLM providers via proxy or local deployment.
- RAG: Built-in RAG framework with vector stores, embedding models, and knowledge assemblers.
- Storage: Unified storage abstraction with support for ChromaDB, and various databases.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

