Git Stars Git Stars

#text-to-sql Repositories

Discover 34 active open source GitHub repositories tagged with #text-to-sql, accumulating 154,693 total stars (averaging 4,549 stars per project). Leading this topic is OtterMind/Chat2DB with 28,368 stars.

34
Total Repositories
154,693
Total Stars
4,549
Avg Stars/Repo
1
OtterMind/Chat2DB

Chat2DB is a free, cross-platform, local-first database client and SQL workspace for developers, DBAs, analysts, and data teams. Connect to 40+ databases, manage data, edit and run SQL, and use your own AI model to generate, explain, and optimize queries. Available on desktop, web, Docker, and CLI, with MCP support.

OtterMind
โญ 28,368 Java ๐Ÿ‘ค OtterMind Organization ๐Ÿ• Updated 2026-11-11 ๐Ÿ“… Created 2023-06-20
2
sinaptik-ai/pandas-ai

Chat with your database or your datalake (SQL, CSV, parquet). PandasAI makes data analysis conversational using LLMs and RAG.

sinaptik-ai
โญ 23,905 Python ๐Ÿ‘ค sinaptik-ai Organization ๐Ÿ• Updated 2025-10-28 ๐Ÿ“… Created 2023-04-22
3
vanna-ai/vanna

๐Ÿค– Chat with your SQL database ๐Ÿ“Š. Accurate Text-to-SQL Generation via LLMs using Agentic Retrieval ๐Ÿ”„.

vanna-ai
โญ 23,135 Python ๐Ÿ‘ค vanna-ai Organization ๐Ÿ• Updated 2026-02-02 ๐Ÿ“… Created 2023-05-13
4
Canner/WrenAI

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more.

Canner
โญ 18,355 Python ๐Ÿ‘ค Canner Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2024-03-13
5
dataease/SQLBot

๐Ÿ”ฅ Intelligent data querying system based on large models and RAG, a conversational data analysis artifact. Text-to-SQL Generation via LLMs using RAG.

dataease
โญ 7,187 JavaScript ๐Ÿ‘ค dataease Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2025-04-21
6
lightdash/lightdash

Agentic BI. Analytics at the speed of code โšก๏ธ

lightdash
โญ 6,242 TypeScript ๐Ÿ‘ค lightdash Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2021-03-19
7
sqlchat/sqlchat

Chat-based SQL Client and Editor for the next decade

sqlchat
โญ 5,855 TypeScript ๐Ÿ‘ค sqlchat Organization ๐Ÿ• Updated 2026-10-21 ๐Ÿ“… Created 2023-03-16
8
clidey/whodb

Where data access meets operational intelligence

clidey
โญ 5,065 Go ๐Ÿ‘ค clidey Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2024-06-11
9
eosphoros-ai/Awesome-Text2SQL

Curated tutorials and resources for Large Language Models, Text2SQL, Text2DSLใ€Text2APIใ€Text2Vis and more.

eosphoros-ai
โญ 3,784 ๐Ÿ‘ค eosphoros-ai Organization ๐Ÿ• Updated 2026-01-26 ๐Ÿ“… Created 2023-09-04
10
Dataherald/dataherald

Interact with your SQL database, Natural Language to SQL using LLMs

Dataherald
โญ 3,597 Python ๐Ÿ‘ค Dataherald Organization ๐Ÿ• Updated 2024-07-24 ๐Ÿ“… Created 2023-06-20
11
spring-ai-alibaba/DataAgent

Spring AI Alibaba DataAgent

spring-ai-alibaba
โญ 2,859 Java ๐Ÿ‘ค spring-ai-alibaba Organization ๐Ÿ• Updated 2026-09-20 ๐Ÿ“… Created 2025-09-12
12
skyrl-project/SkyRL

SkyRL: A Modular Full-stack RL Library for LLMs

skyrl-project
โญ 2,546 Python ๐Ÿ‘ค skyrl-project Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2025-04-22
13
agno-agi/dash

