#1010th of 15 in RAG and knowledge
DB-GPT
Agentic data assistant that writes SQL and code over your databases
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 20.1k
- License
- MIT
- Last commit
- Oct 2026
- Last release
- Aug 2026
Overview
DB-GPT connects to databases, CSV and Excel files, warehouses and knowledge bases, then plans tasks, writes SQL and Python, runs them in sandboxes and produces charts, dashboards and HTML reports. It installs with pip install dbgpt-app (Python 3.10+) plus a setup wizard and serves a web UI on port 5670, with OpenAI-compatible, DashScope, Moonshot and MiniMax profiles and local models via vLLM or llama.cpp.
Who it is for: data teams wanting NL-to-SQL analysis with local models
Strengths
- NL-to-SQL plus Python analysis with sandboxed execution
- Outputs charts, dashboards and HTML reports, not only answers
- Skills importable from GitHub for repeatable analysis workflows
- Local serving via vLLM or llama.cpp and a Text2SQL fine-tuning hub
Weaknesses
- Recommended install pipes a remote script into bash
- Docs and community largely on dbgpt.cn; Docker and GPU setup only there
- Text2SQL fine-tune list stops at older models such as LLaMA-2 and ChatGLM2
- Default pip install bundles ChromaDB only; other vector stores need extras
What it needs
- GPU optional
- Docker + Compose
- Compose runs MySQL
- Models: OpenAI-compatible APIs, DashScope/Tongyi, Moonshot (Kimi), MiniMax, local models via vLLM or llama.cpp: DeepSeek, Qwen, GLM, Llama, Gemma, Yi
- port 5670
Also in RAG and knowledge
See all 15| Rank | Project | Score |
|---|---|---|
| 1 | LightRAGGraph-plus-vector RAG server with web UI and Ollama-compatible API | 76 out of 100 |
| 2 | Open NotebookSelf-hosted NotebookLM alternative with podcasts and 20+ model providers | 75 out of 100 |
| 3 | RAGFlowRAG engine with document parsing, agentic retrieval and citations | 72 out of 100 |
| #4 | WeKnoraEnterprise knowledge base combining RAG Q&A, agents and generated wikis | 68 out of 100 |
| #5 | SurfSenseOffline NotebookLM alternative that turns documents into decks, reports and podcasts | 68 out of 100 |