跳到主要内容

RAG 知识库开源项目排行

按 star 排行的开源项目速查

匹配 39 个项目数据采集于 2026-08-04
dify★ 151kfork 24kTypeScriptlanggenius官网

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so …

agentagentic-aiagentic-frameworkagentic-workflow
open-webui★ 148kfork 21kPythonopen-webui官网

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

aillmllm-uillm-webui
langchain★ 143kfork 24kPythonlangchain-ai官网

The agent engineering platform.

agentsaiai-agentsanthropic
awesome-llm-apps★ 130kfork 19kPythonShubhamsaboo官网

100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.

agentsllmspythonrag
claude-mem★ 90kfork 7.8kJavaScriptthedotmack官网

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant…

aiai-agentsai-memoryanthropic
PaddleOCR★ 87kfork 11kPythonPaddlePaddle官网

Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLM…

ai4sciencechineseocrdocument-parsingdocument-translation
ragflow★ 87kfork 10kGoinfiniflow官网

RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior…

agent-harnessagentic-aiagentic-retrievalagentic-search
Prompt-Engineering-Guide★ 77kfork 8.5kMDXdair-ai官网

🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.

agentagentsai-agentschatgpt
hello-agents★ 71kfork 8.8kPythondatawhalechina官网

📚 《从零开始构建智能体》——从零开始的智能体原理与实践教程

agentllmragtutorial
headroom★ 65kfork 4.9kPythonheadroomlabs-ai官网

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same …

agentaianthropicclaude-code
anything-llm★ 64kfork 7.1kJavaScriptMintplex-Labs官网

Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience

agent-computeragent-harnessagent-orchestrationagentic-ai
mem0★ 63kfork 7.3kPythonmem0ai官网

Universal memory layer for AI Agents

agentsaiai-agentsapplication
llm-app★ 59kfork 1.5kJupyter Notebookpathwaycom官网

Ready-to-run cloud templates for RAG, AI pipelines, and enterprise search with live data. 🐳Docker-friendly.⚡Always in sync with Sharepoint, Google D…

chatbothugging-facellmllm-local
Flowise★ 55kfork 25kTypeScriptFlowiseAI官网

Build AI Agents, Visually

agentic-aiagentic-workflowagentsartificial-intelligence
llama_index★ 51kfork 7.9kPythonrun-llama官网

LlamaIndex is the leading document agent and OCR platform

agentsapplicationdatafine-tuning
JeecgBoot★ 47kfork 16kJavajeecgboot官网

【低代码迈入v2.0时代,一句话即可生成整个系统】企业级AI低代码平台,一键生成前后端代码甚至整个系统。 AI Skills 一句话画流程、设计表单、生成报表、大屏。内置 AI应用平台涵盖:AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领AI低代码「Skills 生成 → 在线配置 …

activitiagentaiantd
milvus★ 46kfork 4.2kGomilvus-io官网

Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search

annscloud-nativediskanndistributed
quivr★ 39kfork 3.7kPythonQuivrHQ2025-07 后未更新官网

Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisati…

aiapichatbotchatgpt
langgraph★ 39kfork 6.5kPythonlangchain-ai官网

Build resilient agents.

agentsaiai-agentschatgpt
Langchain-Chatchat★ 39kfork 6.3kPythonchatchat-space

Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 | Langchain-Chatchat (formerly langchain-ChatGLM), l…

chatbotchatchatchatglmchatgpt
LightRAG★ 39kfork 5.4kPythonHKUDS官网

[EMNLP2025] "LightRAG: Simple and Fast Retrieval-Augmented Generation"

genaigptgpt-4graphrag
ai-engineering-hub★ 37kfork 6.1kJupyter Notebookpatchy631官网

In-depth tutorials on LLMs, RAGs and real-world AI agent applications.

agentsaillmsmachine-learning
khoj★ 36kfork 2.3kPythonkhoj-ai官网

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any onl…

agentaiassistantchat
Vane★ 36kfork 4.0kTypeScriptItzCrazyKns

Vane is an AI-powered answering engine.

ai-agentsai-search-engineanswering-engineartificial-intelligence
graphrag★ 35kfork 3.7kPythonmicrosoft官网

A modular graph-based Retrieval-Augmented Generation (RAG) system

gptgpt-4gpt4graphrag
PageIndex★ 35kfork 3.1kPythonVectifyAI官网

📑 PageIndex: Document Index for Vectorless, Reasoning-based RAG

agentic-aiagentsaiai-agents
happy-llm★ 33kfork 3.1kJupyter Notebookdatawhalechina官网

📚 从零开始构建大模型

agentllmrag
DeepTutor★ 32kfork 4.2kPythonHKUDS官网

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

ai-agentsai-tutorclawdbotcli-tool
ai-agent-book★ 32kfork 3.4kPythonbojieli

《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码

agentagent-memoryai-agentbook
onyx★ 31kfork 4.3kPythononyx-dot-app官网

Open Source AI Platform - AI Chat with advanced features that works with every LLM

aiai-chatchatgptchatui
graphiti★ 30kfork 3.0kPythongetzep官网

Build Real-Time Knowledge Graphs for AI Agents

agentsgraphllmsrag
sim★ 29kfork 3.8kTypeScriptsimstudioai官网

Build, deploy, and orchestrate AI agents. Sim is the central intelligence layer for your AI workforce.

agent-workflowagentic-workflowagentsai
FastGPT★ 29kfork 7.3kTypeScriptlabring官网

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG ret…