A self-learning data agent built with systems engineering principles. It grounds answers in 6 layers of context and improves with every query.

agno-agi
โญ 2,275 Python ๐Ÿ‘ค agno-agi Organization ๐Ÿ• Updated 2026-07-10 ๐Ÿ“… Created 2026-01-30
14
getnao/nao

๐Ÿ‘พ nao is the #1 open-source agentic BI. (1) Create context with the nao-core CLI, (2) deploy the nao chat interface for everyone.

getnao
โญ 2,034 TypeScript ๐Ÿ‘ค getnao Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2025-12-30
15
eosphoros-ai/DB-GPT-Hub

A repository that contains models, datasets, and fine-tuning techniques for DB-GPT, with the purpose of enhancing model performance in Text-to-SQL

eosphoros-ai
โญ 1,998 Python ๐Ÿ‘ค eosphoros-ai Organization ๐Ÿ• Updated 2025-07-02 ๐Ÿ“… Created 2023-06-02
16
antvis/AVA

๐Ÿ‘พ AI-native Visual Analytics framework built for agents.

antvis
โญ 1,669 TypeScript ๐Ÿ‘ค antvis Organization ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2020-01-02
17
HKUSTDial/NL2SQL_Handbook

This is a continuously updated handbook for readers to easily track the latest Text-to-SQL techniques in the literature and provide practical guidance for researchers and practitioners.

HKUSTDial
โญ 1,635 Python ๐Ÿ‘ค HKUSTDial Organization ๐Ÿ• Updated 2026-11-11 ๐Ÿ“… Created 2024-05-21
18
DEEP-PolyU/Awesome-LLM-based-Text2SQL

[TKDE2025] Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQL | A curated list of resources (surveys, papers, benchmarks, and opensource projects) on large language model-based text-to-SQL.

DEEP-PolyU
โญ 1,381 ๐Ÿ‘ค DEEP-PolyU Organization ๐Ÿ• Updated 2026-08-03 ๐Ÿ“… Created 2025-09-13
19
bird-bench/BIRD-CRITIC-1

[NeurIPS 2025 Main] SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications

bird-bench
โญ 1,106 Python ๐Ÿ‘ค bird-bench User ๐Ÿ• Updated 2026-03-23 ๐Ÿ“… Created 2025-01-28
20
bird-bench/BIRD-Interact

[ICLR 2026 Oral] BIRD-INTERACT: Re-imagines Text-to-SQL evaluation via lens of dynamic interactions.

bird-bench
โญ 1,023 Python ๐Ÿ‘ค bird-bench User ๐Ÿ• Updated 2026-03-29 ๐Ÿ“… Created 2025-05-21
21
XGenerationLab/XiYan-SQL

A MULTI-GENERATOR ENSEMBLE FRAMEWORK FOR NATURAL LANGUAGE TO SQL

XGenerationLab
โญ 1,018 ๐Ÿ‘ค XGenerationLab User ๐Ÿ• Updated 2026-05-18 ๐Ÿ“… Created 2024-11-12
22
taoyds/spider

scripts and baselines for Spider: Yale complex and cross-domain semantic parsing and text-to-SQL challenge

taoyds
โญ 1,015 Python ๐Ÿ‘ค taoyds User ๐Ÿ• Updated 2024-05-29 ๐Ÿ“… Created 2018-09-24
23
xlang-ai/Spider2

[ICLR 2025 Oral] Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflows

xlang-ai
โญ 890 HTML ๐Ÿ‘ค xlang-ai Organization ๐Ÿ• Updated 2026-08-12 ๐Ÿ“… Created 2024-08-22
24
cfahlgren1/natural-sql

A series of top performing Text to SQL LLMs

cfahlgren1
โญ 867 Jupyter Notebook ๐Ÿ‘ค cfahlgren1 User ๐Ÿ• Updated 2024-02-12 ๐Ÿ“… Created 2024-01-18
25
HKUSTDial/awesome-data-agents

Continuously updated paper list on advancements in Data Agents. Companion repo to our paper "A Survey of Data Agents: Emerging Paradigm or Overstated Hype?"

