# Canner/WrenAI

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more.

Repository: https://github.com/Canner/WrenAI
Canonical: https://ross.abutalabs.com/products/wrenai
Homepage: https://www.getwren.ai/en/open-core
Language: Python
License: NOASSERTION
License Family: other
Topics: bigquery, duckdb, llm, postgresql, rag, text-to-sql, sql, text2sql, charts, context-engineering, genbi, ai-agents, business-intelligence, clickhouse, dashboard, databricks, generative-ai, mcp, semantic-layer, snowflake
Last push: 2026-08-26T03:02:58+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 64
- inputs: {"age_days": 903, "days_push": 7, "days_rel": 15, "gap_med": 4.0, "n_releases_24m": 75}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 17401, forks 1970 (observed 2026-08-28T04:11:19.635402+00:00)

## What it is
WrenAI is an open-source generative BI (GenBI) engine that turns natural-language questions into governed SQL, charts, and dashboards across 20+ data sources like BigQuery, Snowflake, PostgreSQL, and ClickHouse. It provides an open AI context layer with a semantic layer (MDL) so AI agents and humans get trustworthy, business-grounded answers instead of schema guesses.

## Use cases
- ask business questions in plain English and get SQL answers
- generate dashboards and charts from natural language
- text-to-SQL over Snowflake, BigQuery, Postgres, ClickHouse, Databricks
- give AI agents a governed semantic layer over warehouse data
- expose business data to agents via MCP
- define metrics and business logic once in a version-controlled MDL
- self-host a governed AI analytics platform

## When to choose
- you want open-source, self-hostable text-to-SQL with governance
- your team needs natural-language BI on existing warehouses without migrating data
- you're building AI agents that must query business data reliably
- you need a semantic layer with approved metric definitions in git

## When to avoid
- you need a traditional hand-built BI tool without LLM involvement
- you want a fully closed-source managed product with vendor SLAs only
- your use case is simple SQL editing rather than natural-language analytics

## Facets
- artifact type: application
- maturity: active
- function: rag, llm-inference, agent-framework, mcp, data-visualization, search-engine, api-framework, cli
- domain: large-language-models, databases, analytics, data-visualization, self-hosted
- platform: python, self-hosted, cloud, cli
- tags: text-to-sql, genbi, semantic-layer, mdl, context-layer, business-intelligence, nl2sql, data-connectors, open-core, ai-agents, retrieval-augmented-generation, docker, web-server

## Member repositories
- Canner/WrenAI (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:19.635402+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:02:58.204785+00:00, confidence not recorded.
  - readme: https://github.com/Canner/WrenAI (fetched 2026-08-28T04:11:19.635402+00:00, sha aa1086e7df48)
  - homepage: https://www.getwren.ai/en/open-core (fetched 2026-08-29T08:01:09.739559+00:00, sha 101e2ad891f3)
  - site_page: https://docs.getwren.ai/oss/introduction (fetched 2026-08-29T08:01:09.751616+00:00, sha d594af47fd5b)
  - site_page: https://docs.getwren.ai/cp/overview (fetched 2026-08-29T08:01:09.755143+00:00, sha 73bd0b5f8193)
  - registry_pypi: https://pypi.org/pypi/wrenai/json (fetched 2026-08-29T08:01:09.756685+00:00, sha 214440668d70)
  - site_page: https://www.getwren.ai/pricing (fetched 2026-08-29T08:01:09.749100+00:00, sha e9cbab881f02)
  - site_page: https://www.getwren.ai/product (fetched 2026-08-29T08:01:09.753370+00:00, sha 27aa13999c00)
- Data as of 2026-08-30T08:39:29.467469+00:00.