agentclaudedeepseekllm
Scrapegraph-ai★ 29kfork 2.8kPythonScrapeGraphAI官网

Python scraper based on AI

ai-crawlerai-scrapingai-searchcrawler
RAG_Techniques★ 29kfork 3.5kJupyter NotebookNirDiamant官网

This repository showcases various advanced techniques for Retrieval-Augmented Generation (RAG) systems. Each technique has a detailed notebook tutori…

agentic-ragaiembeddingsgenerative-ai
opendataloader-pdf★ 28kfork 2.7kJavaopendataloader-project官网

PDF Parser for AI-ready data. Automate PDF accessibility. Open-source.

a11yaccessibilityaibounding-box
haystack★ 26kfork 3.0kPythondeepset-ai官网

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflo…

agent-frameworkagentic-aiagentic-ragagents
kotaemon★ 26kfork 2.1kPythonCinnamon官网

An open-source RAG-based tool for chatting with your documents.

chatbotllmsopen-sourcerag
12-factor-agents★ 25kfork 1.9kTypeScripthumanlayer

What are the principles we can use to build LLM-powered software that is actually good enough to put in the hands of production customers?

12-factor12-factor-agentsagentsai

RAG 知识库 · GitHub star 排行 Top 30

检索增强生成,把私有文档接进大模型的核心方案。下表按 GitHub star 数从高到低排列,共收录 39 个相关开源项目, 使用上方的筛选器可以按活跃度、编程语言进一步过滤。

排名项目Star语言最后更新
1langgenius/dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so …
151kTypeScript2026-08
2open-webui/open-webui
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
148kPython2026-08
3langchain-ai/langchain
The agent engineering platform.
143kPython2026-08
4Shubhamsaboo/awesome-llm-apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
130kPython2026-08
5thedotmack/claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant…
90kJavaScript2026-08
6PaddlePaddle/PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLM…
87kPython2026-07
7infiniflow/ragflow
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior…
87kGo2026-08
8dair-ai/Prompt-Engineering-Guide
🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
77kMDX2026-03
9datawhalechina/hello-agents
📚 《从零开始构建智能体》——从零开始的智能体原理与实践教程
71kPython2026-08
10headroomlabs-ai/headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same …
65kPython2026-08
11Mintplex-Labs/anything-llm
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience
64kJavaScript2026-08
12mem0ai/mem0
Universal memory layer for AI Agents
63kPython2026-08
13pathwaycom/llm-app
Ready-to-run cloud templates for RAG, AI pipelines, and enterprise search with live data. 🐳Docker-friendly.⚡Always in sync with Sharepoint, Google D…
59kJupyter Notebook2026-07
14FlowiseAI/Flowise
Build AI Agents, Visually
55kTypeScript2026-08
15run-llama/llama_index
LlamaIndex is the leading document agent and OCR platform
51kPython2026-08
16jeecgboot/JeecgBoot
【低代码迈入v2.0时代,一句话即可生成整个系统】企业级AI低代码平台,一键生成前后端代码甚至整个系统。 AI Skills 一句话画流程、设计表单、生成报表、大屏。内置 AI应用平台涵盖:AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领AI低代码「Skills 生成 → 在线配置 …
47kJava2026-07
17milvus-io/milvus
Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search
46kGo2026-08
18QuivrHQ/quivr
Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisati…
39kPython2025-07
19langchain-ai/langgraph
Build resilient agents.
39kPython2026-08
20chatchat-space/Langchain-Chatchat
Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 | Langchain-Chatchat (formerly langchain-ChatGLM), l…
39kPython2025-11
21HKUDS/LightRAG
[EMNLP2025] "LightRAG: Simple and Fast Retrieval-Augmented Generation"
39kPython2026-08
22patchy631/ai-engineering-hub
In-depth tutorials on LLMs, RAGs and real-world AI agent applications.
37kJupyter Notebook2026-07
23khoj-ai/khoj
Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any onl…
36kPython2026-08
24ItzCrazyKns/Vane
Vane is an AI-powered answering engine.
36kTypeScript2026-04
25microsoft/graphrag
A modular graph-based Retrieval-Augmented Generation (RAG) system
35kPython2026-08
26VectifyAI/PageIndex
📑 PageIndex: Document Index for Vectorless, Reasoning-based RAG
35kPython2026-08
27datawhalechina/happy-llm
📚 从零开始构建大模型
33kJupyter Notebook2026-05
28HKUDS/DeepTutor
DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.
32kPython2026-08
29bojieli/ai-agent-book
《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码
32kPython2026-08
30onyx-dot-app/onyx
Open Source AI Platform - AI Chat with advanced features that works with every LLM
31kPython2026-08

怎么看这份榜单

star 数反映的是知名度而不是代码质量——教程、清单类仓库天然更容易积累 star, 而一些工程质量极高的底层库反而不显眼。选型时建议把「最后更新」这一列一起看: 超过一年没有提交的项目,往往意味着维护已经停滞,接入前需要评估风险。

想看其他方向的排行,可以返回GitHub 高星项目榜切换维度。

常见问题

RAG 知识库方向最值得关注的项目是哪个?
按 star 数排序,当前榜首是 dify。不过 star 高低只代表知名度,选型时建议结合项目的最后更新时间、issue 响应速度和自己的技术栈综合判断。
这个榜单多久更新一次?
榜单为人工触发的快照式采集,当前数据采集于 2026-08-04。开源项目的 star 数每日变动,排名可能与你访问 GitHub 时略有出入。