HKUSTDial
โญ 804 Python ๐Ÿ‘ค HKUSTDial Organization ๐Ÿ• Updated 2026-11-08 ๐Ÿ“… Created 2025-08-31
26
LumingSun/ML4DB-paper-list

Papers for database systems powered by artificial intelligence (machine learning for database)

LumingSun
โญ 793 Python ๐Ÿ‘ค LumingSun User ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2019-09-10
27
TAG-Research/TAG-Bench

TAG-Bench: A benchmark for table-augmented generation (TAG)

TAG-Research
โญ 766 Python ๐Ÿ‘ค TAG-Research Organization ๐Ÿ• Updated 2026-07-25 ๐Ÿ“… Created 2024-08-26
28
defog-ai/sql-eval

Evaluate the accuracy of LLM generated outputs

defog-ai
โญ 744 Jupyter Notebook ๐Ÿ‘ค defog-ai Organization ๐Ÿ• Updated 2025-08-14 ๐Ÿ“… Created 2023-08-10
29
vinay-gatech/stocks-insights-ai-agent

Full Stack application for retrieving Stock Data and News using LLM, LangChain and LangGraph

vinay-gatech
โญ 715 Python ๐Ÿ‘ค vinay-gatech User ๐Ÿ• Updated 2024-12-08 ๐Ÿ“… Created 2024-12-08
30
caioricciuti/duck-ui

The fully open-source DuckDB workbench that runs in your browser. SQL editor, notebooks, charts, AI assistant. No install, no signup, no backend โ€” your data never leaves the tab.

caioricciuti
โญ 660 TypeScript ๐Ÿ‘ค caioricciuti User ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2025-01-15
31
SpursGoZmy/Awesome-Tabular-LLMs

We collect papers about "large language models (LLM) for table-related tasks", e.g., using LLM for Table QA task. โ€œTable + LLMโ€ related papers compilation

SpursGoZmy
โญ 640 ๐Ÿ‘ค SpursGoZmy User ๐Ÿ• Updated 2026-04-09 ๐Ÿ“… Created 2023-06-28
32
BeachWang/DAIL-SQL

An efficient and effective few-shot NL2SQL method on GPT-4.

BeachWang
โญ 634 Python ๐Ÿ‘ค BeachWang User ๐Ÿ• Updated 2025-03-07 ๐Ÿ“… Created 2023-08-29
33
logan-markewich/llama_index_starter_pack

This repository provides very basic flask, streamlit, and docker examples for the llama_index (fka gpt_index) package

logan-markewich
โญ 633 Python ๐Ÿ‘ค logan-markewich User ๐Ÿ• Updated 2024-08-28 ๐Ÿ“… Created 2023-03-04
34
gogoymh/auto-ontology-mcp

NVIDIA Auto Ontologyโ€™s semantic layer and a personal knowledge base as an MCP server for Claude, ChatGPT, and other MCP clients. No LLM API key required.

gogoymh
โญ 518 Python ๐Ÿ‘ค gogoymh User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2026-11-06

Frequently Asked Questions

1

What is the most popular #text-to-sql repository on GitHub?

The top ranked open source #text-to-sql project on GitHub is OtterMind/Chat2DB with 28,368 stars. Chat2DB is a free, cross-platform, local-first database client and SQL workspace for developers, DBAs, analysts, and data teams. Connect to 40+ databases, manage data, edit and run SQL, and use your own AI model to generate, explain, and optimize queries. Available on desktop, web, Docker, and CLI, with MCP support.

2

Which programming languages are most used in #text-to-sql repositories?

Among the top ranked #text-to-sql projects on GitHub, the most common programming languages are Python, TypeScript, Java, Jupyter Notebook.

3

How is the #text-to-sql repository ranking calculated?

We track 34 active open source repositories tagged with #text-to-sql (500+ stars), totaling 154,693 stars with an average of 4,549 stars per repository. Rankings update daily from the GitHub API.