Home

Awesome

<p align="center" id="top"> <a href="https://getwren.ai/?utm_source=github&utm_medium=title&utm_campaign=readme"> <picture> <source media="(prefers-color-scheme: light)" srcset="./misc/wrenai_logo.png"> <img src="./misc/wrenai_logo_white.png" width="300px"> </picture> <h1 align="center">Wren AI</h1> </a> </p> <p align="center"> <a aria-label="Follow us on X" href="https://x.com/getwrenai"> <img alt="" src="https://img.shields.io/badge/-@getwrenai-blue?style=for-the-badge&logo=x&logoColor=white&labelColor=gray&logoWidth=20"> </a> <a aria-label="Releases" href="https://github.com/canner/WrenAI/releases"> <img alt="" src="https://img.shields.io/github/v/release/canner/WrenAI?logo=github&label=GitHub%20Release&color=blue&style=for-the-badge"> </a> <a aria-label="License" href="https://github.com/Canner/WrenAI/blob/main/LICENSE"> <img alt="" src="https://img.shields.io/github/license/canner/WrenAI?color=blue&style=for-the-badge"> </a> <a aria-label="Join the community on GitHub" href="https://discord.gg/5DvshJqG8Z"> <img alt="" src="https://img.shields.io/badge/-JOIN%20THE%20COMMUNITY-blue?style=for-the-badge&logo=discord&logoColor=white&labelColor=grey&logoWidth=20"> </a> <a aria-label="Canner" href="https://cannerdata.com/?utm_source=github&utm_medium=badge&utm_campaign=readme"> <img src="https://img.shields.io/badge/%F0%9F%A7%A1-Made%20by%20Canner-blue?style=for-the-badge"> </a> </p>

Wren AI is an open-source SQL AI Agent that empowers data, product, and business teams to access insights through chat, built-in well designed intuitive UI and UX, integrating seamlessly with tools like Excel and Google Sheets.

<p align="center"> <img src="./misc/wrenai_view.png"> </p>

🕶 Try it yourself!

https://github.com/user-attachments/assets/737bbf1f-f9f0-483b-afb3-2c622c9b91ba

👉 Try with your data on Wren AI Cloud or Install in your local environment

🎯 Our Vision & Mission

Wren AI’s mission is to democratize data by bringing AI agents with SQL ability to any data source.

🤩 Learn more about Wren AI and our Mission

🤖 A User-Centric, End-to-End Open-source SQL AI Agent - Text-to-SQL Total Solution

1. Talk to Your Data in Any Language

Wren AI speaks your language, such as English, German, Spanish, French, Japanese, Korean, Portuguese, Chinese, and more. Unlock valuable insights by asking your business questions to Wren AI. It goes beyond surface-level data analysis to reveal meaningful information and simplifies obtaining answers from lead scoring templates to customer segmentation.

<p align="center"> <img src="./misc/wren-lang.png" style="max-width: 700px"/> </p>

2. Semantic Indexing with a Well-Crafted UI/UX

Wren AI has implemented a semantic engine architecture to provide the LLM context of your business; you can easily establish a logical presentation layer on your data schema that helps LLM learn more about your business context.

<p align="center"> <img src="./misc/wren-modeling.png" style="max-width: 700px"/> </p>

3. Generate SQL Queries with Context

With Wren AI, you can process metadata, schema, terminology, data relationships, and the logic behind calculations and aggregations with “Modeling Definition Language”, reducing duplicate coding and simplifying data joins.

<p align="center"> <img src="./misc/wren-context.png" style="max-width: 700px"/> </p>

4. Get Insights without Writing Code

When starting a new conversation in Wren AI, your question is used to find the most relevant tables. From these, LLM generates the most relevant question for the user. You can also ask follow-up questions to get deeper insights.

<p align="center"> <img src="./misc/wren-insight.png" style="max-width: 700px"/> </p>

5. Easily Export and Visualize Your Data

Wren AI provides a seamless end-to-end workflow, enabling you to connect your data effortlessly with popular analysis tools such as Excel and Google Sheets. This way, your insights remain accessible, allowing for further analysis using the tools you know best.

<p align="center"> <img src="./misc/wren-excel.png" style="max-width: 700px"/> </p>

🤔 Why Wren AI?

We focus on providing an open, secure, and accurate SQL AI Agent for everyone.

1. Turnkey Solution

Wren AI makes it easy to onboard your data. Discover and analyze your data with our user interface. Effortlessly generate results without needing to code.

2. Personalized answers without exposing data to LLM

Your sensitive information remains protected, with no risk of being trained to public LLMs, giving you secure, personalized insights while maintaining full control of your data.

3. Open-source End-to-end Solution

Deploy Wren AI anywhere you like on your own data, LLM APIs, and environment, it's free.

🤖 Wren AI Text-to-SQL Agentic Architecture

Wren AI consists of three core services:

<p align="center"> <img src="./misc/how_wrenai_works.png" style="max-width: 1000px;"> </p>

❤️ Knowledge Sharing From Wren AI

Want to get our latest sharing? Follow our blog!

🚀 Getting Started

Using Wren AI is super simple, you can set it up within 3 minutes, and start to interact with your data!

📚 Documentation

Visit Wren AI documentation to view the full documentation.

🛠️ Contribution

Want to contribute to Wren AI? Check out our Contribution Guidelines.

⭐️ Community

Please note that our Code of Conduct applies to all Wren AI community channels. Users are highly encouraged to read and adhere to them to avoid repercussions.

🎉 Our Contributors

<a href="https://github.com/canner/wrenAI/graphs/contributors"> <img src="https://contrib.rocks/image?repo=Canner/WrenAI" /> </a> <p align="right"> <a href="#top">⬆️ Back to Top</a> </p>