Vanna
Chat with your SQL database using RAG-trained models
This project is archived. Upstream development has stopped, so expect no new features or security fixes. Consider an actively maintained self-hosted ai alternative.
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
Pros & cons
Strengths
- Natural language to SQL
- Many database connectors
- Flexible LLM support
Trade-offs
- Upstream development stopped
- Accuracy needs training data
Vanna replaces
Compare Vanna
1 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
Replaces Claude Code, Cursor
Hugging Face Transformers
Self-Hosted AIState-of-the-art machine learning model library
Replaces OpenAI API
Dify
Self-Hosted AIOpen-source platform for building production LLM apps
Replaces OpenAI Assistants, Vertex AI Agent Builder
Langflow
Self-Hosted AIVisual framework for building AI agents and RAG pipelines
Replaces Vertex AI Agent Builder