Wren AI logo

Wren AI

Free

An open-source text-to-SQL and generative BI agent with a semantic layer. [#opensource](https://github.com/Canner/WrenAI)

FreeFree tier
Type
Open Source

About Wren AI

Wren AI is an open-source generative BI (GenBI) platform that acts as a context layer between AI agents and enterprise data. It enables governed text-to-SQL through a semantic model as code (MDL), ensuring consistent definitions across queries. Wren AI supports 20+ data sources (BigQuery, PostgreSQL, ClickHouse, Amazon Redshift, etc.) and works with any LLM (OpenAI, Anthropic, Google Gemini) and any AI agent (Claude, Cursor, Slack, Teams). It offers weekly releases, clear versioning, and a vibrant community with 1,700+ contributors. Deployment options include a cloud free tier (20 monthly credits, 2 projects, 10 tables per project) and paid plans (Essential $179/month, Enterprise $559/month), as well as self-hosted. Key capabilities include agentic and classic query modes, knowledge base, dashboards, AI-powered spreadsheets, and embedded API for AI analytics.

Key Features

Governed text-to-SQL via semantic model as code (MDL)
Context layer enforcing shared definitions, access controls, and metric logic
20+ data source connectors (BigQuery, PostgreSQL, ClickHouse, Amazon Redshift, etc.)
Agent-agnostic: works with any AI agent (Claude, Cursor, Slack, Teams)
LLM-agnostic: supports OpenAI, Anthropic, Google Gemini, and private LLMs
Weekly releases with clear versioning and high code quality
Community-driven with 1,700+ contributors
Extensible APIs and SDKs
Supports file sources and dbt sync
Row- and column-level data control (Enterprise tier)

Pros & Cons

Pros
  • Open-source with active community (1,700+ contributors)
  • Context layer ensures consistent business logic and definitions
  • Agent-agnostic and LLM-agnostic provides flexibility
  • Supports major data warehouses and databases
  • Weekly updates with strong documentation
  • Enterprise-ready with security features like RBAC and auditing logs
  • Flexible deployment: cloud or self-hosted
Cons
  • Free tier limited to 20 monthly credits and 2 projects
  • Essential plan at $179/month may be costly for small teams
  • Row- and column-level data control only available in Enterprise plan
  • Limited table/project counts in free tier
  • Dependent on LLM API costs (separate from Wren AI credits)

Best For

Natural-language to SQL query generation for business intelligenceCreating trusted dashboards and charts from conversational queriesEmbedding AI-powered analytics into applications via Embedded AI APIData governance and consistent metric definitions across teamsPowering AI agents with governed access to enterprise data

FAQ

What is Wren AI?
Wren AI is an open-source GenBI platform that provides a governed context layer for text-to-SQL, enabling AI agents to query enterprise data with consistent definitions.
What data sources does Wren AI support?
Wren AI supports 20+ data sources including BigQuery, PostgreSQL, ClickHouse, Amazon Redshift, and more, plus file uploads and dbt sync.
Is Wren AI free?
Wren AI offers a free cloud tier with 20 monthly credits, limited to 2 projects and 10 tables per project. Paid plans start at $179/month for Essential and $559/month for Enterprise.
Can I self-host Wren AI?
Yes, Wren AI offers a self-hosted deployment option. Pricing for self-hosted is available on request.
What LLMs does Wren AI work with?
Wren AI is LLM-agnostic and works with OpenAI, Anthropic, Google Gemini, and private enterprise LLMs.