Vanna
Chat with your SQL database using RAG-trained models
Vanna is an open-source Python framework that generates accurate SQL queries from natural language by training a RAG model on your schema. It works with many databases and LLM providers.
Key features
- Natural language to SQL
- Trains on your schema
- Many database connectors
- Self-hostable
Strengths
- Released under the MIT license
- Mature project with 23.8k GitHub stars
- Written in Python
Vanna replaces
Compare Vanna
11 head-to-head comparisons.
Similar self-hosted ai apps
OpenClaw
Self-Hosted AIThe AI that actually does things
Hermes Agent
Self-Hosted AIThe AI agent that grows with you
OpenCode
Self-Hosted AIThe open source AI coding agent
Hugging Face Transformers
Self-Hosted AIState-of-the-art machine learning model library
Replaces OpenAI API
Langflow
Self-Hosted AIVisual framework for building AI agents and RAG pipelines
Replaces Vertex AI Agent Builder
Dify
Self-Hosted AIOpen-source platform for building production LLM apps
Replaces OpenAI Assistants, Vertex AI Agent Builder