Topics / #text-to-sql
Text to SQL projects on GitHub
Tools that turn natural language questions into SQL queries over databases.
As of , the most-starred Text to SQL projects on GitHub are private-gpt (57.7K stars), Chat2DB (28.4K stars) and DB-GPT (20.3K stars). GitHub.Locker tracks 6 Text to SQL repositories with 143.6K stars combined. The fastest-growing on December 1 was auto-ontology, with +425 stars in a day.
Hot right now
Most stars gained in a day · Dec 1
+425auto-ontology
NVIDIA/auto-ontology · ★ 18.7KAuto Ontology is an open-source Python framework from NVIDIA that builds a semantic, graph-based ontology layer over enterprise data (metadata, definitions, lineage) and exposes it to LLM agents via MCP, CLI, and API so natural-language questions turn into verified, provenance-backed SQL answers.
+12WrenAI
Canner/WrenAI · ★ 18.4KWren AI is an open-source generative BI (GenBI) engine: AI agents turn natural-language questions into governed SQL, charts, and deployable dashboards across 22+ data sources, grounded in a semantic layer they can trust.
Chat2DB
OtterMind/Chat2DB · ★ 28.4KChat2DB is a free, cross-platform, local-first database client and SQL workspace for developers, DBAs, analysts, and data teams. It combines a full SQL client with an AI assistant that you plug your own model into.
+2private-gpt
zylon-ai/private-gpt · ★ 57.7KPrivateGPT is an open-source API layer that turns any local, OpenAI-compatible model into a full production-ready AI application backend, covering RAG, tools, MCP, text-to-sql and more.
The all-time top
6 projects · by stars
- 57.7K
#1 · zylon-ai/private-gptprivate-gpt
PrivateGPT is an open-source API layer that turns any local, OpenAI-compatible model into a full production-ready AI application backend, covering RAG, tools, MCP, text-to-sql and more.
- 28.4K
#2 · OtterMind/Chat2DBChat2DB
Chat2DB is a free, cross-platform, local-first database client and SQL workspace for developers, DBAs, analysts, and data teams. It combines a full SQL client with an AI assistant that you plug your own model into.
- 20.3K
#3 · eosphoros-ai/DB-GPTDB-GPT
An open-source agentic AI data assistant: connect databases, files or knowledge bases, ask questions in plain language, and the AI writes SQL and code, runs the analysis, and produces charts, dashboards and reports.
- 4

auto-ontology
18.7KNVIDIA/auto-ontology · PythonAuto Ontology is an open-source Python framework from NVIDIA that builds a semantic, graph-based ontology layer over enterprise data (metadata, definitions, lineage) and exposes it to LLM agents via MCP, CLI, and API so natural-language questions turn into verified, provenance-backed SQL answers.
- 5

WrenAI
18.4KCanner/WrenAI · PythonWren AI is an open-source generative BI (GenBI) engine: AI agents turn natural-language questions into governed SQL, charts, and deployable dashboards across 22+ data sources, grounded in a semantic layer they can trust.
- 6

apowerb
150apowerb/apowerb · Pythonapowerb is an open-source platform for building, running and governing AI agents in production, covering multi-agent orchestration, RAG, Text-to-SQL, MCP servers and built-in business tools.
Related topics
Often tagged together