DB-GPT
AGENTS.md20k starsChanged 3 years agoMITView on GitHub
This file guides agentic coding assistants working in this repository. Keep changes scoped, follow repo conventions, and prefer existing patterns. Sync packages and extras: Run commands without activating venv: Activate the venv if needed: Single test file: Build and publish: Config files live in configs/ (e.g. dbgpt-proxy-openai.toml).
- 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
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,196 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.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
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
20 rules. About 0 are common, 15 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 4
Keep changes scoped, follow repo conventions, and prefer existing patterns.
- Distinctive: line 28
Run commands without activating venv:
- Distinctive: line 92
Use double quotes for strings.
- Distinctive: line 98
Keep imports sorted by Ruff/isort.
- Distinctive: line 99
Prefer explicit imports over wildcard.
- Distinctive: line 103
Use type hints for public APIs and non-trivial functions.
- Very specific: line 104
Prefer Optional[T] or T | None consistently with existing file style.
- Very specific: line 108
Follow existing module structure under packages/.
- Distinctive: line 109
Keep public APIs stable unless change is required.
- Distinctive: line 110
Use descriptive names; avoid abbreviations without context.
- Distinctive: line 115
Avoid swallowing exceptions unless there is a fallback path.
- Distinctive: line 120
Prefer pytest fixtures and parametrize for coverage.
- Very specific: line 123
Use existing components in web/components and web/new-components.
- Distinctive: line 124
Keep UI styles consistent with current design tokens.
- Distinctive: line 125
Prefer inline Tailwind utility classes used in this repo.
- Very specific: line 134
No Cursor rules found in .cursor/rules/ or .cursorrules.
- Very specific: line 135
No Copilot rules found in .github/copilot-instructions.md.
- Distinctive: line 138
Keep changes minimal and scoped.
- Distinctive: line 140
Update docs or tests when behavior changes.
- Distinctive: line 141
Avoid reformatting unrelated code.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.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
AGENTS.md
This file guides agentic coding assistants working in this repository. Keep changes scoped, follow repo conventions, and prefer existing patterns.
Repository Overview
- DB-GPT is a Python monorepo with multiple packages under
packages/. - Core modules live in
packages/dbgpt-core/src/dbgpt/. - Web UI is a Next.js app under
web/.
Setup
Install uv:
pipx install uv
# or: curl -LsSf https://astral.sh/uv/install.sh | shSync packages and extras:
uv sync --all-packages \
--extra "base" \
--extra "proxy_openai" \
--extra "rag" \
--extra "storage_chromadb" \
--extra "dbgpts"Run commands without activating venv:
uv run <command>Activate the venv if needed:
source .venv/bin/activate # macOS/Linux
# or: .venv\Scripts\activate # WindowsBuild / Lint / Test
Format and lint:
make fmt # ruff + import fixes
make fmt-check # formatting check only
make mypy # type checking (dbgpt-core)Tests:
make test # pytest --pyargs dbgpt
make test-doc # doctests
make coverage # tests + coverageSingle test file:
pytest packages/dbgpt-core/src/dbgpt/util/tests/test_json_utils.pyPre-commit:
make pre-commit # fmt-check + test + test-doc + mypy
uv run pre-commit installBuild and publish:
make build
make publish
make cleanRunning the Server
python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py -c configs/dbgpt-proxy-siliconflow.tomlConfig files live in configs/ (e.g. dbgpt-proxy-openai.toml).
Frontend (web/)
cd web
npm install
npm run dev
npm run build
npm run lint
npm run formatCode Style (Python)
- Target: Python 3.10+.
- Line length: 88.
- Use double quotes for strings.
- Ruff enforces formatting and import order (isort rules).
- First-party modules:
dbgpt,dbgpt_client,dbgpt_ext,dbgpt_serve,dbgpt_app,dbgpt_sandbox.
Imports
- Keep imports sorted by Ruff/isort.
- Prefer explicit imports over wildcard.
- Group stdlib, third-party, first-party.
Types and Interfaces
- Use type hints for public APIs and non-trivial functions.
- Prefer
Optional[T]orT | Noneconsistently with existing file style. - Reuse existing dataclasses and pydantic models where available.
Naming and Structure
- Follow existing module structure under
packages/. - Keep public APIs stable unless change is required.
- Use descriptive names; avoid abbreviations without context.
Error Handling
- Raise meaningful exceptions with context.
- Log errors at the appropriate level (error/warn/info).
- Avoid swallowing exceptions unless there is a fallback path.
Tests
- Tests live next to modules or in
tests/subdirectories. - Naming:
test_*.pyor*_test.py. - Prefer pytest fixtures and parametrize for coverage.
Web UI Conventions
- Use existing components in
web/componentsandweb/new-components. - Keep UI styles consistent with current design tokens.
- Prefer inline Tailwind utility classes used in this repo.
Architecture Notes
- Component system uses
SystemApplifecycle hooks. - AWEL orchestrates workflows as DAGs.
- Agent framework uses
ConversableAgent, actions, and memory. - Model management via SMMF supports multiple providers.
Repository Rules
- No Cursor rules found in
.cursor/rules/or.cursorrules. - No Copilot rules found in
.github/copilot-instructions.md.
Practical Guidance for Agents
- Keep changes minimal and scoped.
- Align with existing patterns and utilities.
- Update docs or tests when behavior changes.
- Avoid reformatting unrelated code.
Quick Reference
- Core agent code:
packages/dbgpt-core/src/dbgpt/agent/. - Server entry:
packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py. - Frontend:
web/.
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.

