Docs logo

Docs

Free

User-aware AI agent framework that connects LLMs to your database.

FreeFree tier
Type
Open Source

About Docs

Vanna 2.0 is an open-source, user-aware AI agent framework that connects large language models (LLMs) to databases. At its core, it allows developers to connect tools to an LLM, enabling the agent to run SQL queries, generate charts, or perform custom functions. The framework features Tool Memory, which learns from successful interactions and improves over time by saving query patterns and adapting them to similar questions. It also enforces granular permission controls, ensuring each user has specific access rights. Vanna can be used as a self-hosted open-source solution or upgraded to managed cloud plans for larger teams.

Key Features

Connect tools to an LLM (SQL queries, charts, custom functions)
Tool Memory that learns from successful interactions and improves over time
Permission enforcement with per-user access controls
Ability to run SQL queries and generate charts directly
Supports custom functionality beyond SQL and charts
Open-source self-hosting with option to upgrade to managed cloud
Adapts past successful examples to current context for faster responses

Pros & Cons

Pros
  • Open-source: free to self-host and modify
  • Learns from user interactions, improving accuracy over time without manual training
  • Built-in permission controls for secure multi-user environments
  • Flexible: works with any database and can be extended with custom tools
  • Seamless upgrade path from open-source to managed cloud or enterprise
Cons
  • Requires initial setup and database connection configuration
  • May need a schema understanding for optimal performance on novel queries
  • Daily query limits on paid plans (e.g., 20 questions/day on Explorer plan)
  • Enterprise features like on-prem deployment and SAML SSO require custom pricing

Best For

Database querying and analysis using natural languageBusiness intelligence and reporting with automated chart generationInternal data exploration for small teams (2-3 people) to large enterprisesBuilding custom AI agents that interact with proprietary databasesSelf-hosted data query assistant for organizations needing full control

FAQ

What happens if I exceed my daily limits?
Daily throughput limits reset every 24 hours. If you exceed your limit, requests will be rate-limited until the next reset. You can upgrade to a higher tier at any time for immediate access to higher limits.
Can I start with the open source version and upgrade later?
Yes! All tiers use the same core framework. You can start self-hosting with the open source version, then seamlessly upgrade to our managed cloud platform or enterprise deployment without rewriting your code.
How does Enterprise pricing work?
Enterprise pricing is custom based on your deployment needs (on-prem, VPC, or private cloud), desired SLAs, and support requirements. Contact our sales team to discuss your specific requirements.
Do you offer annual discounts?
Yes! Annual subscriptions receive a 20% discount. Contact sales or select annual billing during checkout.