One of Japan's largest directories x find the right AI in as little as a minute

▶︎ For those who want to list their service

  1. AI BEST SEARCH
  2. Vanna AI
Vanna AI

Vanna AI
: How to use it, features, and the business problems it solves

Add bookmark

What is Vanna AI?

An open-source (MIT) Text-to-SQL framework that generates accurate SQL from natural-language questions. Train it on your database's DDL, docs, and example SQL, and it generates runnable SQL via agentic retrieval. Now "Vanna 2.0 (The SQL Agent)" with user-aware row-level control and a web chat UI; the OSS core is free while managed Vanna Cloud is paid. Works with major DBs (Postgres, Snowflake, BigQuery) and LLMs (OpenAI, Anthropic).

Business problems it solves

About "Vanna AI"

What is Vanna AI

Vanna AI is an open-source (MIT) Text-to-SQL framework that generates accurate SQL from natural-language questions. Once you "train" it on your database's DDL (schema), documentation, and example SQL, it generates SQL you can run on that database for questions in English or Japanese, using agentic retrieval (RAG). It is now evolving as "Vanna 2.0 (The SQL Agent)," with user-aware permissions and a web chat UI.

Vanna's core is "connecting question → SQL → answer, grounded in your own schema." The OSS core (pip install vanna) is free, embeds into Flask/FastAPI, and drops into internal apps via the <vanna-chat> web component. 2.0 adds enterprise features like per-user row-level security (e.g., only HR sees salary), audit logs, and rate limiting, plus a managed Vanna Cloud. Note: the OSS repository was archived (read-only) in early 2026, and the main development has shifted to Vanna Cloud.

Vanna.AI architecture: the <vanna-chat> frontend, a Python server on Flask/FastAPI, a user-aware agent, and LLM selection
The <vanna-chat> frontend, a Python server (Flask/FastAPI), a user-aware agent, and LLM selection (source: Vanna.AI official repository)

Drop the web component into an existing app and add the Python server to your existing stack. It runs Text-to-SQL with any LLM and database while carrying user permissions through the whole system.

Provider
Vanna AI (Core / Cloud / Enterprise)
Category
OSS (MIT) Text-to-SQL framework / SQL agent
Key features
NL-to-SQL, training on schema/example SQL, row-level security, web chat UI, audit logs
Supports
Postgres/MySQL/Snowflake/BigQuery etc. DBs, OpenAI/Anthropic/Gemini etc. LLMs, Flask/FastAPI
Pricing
OSS core free / Vanna Cloud: Explorer $50, Team $500 (monthly), Enterprise contact sales

How to use

Train it, ask, and embed.

STEP 01

Train

Register your DDL, documentation, and past example SQL with Vanna.

STEP 02

Ask

Ask in natural language, and it generates runnable SQL.

STEP 03

Run and visualize

Run the SQL and view results as tables or charts.

STEP 04

Embed

Embed into internal apps via the web component, carrying permissions.

The OSS core is free to self-host, and you choose your LLM and database. If you need more operational management or hosting, use Vanna Cloud. Note that the official OSS repo has been archived since early 2026, and further development is on the Cloud side.

Key features

01Natural-language → SQL (RAG)

"Train" it on DDL, documentation, and example SQL, and it generates SQL for your own database from a question. Agentic retrieval pulls in relevant context to improve accuracy, and results can be returned as tables and charts in real time.

02User permissions and embeddable UI

Resolves the user from existing cookies/JWTs and controls access by role and row level (e.g., only HR sees salary). It drops into internal apps via the <vanna-chat> web component and integrates with Flask/FastAPI.

03Broad DB/LLM support and OSS

Supports major databases like PostgreSQL, MySQL, Snowflake, BigQuery, Redshift, Oracle, and SQL Server, and LLMs like OpenAI, Anthropic, Gemini, Ollama, and Bedrock. The MIT-licensed core is free to self-host, with operational features like audit logs and rate limiting.

Pricing

The OSS core is free. The managed Vanna Cloud is monthly, as below (20% off billed yearly).

PlanMonthlyHighlights
Vanna Core (OSS)$0MIT license, self-host, bring your own LLM/DB
Explorer$5020 questions/day, admin features, API, email support
Team$500300 questions/day, setup support, same-day support
EnterpriseContact salesUnlimited questions, on-prem support, SAML SSO, etc.

The OSS core is free (MIT); LLM and DB usage costs are on you. Prices are in USD and subject to change; check the official pricing page for the latest (as of August 2026).

How it differs from other Text-to-SQL/BI

Vanna's strength is that it's an OSS framework you train on your own schema and example SQL, running Text-to-SQL with any LLM and database. Compared with dumping SQL requests into a general chatbot or writing SQL by hand, its edge is accuracy grounded in your data and ease of embedding into internal apps.

AspectVannaAsk a general chatbot for SQLHand-written SQL
AccuracyImprovable via your schemaEasy to miss without schemaDepends on the person
EmbeddingEasy via web componentCopy-paste each time
PermissionsRow-level controlNoneDepends on implementation

Ad-hoc SQL requests to a general chatbot, and hand-written SQL, are the comparison points. For development teams that want to embed natural-language querying of their own database into internal apps, Vanna is a strong choice.

The information on this page is based on the official website as of August 2026. Please check the official site for the latest specs and pricing.

Try Vanna AI

Frequently compared services