Categories
Self-Hosted AI Agents LLM RAG Business Intelligence Data Analysis Text-to-SQL AI Data AssistantStars
Forks
Watchers
Developer links
DB-GPT
DB-GPT lets a team talk to its data: ask a business question in plain English, and an AI agent plans the work, writes the SQL, runs it, and hands back charts and a written report. Connect MySQL, PostgreSQL, SQL Server, ClickHouse, DuckDB, Doris, StarRocks, or MaxCompute, or drop in CSV and Excel files, including several at once. Every step appears in a live task view with its query, result table, code, and console output, and the agent pauses to ask clarifying questions, with answer options, when the data cannot settle the matter. Reusable skills package proven procedures, including CSV analysis, SQL analysis, and financial report analysis, and a skill creator helps write new ones. Code executes in a sandbox, parallel sub-agents split larger jobs, and an agentic knowledge-base search answers questions over uploaded documents. Scheduled tasks run saved conversations on a cron timetable with on/off switches and execution history, while MCP connectors link tools like Notion, Linear, Tavily, and GitHub. Pick OpenAI, DeepSeek, Qwen, SiliconFlow, Ollama, or vLLM for the model, then use the application and AWEL workflow tools to build data apps of your own. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- Ask Questions Without Writing SQL
- Business users type a question in plain language and the agent writes, runs, and corrects its own SQL against the connected database, then returns a result table, chart, and written summary.
- Private Analysis With Local Models
- Run DB-GPT on your own VPS with local models through Ollama or vLLM, so questions and table contents never have to reach a third-party model provider.
- Repeatable Work Through Skills and Schedules
- Official skills encode proven CSV, SQL, and financial analysis procedures, and cron-based scheduled tasks rerun saved conversations automatically, so recurring reports need no one to ask again.
- Transparent and Controllable Agent Runs
- A step-by-step execution view shows each query, script, and output, sandboxed execution isolates generated code, and confirmation prompts let people steer the agent before it proceeds.
Features
- Natural Language to SQL
- Questions become SQL for MySQL, PostgreSQL, SQL Server, ClickHouse, DuckDB, SQLite, Apache Doris, StarRocks, Spark, and MaxCompute, with results rendered as tables and charts.
- Agentic Task Workspace
- A planning agent loads skills, runs SQL and Python in a sandbox, shows each step and task file in a Computer panel, and delegates work to parallel sub-agents.
- Skills and Connectors
- Toggleable official skills cover CSV, SQL, and financial analysis, while MCP connectors integrate Notion, Linear, Tavily, GitHub, and custom MCP servers over SSE.
- Scheduled Tasks
- Cron-based scheduling reruns saved conversations on a timetable, with enable and pause toggles, a next-run column, and an execution history for each task.
- Knowledge Base and RAG
- Documents are parsed and indexed into a vector store such as ChromaDB, Qdrant, or Valkey, and agentic knowledge-base search retrieves answers across them.
- Flexible Model Providers
- Configure OpenAI, DeepSeek, Qwen, SiliconFlow, Ollama, or vLLM through TOML files, and run local models such as GLM-4 through Hugging Face.