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.6K stars), Chat2DB (28.3K stars) and pandas-ai (23.9K stars). GitHub.Locker tracks 7 Text to SQL repositories with 171.8K stars combined. The fastest-growing on October 17 was WrenAI, with +7 stars in a day.
Hot right now
Most stars gained in a day · Oct 17
+7WrenAI
Canner/WrenAI · ★ 17.9KWren 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.
+6private-gpt
zylon-ai/private-gpt · ★ 57.6KPrivateGPT 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.
+5pandas-ai
sinaptik-ai/pandas-ai · ★ 23.9KPandasAI is a Python library that lets you ask questions about your data (SQL, CSV, parquet, dataframes) in plain natural language, powered by LLMs.
Chat2DB
OtterMind/Chat2DB · ★ 28.3KChat2DB 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.
The all-time top
7 projects · by stars
- 57.6K
#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.3K
#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.
- 23.9K
#3 · sinaptik-ai/pandas-aipandas-ai
PandasAI is a Python library that lets you ask questions about your data (SQL, CSV, parquet, dataframes) in plain natural language, powered by LLMs.
- 4

vanna
23.8Kvanna-ai/vanna · PythonVanna is an open-source Python framework for chatting with your SQL database: users type a question in plain English and get SQL, tables, charts, and a natural-language summary back, with per-user security built in.
- 5

DB-GPT
20.2Keosphoros-ai/DB-GPT · PythonAn 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.
- 6

WrenAI
17.9KCanner/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.
- 7

apowerb
121apowerb/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