vanna-ai/vanna
🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs using Agentic Retrieval 🔄. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 65
- Release rhythm 68
- Longevity 86
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 23.5
- age_days: 1208
- days_rel: 212
- days_push: 212
- n_releases_24m: 11
Adoption not part of the score
23818 stars · 2486 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Vanna is an open-source Python framework for building user-aware AI agents that translate natural-language questions into SQL queries, charts, and summaries against your database. It combines LLM tool use with agent memory that learns from successful question-SQL pairs, and ships with a streaming web chat component and FastAPI/Flask server integrations.
Use cases
- chat with my sql database in natural language
- generate sql queries from plain english questions
- build a text-to-sql ai agent for postgres or snowflake
- let non-technical users query a database with llm
- auto-generate charts and tables from natural language questions
- add row-level security to an ai data assistant
- embed a chat interface for database analytics in a web app
When to choose
- you want users without SQL skills to explore relational databases via natural language
- you need a production-ready text-to-SQL agent with auth, audit logs, and rate limiting
- you want an agent that improves over time by remembering successful question-SQL pairs
- you need flexibility across many LLM providers and SQL databases
When to avoid
- you need general-purpose LLM agents unrelated to SQL or databases
- you require guaranteed-correct SQL without human review, since LLM-generated queries can be wrong
- you want a no-code hosted product only - Vanna is a developer framework requiring Python integration
Facets
library · maturity active
agent-framework rag llm-inference data-visualization database chatbot api-framework large-language-models databases data-science analytics developer-tools python self-hosted cross-platform text-to-sql nl2sql sql-agent plotly fastapi streaming row-level-security agent-memory vector-store ai-agents retrieval-augmented-generation web-server
7 sources
- readme: https://github.com/vanna-ai/vanna · fetched 2026-08-28 · a33e25732076
- homepage: https://vanna.ai/docs/ · fetched 2026-08-29 · 73665e813b52
- site_page: https://vanna.ai/docs/quick-start · fetched 2026-08-29 · 91b303fe5a0e
- site_page: https://vanna.ai/docs/configure · fetched 2026-08-29 · 96ccc2af678a
- site_page: https://vanna.ai/docs/migration · fetched 2026-08-29 · 441bfd65b5b7
- registry_pypi: https://pypi.org/pypi/vanna/json · fetched 2026-08-29 · 09534a9d9472
- site_page: https://vanna.ai/ · fetched 2026-08-29 · 791ac96de8ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vanna-ai/vanna | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem