• Stars
    star
    1,858
  • Rank 24,956 (Top 0.5 %)
  • Language
    TypeScript
  • License
    GNU Affero Genera...
  • Created 8 months ago
  • Updated 24 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿš€ Open-source SQL AI Agent for Text-to-SQL. Supporting PostgreSQL, DuckDB, MySQL, MS SQL, ClickHouse, Trino, JSON, CSV, Parquet data sources, ane more! ๐Ÿš€

WrenAI

WrenAI is your AI data assistant that helps you get results and insights faster by asking questions without writing SQL.

โ–ถ๏ธ Video Introduction

WrenAI Introduction

๐ŸŽฏ Our Mission

WrenAI is reimagining how businesses can interact with and leverage their data through LLM, by bringing comprehension capabilities to small and large data teams.

wrenai_overview

๐Ÿ‘‰ Learn more about our mission

๐Ÿ‘Š Why WrenAI?

1. Reduce Hallucination

WrenAI offers detailed, explainable responses, ensuring users understand the origins and context of their data, thereby reducing hallucinations in LLMs.

2. Augment Your LLM Knowledge Base

WrenAI enriches LLMs with your specific business context, with additional metadata for your data schema, such as semantics and relationships.

3. Self-Learning Feedback Loop

WrenAI evolves with every interaction. It learns from user feedback and behavioral patterns, continuously refining its suggestions.

๐Ÿค” Benefits using WrenAI

WrenAI leverages Large Language Models (LLM) with Retrieval-Augmented Generation (RAG) technology to enhance comprehension of internal data. Below are the three key benefits:

1. Fast Onboarding

Discover and analyze your data with our user interface. Effortlessly generate results without needing to code.

2. Secure By Design

Your database contents will never be transmitted to the LLM. Only metadata, like schemas, documentation, and queries, will be used in semantic search.

3. Open-Source

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

๐Ÿค– WrenAI's Architecture

WrenAI is consist of three core services:

  • Wren UI: An intuitive user interface for asking questions, defining data relationships, and integrating data sources within WrenAI's framework.

  • Wren AI Service: Processes queries using a vector database for context retrieval, guiding LLMs to produce precise SQL outputs.

  • Wren Engine: Serves as the platform's backbone, managing metadata and connecting to data sources, while preparing for future application integrations.

wrenai_works

๐Ÿซฃ Sneak Peek

Data Modeling Ask and Follow-up Questions
preview_model preview_ask

๐Ÿคž Design Philosophies

We have some core design philosophies that were used when developing WrenAI.

  • Explainability: WrenAI ensures that every SQL query generated in natural language is accurate, concise, and reliable.
  • Interoperability: WrenAI enables users to query data from multiple sources without dealing with the complexities of different data formats and dialects, providing a standard interface across different sources.
  • Interactive Experience: WrenAI is designed to engage users in a dialogue, clarifying their queries and refining results in real time.
  • Continuous Learning: WrenAI will proactively learn through ongoing query history, feedback, and interactions. Incorporating new patterns, information, and data structures into our LLM knowledge base.

๐Ÿšง Project Status

WrenAI is currently in alpha version. The project team is actively working on progress and aiming to release new versions at least biweekly.

๐Ÿš€ Getting Started

Using WrenAI is super simple, you can setup within 3 minutes, and start to interact with your own data!

Start Today And Be 100X More Productive Than Yesterday

๐Ÿ“š Documentation

Visit WrenAI documentation to view the full documentation.

๐Ÿ“ถ Telemetry

WrenAI collects anonymous usage statistics for application components. We receive an event each time these components are initialized or used, allowing us to identify which features are most relevant and valued by our community. These statistics help us improve our features and serve as a reference for deciding on our roadmap.

Read more about telemetry or how you can opt out in WrenAI doc.

โญ๏ธ Community

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

More Repositories

1

cannercms

โšก๏ธ Content Management Framework creates custom CMS fast and easy. Support data sources such as Firebase/Firestore, GraphQL and Restful APIs.
JavaScript
2,430
star
2

canner-slate-editor

๐Ÿ“Rich Text / WYSIWYG Editor built for Modularity and Extensibility.
JavaScript
1,127
star
3

vulcan-sql

Data API Framework for AI Agents and Data Apps
TypeScript
635
star
4

apollo-link-firebase

๐Ÿ”ฅ ๐Ÿ”— apollo-link-firebase provides you a simple way to use Firebase with graphQL.
TypeScript
413
star
5

gqlify

[NOT MAINTAINED]An API integration framework using GraphQL
TypeScript
178
star
6

canner-firebase-cms

๐Ÿ”ฅ Content management for Firebase Realtime Database with SSR supported with NextJS, for blog, ecommerce, mobile apps and even chatbot! This project is based on Canner CMS
JavaScript
119
star
7

wren-engine

๐Ÿค– The semantic engine for LLMs, bringing semantic context to AI agents. ๐Ÿ”ฅ
Java
118
star
8

graphql-rbac

GraphQL Role-based access control (RBAC) middleware
TypeScript
36
star
9

canner-firestore-cms

The example of building the CMS with Canner and Firestore
JavaScript
25
star
10

graphql-i18n

An i18n middleware for GraphQL
TypeScript
22
star
11

cms30

๐Ÿ™Œ #CMS30 | Free 30 CMS templates
JavaScript
22
star
12

vulcan-sql-examples

Curated VulcanSQL show cases
Jupyter Notebook
19
star
13

react-loading-image

A react image loader.
JavaScript
13
star
14

canner-demo

๐Ÿ˜ป Collection of demos to demonstrate how Canner can accomplish in different use cases.
CSS
13
star
15

antd-geosuggest

Antd based geo suggestion for Google maps places API
JavaScript
11
star
16

typescript-koa-boilerplate

typescript-koa-boilerplate
HCL
11
star
17

image-upload

Based on antd image uploader
JavaScript
9
star
18

emoji-mart-picker

emoji popup picker
JavaScript
7
star
19

create-table-picker

Table creater based on react-hovertable
JavaScript
7
star
20

grid-draggable

grid draggable system
JavaScript
4
star
21

antd-canner-components

๐ŸคกModular Ant design based CMS components for Canner, over 40+ components
JavaScript
4
star
22

canner-udf-example

Canner UDF example
Java
3
star
23

generator-canner-react

A yeoman generator for canner react projects
JavaScript
2
star
24

npm-check-install

Check whether a npm module is installed, otherwise installed it.
JavaScript
2
star
25

image-gallery

A gallery for photos.
JavaScript
2
star
26

docs.canner.io

Canner official documentation
JavaScript
1
star
27

react-window-detect-dimensions

Wrapper component that detects window resize and pass down to children
JavaScript
1
star
28

get-selection-range

Get current cursor's selection range
JavaScript
1
star
29

gatsby-plugin-canner-schema

Gatsby plugin for using Canner schema
JavaScript
1
star
30

docs.gqlify.com

Document of gqlify
JavaScript
1
star
31

image-service-config

Help you setup configurations in ant design uploader, support imgur, Firebase client, Firebase admin
JavaScript
1
star
32

canner-quick-start

The simplest example of building a CMS with Canner
JavaScript
1
star
33

grid-breakpoint

Automatically add breakpoints to your grids
JavaScript
1
star
34

antd-cms-component-docs

๐Ÿœ Documentation for antd-cms-component
JavaScript
1
star
35

victory-canner-components

A chart library for Canner, based on Victory Chart
JavaScript
1
star