github vanna-ai/vanna v2.0.0rc1

pre-releaseone day ago

Vanna 2.0.0 is a complete architectural reimagining: from a simple SQL generation library to a production-ready, user-aware agent framework for data analytics.

🎯 What's New

User-Aware by Design

  • Identity and permissions flow through every layer
  • Group-based access control on tools
  • Row-level security support
  • Per-user audit logs and rate limiting

Drop-in Web Component

<vanna-chat api-endpoint="/api/vanna/v2/chat_sse"></vanna-chat>
  • Works with your existing auth (cookies/JWTs)
  • Streaming tables, charts, and code blocks
  • Framework-agnostic

Modular Tool System

  • Tools are first-class citizens with schemas and permissions
  • Built-in tools: SQL execution, data visualization, RAG memory
  • Easy to create custom tools

Rich Streaming UI

  • DataFrameComponent, ChartComponent, StatusCardComponent
  • Progressive rendering via Server-Sent Events
  • Not just text responses

Production-Ready Servers

  • FastAPI and Flask servers included
  • SSE streaming, health checks, CORS support
  • Add to existing apps with a few lines of code

Enterprise Features

  • Audit logging
  • Lifecycle hooks (rate limiting, content filtering)
  • LLM middlewares (caching, retry logic)
  • Context enrichers
  • Built-in evaluation framework

Agent Memory (RAG)

  • Store and retrieve context from vector stores
  • Supports Pinecone, Qdrant, Milvus, Weaviate, and more

Don't miss a new vanna release

NewReleases is sending notifications on new releases.