#1010th of 15 in RAG and knowledge

DB-GPT

Agentic data assistant that writes SQL and code over your databases

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
Also in RAG and knowledge
RankProjectScore
1LightRAGGraph-plus-vector RAG server with web UI and Ollama-compatible API40.1k stars, MIT76 out of 100
2Open NotebookSelf-hosted NotebookLM alternative with podcasts and 20+ model providers40k stars, MIT75 out of 100
3RAGFlowRAG engine with document parsing, agentic retrieval and citations Live demo ↗ (opens in a new tab)92k stars, Apache-2.072 out of 100
#4WeKnoraEnterprise knowledge base combining RAG Q&A, agents and generated wikis33k stars, custom license68 out of 100
#5SurfSenseOffline NotebookLM alternative that turns documents into decks, reports and podcasts16.3k stars, custom license68 out of 100