
Chat with your SQL database using AI
Vanna AI is an open-source, MIT-licensed Python framework that turns natural language questions into accurate SQL queries and visual data insights. It supports any LLM provider including OpenAI, Anthropic, and Ollama, and connects to virtually every major database from PostgreSQL and Snowflake to BigQuery and ClickHouse.
Converts plain English questions into accurate SQL queries against your database, making data accessible to non-technical users
Connects to PostgreSQL, MySQL, Snowflake, BigQuery, Redshift, SQLite, Oracle, SQL Server, DuckDB, and ClickHouse
Works with OpenAI, Anthropic Claude, Google Gemini, Ollama, Azure, AWS Bedrock, and Mistral models
Delivers real-time streaming responses including tables, charts, SQL code, and progress updates via a pre-built web component
User-aware permissions at every layer with row-level security, audit logging, and access-controlled queries
Supports follow-up questions and iterative data exploration through conversational context
Built-in quota management, lifecycle hooks, and observability features for production deployments
Enable non-technical team members to query databases and generate reports using natural language instead of waiting for analyst support
Build customer-facing analytics features with natural language interfaces that let end users explore data through conversation
Add user-aware data querying to SaaS products with built-in row-level security ensuring each tenant only sees their own data
Give departments across an organization direct access to data insights while maintaining compliance through audit logging
Available as a fully open-source self-hosted solution or a managed cloud offering with admin features

Customer-facing analytics for any platform