#1212th of 51 in RAG, knowledge and searchFor data and documents, data analysis

wrenai

Semantic layer and context engine that lets agents write governed SQL

Stars
18.1k
License
custom license
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 29 weeks+3,376
21 Apr 2026: 14,767 stars28 Apr 2026: 14,823 stars5 May 2026: 14,863 stars12 May 2026: 14,999 stars19 May 2026: 15,081 stars26 May 2026: 15,171 stars2 Jun 2026: 15,248 stars9 Jun 2026: 15,352 stars16 Jun 2026: 15,423 stars23 Jun 2026: 15,467 stars30 Jun 2026: 15,566 stars7 Jul 2026: 15,629 stars14 Jul 2026: 15,694 stars21 Jul 2026: 16,434 stars28 Jul 2026: 16,614 stars4 Aug 2026: 16,723 stars11 Aug 2026: 17,144 stars18 Aug 2026: 17,227 stars25 Aug 2026: 17,321 stars1 Sept 2026: 17,383 stars8 Sept 2026: 17,497 stars15 Sept 2026: 17,603 stars22 Sept 2026: 17,676 stars29 Sept 2026: 17,741 stars6 Oct 2026: 17,774 stars13 Oct 2026: 17,840 stars20 Oct 2026: 17,906 stars27 Oct 2026: 17,984 stars3 Nov 2026: 18,063 stars10 Nov 2026: 18,143 stars

14,767 on 21 Apr 202618,143 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

WrenAI is a CLI and Python SDK (pip install wrenai) that gives agents such as Claude Code, Cursor and LangChain a semantic layer written in MDL, plus Git-versioned YAML and Markdown context. Agents generate SQL planned against that layer, validated by dry-plan, and run on an Apache DataFusion engine across 22+ data sources. The earlier Docker chat-style GenBI app is archived on a legacy branch.

Who it is for: Data engineers connecting coding agents to warehouses with governed SQL

Strengths

  • Business definitions are YAML and Markdown in Git, reviewable as pull-request diffs
  • Dry-plan validation, row limits and structured errors constrain agent-written SQL
  • Connects 22+ sources, including BigQuery, Snowflake, PostgreSQL, ClickHouse and DuckDB
  • Ships LangChain and Pydantic AI SDKs, an MCP server and agent skills

Weaknesses

  • GenBI UI, dashboards, row/column security and user groups are commercial only
  • Docker chat BI app moved to legacy/v1 with no new features or security fixes
  • Needs an external agent or LLM client; it is not a standalone chat UI
  • Detected license is NOASSERTION, though the README states Apache 2.0

What it needs

  • Needs Python (pip), A supported data source such as Postgres, BigQuery or Snowflake, An AI agent such as Claude Code or Cursor
  • Models: Agent-agnostic: Claude Code, Cursor, Cline, Codex, MCP clients, LangChain

Quick answers

Is wrenai open source?

Its code is public on GitHub under its own license terms; read them before you use it at work.

Also in RAG, knowledge and search

See all 51
Also in RAG, knowledge and search
RankProjectScore
1RAGFlowRAG engine with deep document parsing, template chunking and agentic retrieval Live demo ↗ (opens in a new tab)94k stars+2,164 (+2.4%) in 30 daysApache-2.090 out of 100
2LightRAGGraph-based RAG framework with a REST API server and web UI40.7k stars+650 (+1.6%) in 30 daysMIT90 out of 100
3deeptutorSelf-hosted AI tutor with knowledge bases, guided learning, books and quizzes58.2k stars+17,179 (+42%) in 30 daysApache-2.089 out of 100
#4Open NotebookSelf-hosted NotebookLM alternative for research notebooks, chat, and podcasts41.9k stars+1,895 (+4.7%) in 30 daysMIT89 out of 100
#5MaxKBEnterprise knowledge-base agent platform with RAG, workflows and MCP tools23.1k stars+246 (+1.1%) in 30 daysGPL-3.087 out of 100