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.

7Projects
171.8KStars in total
+25Stars in a day

Hot right now

Most stars gained in a day · Oct 17

The all-time top

7 projects · by stars

  1. #1 · zylon-ai/private-gpt

    private-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.

    57.6K
  2. #2 · OtterMind/Chat2DB

    Chat2DB

    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.

    28.3K
  3. #3 · sinaptik-ai/pandas-ai

    pandas-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.

    23.9K
  1. 4

    vanna

    23.8Kvanna-ai/vanna · Python

    Vanna 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.

  2. 5

    DB-GPT

    20.2Keosphoros-ai/DB-GPT · Python

    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.

  3. 6

    WrenAI

    17.9KCanner/WrenAI · Python

    Wren 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.

  4. 7

    apowerb

    121apowerb/apowerb · Python

    apowerb 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.

Often tagged together