Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
140 repos in LLM & RAG frameworks matching “rag”
Libraries for building apps on large language models, retrieval and prompts.
LLM & RAG frameworks
Stars:500VARAG
Vision-Augmented Retrieval and Generation (VARAG) - Vision first RAG Engine
Python · updated 1 year agoDetails›LLM & RAG frameworks
Stars:492RAGNotebook
基于LangChain、LangGraph、FastAPI和React的RAG项目,主分支为基于知识图谱的知识管理平台,base-rag分支为完整的向量RAG项目供学习使用
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:487issue-rag
RAG over GitHub issues, with a hand-reviewed eval set and an audit of the judge itself. Reports the interval, not just the best number.
Python · MIT · updated 27 days agoDetails›LLM & RAG frameworks
Stars:475rag-all-techniques
Implementation of all RAG techniques in a simpler way(以简单的方式实现所有 RAG 技术)
Jupyter Notebook · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:466rag
Retrieval Augmented Generation (RAG) with txtai. Combine search and LLMs to find insights with your own data.
Python · Apache-2.0 · updated 5 months agoDetails›LLM & RAG frameworks
Stars:464Video-RAG-master
[NeurIPS 2025] This is the official implementation of our paper "Video-RAG: Visually-aligned Retrieval-Augmented Long Video Comprehension"
Python · updated 5 months agoDetails›LLM & RAG frameworks
Stars:463HyperGraphRAG
[NeurIPS 2025] Official resources of "HyperGraphRAG: Retrieval-Augmented Generation via Hypergraph-Structured Knowledge Representation".
Python · MIT · updated 29 days agoDetails›LLM & RAG frameworks
Stars:430graphrag-visualizer
A web-based tool for visualizing and exploring artifacts from Microsoft's GraphRAG.
TypeScript · MIT · updated 9 months agoDetails›LLM & RAG frameworks
Stars:427open-rag-eval
RAG evaluation without the need for "golden answers"
Python · Apache-2.0 · updated 1 month agoDetails›LLM & RAG frameworks
Stars:419CRUD_RAG
CRUD-RAG: A Comprehensive Chinese Benchmark for Retrieval-Augmented Generation of Large Language Models
Python · updated 1 year agoDetails›LLM & RAG frameworks
Stars:386EpsteinFiles-RAG
A RAG pipeline implementation built on the 'Epstein Files 20K' dataset from Hugging Face (Teyler).
Python · MIT · updated 9 months agoDetails›LLM & RAG frameworks
Stars:354rag-all-in-one
Guide to Building RAG (Retrieval-Augmented Generation) Applications
updated 6 months agoDetails›LLM & RAG frameworks
Stars:331Hyper-RAG
"Hyper-RAG: Combating LLM Hallucinations using Hypergraph-Driven Retrieval-Augmented Generation" by Yifan Feng, Hao Hu, Shihui Ying, Xingliang Hou, Shiquan Liu, Mingyuan Yang, Junchang Li, Shaoyi Du, Nanning Zheng, Han Hu, and Yue Gao.
Python · Apache-2.0 · updated 5 months agoDetails›LLM & RAG frameworks
Stars:320rag-experiment-accelerator
The RAG Experiment Accelerator is a versatile tool designed to expedite and facilitate the process of conducting experiments and evaluations using Azure Cognitive Search and RAG pattern.
Python · updated 16 days agoDetails›LLM & RAG frameworks
Stars:314gfm-rag
[NeurIPS'25, ICLR'26] Graph Foundation Model for Retrieval Augmented Generation
Python · Apache-2.0 · updated 2 months agoDetails›LLM & RAG frameworks
Stars:314RAGLAB
[EMNLP 2024: Demo Oral] RAGLAB: A Modular and Research-Oriented Unified Framework for Retrieval-Augmented Generation
Python · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:311PoisonedRAG
[USENIX Security 2025] PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
Python · MIT · updated 10 months agoDetails›LLM & RAG frameworks
Stars:280Adaptive-rag
按问题复杂度自动分流的电商客服 RAG:简单问题直接回答;复杂问题经过多跳检索并自我纠错;查单、退改通过工具调用完成,且高风险写操作必须先经人工确认。基于 FastAPI 和 LangGraph,混合检索并附带引用,内置离线评测与 Prometheus 指标。涵盖简历写法和项目面试拷打
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:179rag-zero-hallucinations
Handling 10M+ docs using RAG with zero hallucinatons
Jupyter Notebook · MIT · updated 5 months agoDetails›LLM & RAG frameworks
Stars:34Educational_RAG_System
End-to-end educational RAG system: dual-engine retrieval (BM25 + BGE-M3 hybrid vector search), adaptive query strategies (HyDE/sub-query/backtracking), BERT intent classification, BGE-Reranker precision ranking, Chinese-optimized text splitting, and FastAPI SSE streaming —…
Python · updated 5 months agoDetails›LLM & RAG frameworks
Stars:62kpathway
Python ETL framework for stream processing, real-time analytics, LLM pipelines, and RAG.
Python · updated 10 days agoDetails›LLM & RAG frameworks
Stars:53kllama_index
LlamaIndex is the document processing platform for AI
Python · MIT · updated 12 days agoDetails›LLM & RAG frameworks
Stars:27.5kpromptfoo
Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more. Simple declarative configs with command line and CI/CD integration. Used by OpenAI and Anthropic.
TypeScript · MIT · updated 10 days agoDetails›LLM & RAG frameworks
Stars:27.1khaystack
Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal…
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:23.5kopik
Debug, evaluate, and monitor your LLM applications, RAG systems, and agentic workflows with comprehensive tracing, automated evaluations, and production-ready dashboards.
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:15.1keasy-dataset
A powerful tool for creating datasets for LLM fine-tuning 、RAG and Eval
JavaScript · updated 7 months agoDetails›LLM & RAG frameworks
Stars:14.8kllmware
Unified framework for building enterprise RAG pipelines with small, specialized models
Python · Apache-2.0 · updated 2 months agoDetails›LLM & RAG frameworks
Stars:14.3kllm-universe
本项目是一个面向小白开发者的大模型应用开发教程,在线阅读地址:https://datawhalechina.github.io/llm-universe/
Jupyter Notebook · updated 3 months agoDetails›LLM & RAG frameworks
Stars:10.5kFalkorDB
A super fast Graph Database uses GraphBLAS under the hood for its sparse adjacency matrix graph representation. Our goal is to provide the best Knowledge Graph for LLM (GraphRAG).
Rust · updated 10 days agoDetails›LLM & RAG frameworks
Stars:9.6kpaper-qa
High accuracy RAG for answering questions from scientific documents with citations
Python · Apache-2.0 · updated 15 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.