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.

6Projects
143.6KStars in total
+445Stars in a day

Hot right now

Most stars gained in a day · Dec 1

The all-time top

6 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.7K
  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.4K
  3. #3 · eosphoros-ai/DB-GPT

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

    20.3K
  1. 4

    auto-ontology

    18.7KNVIDIA/auto-ontology · Python

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

  2. 5

    WrenAI

    18.4KCanner/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.

  3. 6

    apowerb

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