← Back to Leaderboard
WCanner

Canner/WrenAI

An MCP-ready semantic engine that gives AI agents governed SQL and dashboard workflows.

Engineering Health (Methodology)
A · 83/100
Maintenance Activity
● Updated yesterday
Latest Release
wren-core-py-v0.8.3
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption22/25
Release Cadence20/20
License Clarity6/20
Self-HostedMCPCLIAPI
Total Stars
★ 18,476
24h Growth
+6
7d Growth
+66
Forks
2,135

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

Canner/WrenAI Star History (2024-04-08 - 2026-12-04) ALL-TIME STAR HISTORY (2024-04 – 2026-12) +18.5k in 970d · avg +19/day 19.5k 9.8k 0 2024-04-08: ★ 12024-06-08: ★ 9932024-08-10: ★ 1,4912024-10-12: ★ 1,7702024-12-14: ★ 2,3892025-02-15: ★ 5,9482025-04-19: ★ 7,2362025-06-21: ★ 8,0122025-08-23: ★ 9,6512025-10-25: ★ 12,1882025-12-27: ★ 13,0422026-02-28: ★ 14,2192026-05-02: ★ 14,8252026-07-04: ★ 15,5842026-09-05: ★ 17,4142026-12-04: ★ 18,476 ★ 18.5k 2024-04 2025-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

WrenAI separates agent orchestration from semantic planning and execution. An existing agent uses project context to formulate SQL; Wren evaluates the query against the Modeling Definition Language (MDL), dry-plans it, and runs it against the configured source. The engine in core/ is based on Apache DataFusion. MDL represents models, columns, relationships, views, cubes, and metrics, so a reusable business definition can be maintained separately from the physical schema.

Agent-facing knowledge complements MDL rather than replacing it. Definitions, units, enums, and query examples live in reviewable YAML and Markdown, notably instructions.md and queries.yml; a local LanceDB memory index supports hybrid retrieval. MCP is the protocol-level integration surface, while the Python-distributed CLI and the LangChain/LangGraph and Pydantic SDKs offer workflow and application integration paths. Use MDL for semantics the planner must apply and context files for knowledge the agent needs when deciding what to query.

Key Capabilities & Differentiators

WrenAI supports 22+ data sources, including BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks, and DuckDB. Schema-aware retrieval and worked examples help ground query generation; dry-plan validation, row limits, and structured errors with hints give the agent checks and feedback around execution. wren query --sql runs SQL through the semantic layer, while wren ask --guided and wren ask --direct offer different ways to frame a question for an agent.

The workflow extends beyond returning SQL. The genbi skill guides agents in building browser-side dashboard apps powered by wren-core-wasm, which can be deployed to Vercel or Cloudflare Pages. That app-building path is distinct from the commercial GenBI UI and managed dashboard offering. Connector breadth is useful for teams with multiple platforms, but it does not by itself establish cross-source joins or equivalent support for all dialect features; test representative workloads on each intended connector.

Trade-offs & Limitations

Compared with giving an LLM direct warehouse access, WrenAI adds a versioned definition of business terms and a planning step before execution. Compared with a standalone semantic layer, it also supplies agent context retrieval and a dashboard-building workflow. The cost is upkeep: someone must own the MDL, keep examples current, and review generated answers against reference results. A successful dry plan does not prove that an agent chose the intended reporting period or understood the question correctly.

The open-core split matters if you expect a replacement for a managed BI platform. The engine, MCP server, CLI, connectors, SDKs, and skills are Apache-2.0; built-in user and group controls, row- and column-level security, managed GenBI UI and API features, and advanced audit sit in the commercial editions. For OSS deployments, prefer least-privilege source credentials and enforce access at the source. A row limit constrains results, not necessarily warehouse scan cost or who can see the data, so test source-side budgets and permissions independently.

Hardware & Deployment Guide

