vanna-ai/vanna

🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs using Agentic Retrieval 🔄.

76
/ 100
Verified

Implements an agentic architecture where LLMs delegate to user-aware tools (SQL execution, custom functions) with row-level security filtering built into tool execution. Provides a framework-agnostic FastAPI integration with lifecycle hooks for quota/audit enforcement, plus a pre-built `` web component that streams structured responses (tables, charts, summaries) in real-time while respecting user identity and group-based permissions.

22,954 stars and 146,849 monthly downloads. Used by 1 other package. Available on PyPI.

Maintenance 10 / 25
Adoption 21 / 25
Maturity 25 / 25
Community 20 / 25

How are scores calculated?

Stars

22,954

Forks

2,239

Language

Python

License

MIT

Category

text-to-sql-rag

Last pushed

Feb 02, 2026

Monthly downloads

146,849

Commits (30d)

0

Dependencies

10

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/vanna-ai/vanna"

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