AI channel
RAG

Open-source RAG frameworks

Retrieval-augmented generation (RAG) makes a language model answer from your own documents. The text is split into chunks, turned into vectors and stored in an index, and the most relevant chunks are added to the prompt when a question comes in. The projects here cover the whole pipeline or one part of it: document parsing, vector search, or a complete question-answering app.

How to choose

Answer quality in RAG depends mostly on retrieval, not on the model. Compare how each project handles difficult documents such as PDFs, tables and scans, whether it supports hybrid search that combines keywords with vectors and re-ranking, and whether it shows which sources an answer came from.

Most-starred projects

97–120 of 642
evidentlyai

evidently

★ 7,923

Evidently is ​​an open-source ML and LLM observability framework. Evaluate, test, and monitor any AI-powered system or data pipeline. From tabular data to Gen AI. 100+ metrics.

Jupyter Notebook
★ 7,870

22 prompt engineering techniques with hands-on Jupyter Notebook tutorials, from fundamental concepts to advanced strategies for leveraging LLMs.

Jupyter Notebook
★ 7,773

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.

Python
luhengshiwo

LLMForEverybody

★ 7,395

每个人都能看懂的大模型知识分享,LLMs春/秋招大模型面试前必看,让你和面试官侃侃而谈

Jupyter Notebook
DataTalksClub

llm-zoomcamp

★ 7,356

LLM Zoomcamp - a free online course about real-life applications of LLMs. In 10 weeks you will learn how to build an AI system that answers questions about your knowledge base. Register here 👇🏼

Jupyter Notebook
xerrors

Yuxi

★ 7,235

可私有部署的多租户知识智能体平台:统一 RAG、知识图谱、多智能体、MCP/Skills、沙盒与权限管理。Self-hosted knowledge agent platform for RAG, knowledge graphs and multi-agent workflows.

Python
plastic-labs

honcho

★ 7,222

Memory library for building stateful agents

Python
bhaskatripathi

pdfGPT

★ 7,163

PDF GPT allows you to chat with the contents of your PDF file by using GPT capabilities. The most effective open source solution to turn your pdf files in a chatbot!

Python
AIPentest

CyberStrikeAI

★ 7,096

The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

Go
★ 6,888

Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML

Python
dataease

SQLBot

★ 6,861

🔥 基于大模型和 RAG 的智能问数系统,对话式数据分析神器。Text-to-SQL Generation via LLMs using RAG.

JavaScript
Osmantic

ODS

★ 6,825

Turn your PC, Mac, or Linux box into an AI server. LLM inference, chat UI, voice, agents, workflows, RAG, and image generation.

Python
★ 6,758

《大模型与智能体》电子书与 6 个编程任务:Transformer、mini-GPT、SFT/DPO、RAG、工具调用与编程智能体。

Python
pig-mesh

pig

★ 6,690

↥ ↥ ↥ Follow for updates An RBAC permission management system based on Spring Cloud 2025, Spring Boot 4, and OAuth2.

Java
airweave-ai

airweave

★ 6,560

Open-source context retrieval layer for AI agents. Open-source context retrieval layer for AI agents and RAG systems.

Python
genkit-ai

genkit

★ 6,457

Open-source framework for building agentic apps in JavaScript, Go, Dart, and Python, built and used in production by Google

TypeScript
MaterializeInc

materialize

★ 6,368

The live data layer for apps and AI agents. Create up-to-the-second views into your business, just using SQL

Rust
HelixDB

helix-db

★ 6,103

HelixDB is an OLTP graph database with native vector and full-text search built in Rust on Object Storage.

Rust
cactus-compute

cactus

★ 6,062

Quantization, kernels, runtime and inference engine for mobiles, wearables, smart home and robots.

C++
opengoofy

hippo4j

★ 6,000

📌 异步线程池框架,支持线程池动态变更&监控&报警,无需修改代码轻松引入。Asynchronous thread pool framework, support Thread Pool Dynamic Change & monitoring & Alarm, no need to modify the code easily introduced.

Java
clusterzx

paperless-ai

★ 5,953

An automated document analyzer for Paperless-ngx using OpenAI API, Ollama, Deepseek-r1, Azure and all OpenAI API compatible Services to automatically analyze and tag your documents.

JavaScript
ModelEngine-Group

nexent

★ 5,890

Nexent is a zero-code platform for auto-generating production-grade AI agents using Harness Engineering principles, unified tools, skills, memory, and orchestration with built-in constraints, feedback loops, and control planes.

Python
Giskard-AI

giskard-oss

★ 5,822

🐢 Open-Source Evaluation & Testing library for LLM Agents

Python
PySpur-Dev

pyspur

★ 5,792

A visual playground for agentic workflows: Iterate over your agents 10x faster

TypeScript