Start with pip install wrenai; pip install "wrenai[postgres,memory]" is an example with PostgreSQL and memory extras. The npx skills add Canner/WrenAI step installs an agent discovery stub, and the agent retrieves workflow guides from the installed CLI as needed. Set up a connection profile for a real source, or run the bundled jaffle_shop sample before granting the agent access to company data. The engine can be self-hosted independently of Wren Cloud; agent inference, dependency downloads, and dashboard hosting can still introduce external services. A fully disconnected deployment is a separate validation exercise.

Size the pilot around representative query concurrency and source costs, then measure the local retrieval footprint and agent inference separately. The former Docker-based GenBI Classic is frozen on legacy/v1 (v1-final) without new features or security fixes; it is not the default deployment path for the current core. Recent wren-core-py v0.8.3 and wren-semantic-core v0.5.2 releases fix model-qualified identity across relationship projections. If your MDL relies on those projections, include them in upgrade regression tests.

Semantic planning: MDL defines models, columns, relationships, views, cubes, and metrics for an Apache DataFusion-based engine.
Business context: instructions.md and queries.yml keep definitions and examples reviewable in Git; a local LanceDB index supports hybrid retrieval.
Execution guardrails: Dry-plan validation checks query plans before execution; row limits and structured errors support controlled agent workflows.
Integration surfaces: MCP and the wren CLI support agent workflows; wren-langchain and wren-pydantic provide SDK integration paths.
Data connectivity: 22+ sources include BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks, and DuckDB.
Dashboard delivery: Agents can build browser-side apps with wren-core-wasm and deploy them to Vercel or Cloudflare Pages without adopting the commercial GenBI UI.
Best For

Data platform teams that want Claude Code or other MCP-capable agents to reuse Git-reviewed metrics and approved joins across warehouses, with an optional path from query to dashboard.

Skip If

You only need a one-off CSV chart, lack an owner for semantic definitions, or require a turnkey BI portal with built-in access controls but cannot adopt the commercial edition.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedMCPCLIAPI
pip install wrenai

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
WrenAI ★18.5k+66Python—An MCP-ready semantic engine that gives AI agents governed SQL and dashboard wor
obscura38.8k+1kRustApache-2.0Rust/V8 headless browser for agent automation and capture without Chromium
multica59.1k+891Go—A shared task board that dispatches coding agents to machines you control.
agno43.4k+66PythonApache-2.0Python framework and runtime for durable agent services over REST and MCP

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Canner/WrenAI.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Canner/WrenAI Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about WrenAI

Should we integrate through MCP, the CLI, or an SDK?

Use MCP when the agent host already supports it, the CLI for project setup and interactive workflows, or wren-langchain and wren-pydantic for application integration in those ecosystems. Keep MDL and business context in the same Git project whichever interface you choose, so definitions do not diverge across clients.

Does WrenAI require a GPU, and how should we size a pilot?

CUDA is not listed as a prerequisite for the core quickstart. For a pilot, size the Wren process, local retrieval, and source queries separately. If you run agent inference locally, size RAM and VRAM for that model and its concurrency rather than assuming a project-wide GPU requirement.

What can we self-host under Apache-2.0, and what requires a commercial edition?

The engine, MDL layer, MCP server, CLI, connectors, SDKs, and skills are identified as Apache-2.0. Managed GenBI UI, dashboard and API features, user and group controls, row- and column-level security, and advanced audit are commercial. Check the license of each artifact you distribute because the repository contains several license texts. Use source-side permissions for access enforcement in an OSS deployment.

When is WrenAI a better fit than direct SQL access or traditional BI?

Direct warehouse access is simpler for ad hoc querying when schema knowledge is enough. WrenAI earns its extra setup when agents repeatedly need to reuse approved joins, metrics, units, and worked examples. A traditional BI tool remains a better fit when a managed UI and established dashboard access and sharing workflows are the primary requirements.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Canner/WrenAI? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Canner/WrenAI on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare