Text-to-SQL RAG RAG Tools

Tools for converting natural language queries into SQL statements using RAG and LLMs to interact with relational databases. Does NOT include general database tools, non-SQL query languages, or RAG systems for unstructured data.

There are 58 text-to-sql rag tools tracked. 1 score above 70 (verified tier). The highest-rated is mindsdb/mindsdb at 75/100 with 38,697 stars. 3 of the top 10 are actively maintained.

Get all 58 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=rag&subcategory=text-to-sql-rag&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Tool Score Tier
1 mindsdb/mindsdb

Query Engine for AI Analytics: Build self-reasoning agents across all your live data

75
Verified
2 dataease/SQLBot

🔥 基于大模型和 RAG 的智能问数系统,对话式数据分析神器。Text-to-SQL Generation via LLMs using RAG.

68
Established
3 vanna-ai/vanna

🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs...

66
Established
4 weAIDB/CrackSQL

LLM-based Dialect Translation System

64
Established
5 Canner/WrenAI

⚡️ GenBI (Generative BI) queries any database in natural language, generates...

63
Established
6 microsoft/dstoolkit-text2sql-and-imageprocessing

This repo accelerates development of RAG applications with rich data sources...

54
Established
7 Dataherald/dataherald

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

54
Established
8 Mindinventory/MindSQL

MindSQL: A Python Text-to-SQL RAG Library simplifying database interactions....

53
Established
9 shurutech/mql

MQL tool is designed to generate SQL queries directly from natural language inputs.

52
Established
10 shuyu-labs/Text2Sql.Net

Text2Sql.Net 是一个使用DotNet和Semantic Kernel开发的Text2Sql工具

51
Established
11 hexinfo/dat

