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

145–168 of 642
FlowElement-xinliuyuansu

m_flow

★ 4,511

A bio-inspired cognitive memory engine — a new paradigm for Graph RAG.

Python
★ 4,454

Enhanced LanceDB memory plugin for OpenClaw — Hybrid Retrieval (Vector + BM25), Cross-Encoder Rerank, Multi-Scope Isolation, Management CLI

JavaScript
Anakin-Inc

anakin

★ 4,441

Open-source web scraping API. Turn any website into clean markdown or structured JSON. Anti-detect browser, proxy auto-selection, self-hosted. One command: make up

Go
gptme

gptme

★ 4,438

Your agent in your terminal, equipped with local tools: writes code, uses the terminal, browses the web. Make your own persistent autonomous agent on top!

Python
zgsm-ai

costrict

★ 4,438

Costrict - strict AI coder for enterprises, quality first, including AI Agent, AI CodeReview, AI Completion.

TypeScript
★ 4,423

One delightful Ruby framework for every major AI provider. Build AI agents, chatbots, RAG apps, and multimodal workflows in beautiful, expressive code.

Ruby
★ 4,399

Technical resources for AI developers to build applications, agents, and systems using Oracle AI Database and OCI services

Jupyter Notebook
decodingai-magazine

llm-twin-course

★ 4,391

🤖 𝗟𝗲𝗮𝗿𝗻 for 𝗳𝗿𝗲𝗲 how to 𝗯𝘂𝗶𝗹𝗱 an end-to-end 𝗽𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝗼𝗻-𝗿𝗲𝗮𝗱𝘆 𝗟𝗟𝗠 & 𝗥𝗔𝗚 𝘀𝘆𝘀𝘁𝗲𝗺 using 𝗟𝗟𝗠𝗢𝗽𝘀 best practices: ~ 𝘴𝘰𝘶𝘳𝘤𝘦 𝘤𝘰𝘥𝘦 + 12 𝘩𝘢𝘯𝘥𝘴-𝘰𝘯 𝘭𝘦𝘴𝘴𝘰𝘯𝘴

Python
Renhuai123

ziwei-doushu

★ 4,280

紫微斗数开源排盘引擎 — 基于倪海夏《天纪》体系,含完整排盘算法、四化系统、格局知识库、古籍原文数据

TypeScript
mongodb-developer

GenAI-Showcase

★ 4,265

MongoDB's Generative AI Showcase: an exhaustive collection of examples and sample applications covering Retrieval-Augmented Generation (RAG), AI agents, and industry-specific use cases.

Jupyter Notebook
melgarafael

DeskcommCRM

★ 4,260

Open-source AI sales OS — self-hosted CRM with native AI agents + WhatsApp (WAHA). Open alternative to Kommo, Octadesk & Intercom for any business that sells by chat. MCP-ready, multi-tenant, LGPD.

TypeScript
★ 4,220

A modular Agentic RAG built with LangGraph — learn Retrieval-Augmented Generation Agents in minutes.

Jupyter Notebook
SylphAI-Inc

AdalFlow

★ 4,218

AdalFlow: The library to build & auto-optimize LLM applications.

Python

Become skilled in Artificial Intelligence, Machine Learning, Generative AI, Deep Learning, Data Science, Natural Language Processing, Reinforcement Learning and more with this complete 0 to 100 repository.

★ 4,197

Generative AI reference workflows optimized for accelerated infrastructure and microservice architecture.

Jupyter Notebook
★ 4,173

Everything you need to know to build your own RAG application

Jupyter Notebook
lumina-ai-inc

chunkr

★ 4,153

Vision infrastructure to turn complex documents into RAG/LLM-ready data

Rust
nageoffer

ragent

★ 4,150

企业级 Agentic RAG 智能体 - 全链路覆盖文档解析、多路检索、意图识别、问题重写、会话记忆、MCP 工具调用与深度思考。面向真实业务场景,从 0 到 1 完整工程实现。

Java
langroid

langroid

★ 4,107

Harness LLMs with Multi-Agent Programming

Python
★ 4,087

Convert any text to a graph of knowledge. This can be used for Graph Augmented Generation or Knowledge Graph based QnA

Jupyter Notebook
yifanfeng97

Hyper-Extract

★ 4,044

Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.

Python
OSU-NLP-Group

HippoRAG

★ 4,035

[NeurIPS'24] HippoRAG is a novel RAG framework inspired by human long-term memory that enables LLMs to continuously integrate knowledge across external documents. RAG + Knowledge Graphs + Personalized PageRank.

Python
Lightning-AI

LitServe

★ 3,943

A minimal Python framework for building custom AI inference servers with full control over logic, batching, and scaling.

Python
snap-stanford

Biomni

★ 3,915

Biomni: a general-purpose biomedical AI agent

Python