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.
74 repos in LLM & RAG frameworks matching “retrieval”
Libraries for building apps on large language models, retrieval and prompts.
LLM & RAG frameworks
Stars:2.8kclip-retrieval
Easily compute clip embeddings and build a clip retrieval system with them
Jupyter Notebook · MIT · updated 8 months agoDetails›LLM & RAG frameworks
Stars:1.1kRAG-Retrieval
Unify Efficient Fine-tuning of RAG Retrieval, including Embedding, ColBERT, ReRanker.
Python · MIT · updated 3 months agoDetails›LLM & RAG frameworks
Stars:308A-Guide-to-Retrieval-Augmented-LLM
an intro to retrieval augmented large language model
updated 3 years agoDetails›LLM & RAG frameworks
Stars:94.5kragflow
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
Go · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:40.8kLightRAG
[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation
Python · MIT · updated 10 days agoDetails›LLM & RAG frameworks
Stars:36.7kgraphrag
A modular graph-based Retrieval-Augmented Generation (RAG) system
Python · MIT · updated 12 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:24.7kRAG-Anything
"RAG-Anything: All-in-One RAG Framework"
Python · MIT · updated 15 days agoDetails›LLM & RAG frameworks
Stars:19.3ksentence-transformers
State-of-the-Art Embeddings, Retrieval, and Reranking
Python · Apache-2.0 · updated 11 days 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:12.3kFlagEmbedding
Retrieval and Retrieval-augmented LLMs
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:9.2kKAG
KAG is a logical form-guided reasoning and retrieval framework based on OpenSPG engine and LLMs. It is used to build logical reasoning and factual Q&A solutions for professional domain knowledge bases. It can effectively overcome the shortcomings of the traditional RAG vector…
Python · Apache-2.0 · updated 12 days agoDetails›LLM & RAG frameworks
Stars:8.1kR2R
SoTA production-ready AI retrieval system. Agentic Retrieval-Augmented Generation (RAG) with a RESTful API.
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:4.4kmemory-lancedb-pro
Enhanced LanceDB memory plugin for OpenClaw — Hybrid Retrieval (Vector + BM25), Cross-Encoder Rerank, Multi-Scope Isolation, Management CLI
JavaScript · updated 12 days agoDetails›LLM & RAG frameworks
Stars:3.7kmorphik-core
Open-source multimodal retrieval engine (Morphik Core)
Python · updated 11 days agoDetails›LLM & RAG frameworks
Stars:3.6kFlashRAG
FlashRAG: A Python Toolkit for Efficient RAG Research (WWW2025 Resource)
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:3.5kVideoRAG
[KDD'2026] "VideoRAG: Chat with Your Videos"
Python · updated 8 months agoDetails›LLM & RAG frameworks
Stars:3.5kmteb
MTEB: State-of-the-art evaluation of embeddings across languages and modalities
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:2.9kcolpali
The code used to train and run inference with the ColVision models, e.g. ColPali, ColQwen2, and ColSmol.
Python · MIT · updated 2 months agoDetails›LLM & RAG frameworks
Stars:2.3kbeir
A Heterogeneous Benchmark for Information Retrieval. Easy to use, evaluate your models across 15+ diverse IR datasets.
Python · Apache-2.0 · updated 1 year agoDetails›LLM & RAG frameworks
Stars:2.3kedgequake
EdegQuake High-performance GraphRAG inspired from LightRag written in Rust; Transform documents into intelligent knowledge graphs for superior retrieval and generation
Rust · Apache-2.0 · updated 14 days agoDetails›LLM & RAG frameworks
Stars:2kMiniRAG
[ACL2026] "MiniRAG: Making RAG Simpler with Small and Open-Sourced Language Models"
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:2kRAGHub
A community-driven collection of RAG (Retrieval-Augmented Generation) frameworks, projects, and resources. Contribute and explore the evolving RAG ecosystem.
MIT · updated 4 months agoDetails›LLM & RAG frameworks
Stars:1.8kbm25s
Fast BM25 search in Python, powered by Numpy and Numba
Python · MIT · updated 18 days agoDetails›LLM & RAG frameworks
Stars:1.6kSAG-Wiki
A lightweight knowledge base for people and agents, with ultra fast indexing and most precise retrieval.
Rust · MIT · updated 10 days agoDetails›LLM & RAG frameworks
Stars:1.5kragbuilder
A toolkit to create optimal Production-readyRetrieval Augmented Generation(RAG) setup for your data
Python · Apache-2.0 · updated 1 month agoDetails›LLM & RAG frameworks
Stars:1.5krag-zero-to-hero-guide
Comprehensive guide to learn RAG from basics to advanced.
Jupyter Notebook · Apache-2.0 · updated 1 year agoDetails›LLM & RAG frameworks
Stars:1kFlashRank
Lite & Super-fast re-ranking for your search & retrieval pipelines. Supports SoTA Listwise and Pairwise reranking based on LLMs and cross-encoders and more. Created by Prithivi Da, open for PRs & Collaborations.
Python · Apache-2.0 · updated 4 months agoDetails›LLM & RAG frameworks
Stars:950KG_RAG
Empower Large Language Models (LLM) using Knowledge Graph based Retrieval-Augmented Generation (KG-RAG) for knowledge intensive tasks
Jupyter Notebook · Apache-2.0 · updated 2 years agoDetails›LLM & RAG frameworks
Stars:915motorhead
Motorhead is a memory and information retrieval server for LLMs.
Rust · 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.