This is an early release preview. You may encounter bugs.
WrenAI logo
Unclaimed

Tool data-wrangling interface

WrenAI

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language question

A 83/100 GitHub score ? This grade is derived from GitHub signals, not user votes. Open for the full breakdown.
Discussion

01 / Summary

About WrenAI.

WrenAI is a generative business intelligence (GenBI) engine that gives the coding agents and agent frameworks you already use a governed semantic layer plus an AI context layer. Agents use it to turn business questions into correct SQL, execute it across more than 22 data sources, and publish the answer as a shareable dashboard. It works as a layer under those agents rather than as a separate chat interface.

Schemas tell an agent where data lives, and WrenAI adds what the data means. The semantic layer is written in the Modeling Definition Language (MDL): models, columns, relationships, views, cubes, and approved metrics. The context layer adds enums, units, approved joins, worked examples, and knowledge pulled from docs and chat threads. All of it lives as reviewable YAML and Markdown in a Git repository you own, so metric changes are reviewed as pull request diffs.

Queries are planned against the MDL and checked before execution through schema-aware retrieval, dry-plan validation, row limits, value profiling, and structured errors with hints. The engine is built on Apache DataFusion and connects to BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks, DuckDB, and others. Dashboards are browser-side apps built on a WebAssembly build of the engine and deployed to Vercel or Cloudflare Pages.

Agents learn the workflow through a small skill stub that fetches full guides from the CLI on demand, and it works with Claude Code, Cursor, Cline, Codex, MCP clients, and LangChain. SDKs cover LangChain and LangGraph and Pydantic, with a reference Python integration for other stacks. The engine, MCP server, CLI, and connectors are open source. Row- and column-level security, the GenBI UI, embedded dashboards, and managed or air-gapped deployment are commercial, delivered as Wren AI Cloud or a self-hosted enterprise edition, and Git Sync turns the same repository into a team-wide deployment on either.

  • Governed text-to-SQL: questions become SQL planned against the semantic layer and validated before execution
  • MDL semantic layer: models, relationships, views, cubes, and reusable metric definitions independent of any one warehouse
  • AI context layer: enums, units, approved joins, examples, and unstructured knowledge as version-controlled files
  • Agent-built dashboards: filterable browser-side apps deployed to Vercel or Cloudflare Pages
  • 22+ data sources: BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks, DuckDB, and more on one DataFusion engine
  • Memory: a local LanceDB index with hybrid retrieval over past queries and context
  • Agent skills: workflow guides for onboarding, context enrichment, and dashboard building, fetched on demand
  • Agent SDKs and MCP: LangChain, LangGraph, and Pydantic SDKs, an MCP server, and a reference Python integration
  • Guided and direct modes: question wrappers tuned for weaker or stronger agents
  • Git Sync: git push deploys the semantic model to Wren Cloud or a self-hosted installation with short-lived credentials

02 / Discussion CREDIBILITY-GATED

Discussion

Reading is open to everyone. Posting and voting need a verified identity or a GitHub grade of B or higher.

  • No discussions yet.

04 / Build

Build with WrenAI.

Browse the catalog for frameworks, tools, and harnesses, each scored on real GitHub credibility.

Get WrenAI →

Browse the catalog