Asking yours data in a natural language way through pre-modeling (data...

50
Established
12 Satissss/Squrve

Squrve is a lightweight yet powerful framework for translating natural...

50
Established
13 Zay-M3/NaturalSQL

Este es un proyecto para experimentar sobre el conceto de RAG y como se...

43
Emerging
14 mta-tech/KAI

AI-powered agent that lets you query and analyze your database using natural language

43
Emerging
15 montraydavis/SmolSQLAgents

The Most Powerful Open-Source Autonomous SQL Agents - RAG, NL2SQL

40
Emerging
16 galuszkm/query-genie

Agentic AI Platform for intelligent database interaction

38
Emerging
17 ThomasJButler/SQL-Ball

RAG-powered NL-to-SQL using a custom collated dataset of European football results.

38
Emerging
18 CoRAL-ASU/REaR

REAR is a fast, LLM-free framework for multi-table retrieval that separates...

37
Emerging
19 soilwise-he/natural-language-querying

Application component that provides Natural Language Querying (NLQ)...

35
Emerging
20 premAI-io/premsql

End-to-End Local-First Text-to-SQL Pipelines

34
Emerging
21 2003HARSH/Chat-with-databases-using-RAG

"Chat with Databases using RAG" is a cutting-edge project that seamlessly...

32
Emerging
22 daniel3303/AgentQL

Reusable .NET library that translates EF Core models into LLM-friendly...

31
Emerging
23 jsybf/text2sql

kotlin implementation of datrics text2sql

30
Emerging
24 osmanuygar/sqlatte

AI-powered natural language to SQL

30
Emerging
25 ggeop/DataDialogueLLM

Data Dialogue enables natural language querying of databases by integrating...

29
Experimental
26 escaite05/Cognita

🧠 Transform natural language into SQL queries seamlessly with Cognita, an...

28
Experimental
27 mindfiredigital/SQLRAG

It allows users to query databases using natural language and receive...

27
Experimental
28 nvhnam/MySQL_AI_Agent

An intelligent MySQL AI Agent system that translates natural language into...

27
Experimental
29 neil-ab/rag-llm

RAG with LLM agents for SQL & graph databases

24
Experimental
30 JaimeLucena/rag-database-chat

A hands-on RAG application that converts natural language questions into SQL...

23
Experimental
31 FlareIgnis/SQLBot

🤖 Enhance data queries with SQLBot, an intelligent system that combines...

23
Experimental
32 donlelef/genai-system-workshop

Building a chat-with-your-data system, with method

23
Experimental
33 Kasun-Imesha/Text2SQL-Agent

A multi-agent system that converts natural language queries into SQL and...

22
Experimental
34 Ne0bliviscaris/SQL-Detective-RAG-Game

Ollama RAG using SQL Database

21
Experimental
35 Nadav-Nesher/BI_SQL_Assistant

LangChain SQL BI Assistant for IMDB

21
Experimental
36 Pulkit12dhingra/Query_Agent

An intelligent SQL query automation system that converts natural language...

20
Experimental
37 Mehul-Gupta-SMH/PolyQL

Poly-QL: AI-powered natural language to SQL/Spark/Pandas query engine with...

19
Experimental
38 samitugal/NL2SQL-Converter

NL2SQL-Converter transforms natural language sentences from any language...

18
Experimental
39 akshaygande/SQL-QA-with-LLM-RAG

Streamlit-based SQL QA app: natural-language → SQL with RAG (FAISS) + LLMs...

18
Experimental
40 Mona-Aloufi/SQLWhisper-Text2SQL

A privacy-preserving Text2SQL generation and RAG system for the LMS...

17
Experimental
41 DylanSteinecke/nl_to_sql_to_figure

2025 - 2026: A pipeline that processes a natural language query, curates...

16
Experimental
42 Venkatesh-Daggu/RAG_SQL

RAG_SQL is a project that integrates Retrieval-Augmented Generation with SQL...

14
Experimental
43 Raviteja6556/text-to-sql-engine

Schema-aware Text-to-SQL engine — Natural language to DuckDB SQL via RAG...

14
Experimental
44 dmsavkov/Notion-Query-Translator

An autonomous, LLM-powered agent that translates natural language commands...

14
Experimental
45 furkankarakuz/Text2SQL-AI

Text2SQL-AI is an AI-powered application that allows you to generate SQL...

13
Experimental
46 SARVESHYOGI/natural_language_database_assistant

An AI-powered system that allows users to interact with PostgreSQL databases...

13
Experimental
47 HendEmad/NL2SQL

Multi agent system to generate SQLite queries using LLMs and RAG

13
Experimental
48 alexis09876/LLM2SQLSTRUCTUREDSEARCH

🔍 Generate high-quality, schema-valid SQL from natural language queries...

13
Experimental
49 imrohitdhole/nl-to-sql-cleanSQL

Data-quality-aware NL-to-SQL system using RAG, QLoRA fine-tuning, and...

13
Experimental
50 ValyrianDev/RAG-SQL-Generator

Enhance SQL query generation using OCI Gen AI and Marqo. This project...

12
Experimental
51 YiboLi1986/LLM2SQLSTRUCTUREDSEARCH

Structured Text-to-SQL pipeline combining LLM sketch generation,...

12
Experimental
52 facil-pos/yipao

🤖 Chat with your large SQL database

11
Experimental
53 GisoreB/VannaSampleRAG

RAG that uses retrieval augmentation to help you generate accurate SQL...

11
Experimental
54 charangajjala/Query_GenAI

🧠💬 LLM-powered chatbot for querying databases using natural language, with...

11
Experimental
55 armelsoubeiga/aiBotanik

Advanced LLM with Query, SQL & CSV RAG : advanced LLM pipeline for querying...

10
Experimental
56 Aaryan04/advanced-text-to-sql-rag

🚀 Advanced Text-to-SQL RAG System with LangChain, LangGraph & React -...

10
Experimental
57 xanjay/Chat-SQL

Chat with your database in natural language.

10
Experimental
58 MIRACLE-cowf/A-SQL-A

Anthropic-SQL-Agent powered by LangChain, Anthropic

10
Experimental

Comparisons in this category