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:914pylate
Late Interaction Models Training & Retrieval
Python · MIT · updated 4 months agoDetails›LLM & RAG frameworks
Stars:869sgpt
SGPT: GPT Sentence Embeddings for Semantic Search
Jupyter Notebook · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:852byaldi
Use late-interaction multi-modal models such as ColPali in just a few lines of code.
Python · Apache-2.0 · updated 1 year agoDetails›LLM & RAG frameworks
Stars:843Medical-Graph-RAG
A Graph RAG System for Evidenced-based Medical Information Retrieval [ACL 2025]
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:824rag
This NVIDIA RAG blueprint serves as a reference solution for a foundational Retrieval Augmented Generation (RAG) pipeline.
ArchivedDetails›LLM & RAG frameworks
Stars:806contrastors
Train Models Contrastively in Pytorch
Python · Apache-2.0 · updated 1 year agoDetails›LLM & RAG frameworks
Stars:705VLM2Vec
This repo contains the code for "VLM2Vec / MMEB" [ICLR 2025], "VLM2Vec-V2 / MMEB-V2" [TMLR 2026], and "MMEB-V3" [COLM 2026]
Python · Apache-2.0 · updated 1 month agoDetails›LLM & RAG frameworks
Stars:677buffer-of-thought-llm
[NeurIPS 2024 Spotlight] Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:645memorizing-transformers-pytorch
Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate nearest neighbors, in Pytorch
Python · MIT · updated 3 years agoDetails›LLM & RAG frameworks
Stars:641EasyRAG
Easy-to-Use RAG Framework; CCF AIOps International Challenge 2024 Top3 Solution; CCF AIOps 国际挑战赛 2024 季军方案
Python · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:637RAG-Driven-Generative-AI
This repository provides programs to build Retrieval Augmented Generation (RAG) code for Generative AI with LlamaIndex, Deep Lake, and Pinecone leveraging the power of OpenAI and Hugging Face models for generation and evaluation.
Jupyter Notebook · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:635clipper.js
HTML to Markdown converter and crawler.
TypeScript · Apache-2.0 · updated 2 years agoDetails›LLM & RAG frameworks
Stars:572LinearRAG
[ICLR 2026] LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora
Python · GPL-3.0 · updated 4 months agoDetails›LLM & RAG frameworks
Stars:552HiRAG
[EMNLP'25 findings] An easy-to-use Graph RAG system using hierarchical knowledge.
Python · MIT · updated 5 months agoDetails›LLM & RAG frameworks
Stars:546Multimodal-RAG-Survey
A Survey on Multimodal Retrieval-Augmented Generation
updated 12 days agoDetails›LLM & RAG frameworks
Stars:519continuous-eval
Data-Driven Evaluation for LLM-Powered Applications
Python · Apache-2.0 · updated 3 months agoDetails›LLM & RAG frameworks
Stars:507Transformers-for-NLP-and-Computer-Vision-3rd-Edition
Transformers 3rd Edition
Jupyter Notebook · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:500VARAG
Vision-Augmented Retrieval and Generation (VARAG) - Vision first RAG Engine
Python · updated 1 year 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: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:455xmc.dspy
In-Context Learning for eXtreme Multi-Label Classification (XMC) using only a handful of examples.
Python · MIT · updated 2 years 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:417adaptive-chunking
Adaptive Chunking: automatically select the best chunking method per document for RAG. Accepted at LREC 2026.
Python · MIT · updated 4 months agoDetails›LLM & RAG frameworks
Stars:404freshqa
Data and code for FreshLLMs (https://arxiv.org/abs/2310.03214)
Jupyter Notebook · Apache-2.0 · updated 7 months agoDetails›LLM & RAG frameworks
Stars:375DataMate
DataMate is an enterprise-level data processing platform designed for model fine-tuning and RAG retrieval.
TypeScript · MIT · updated 20 days agoDetails›LLM & RAG frameworks
Stars:370chonkiejs
CHONK your texts with Chonkie Type-friendly, light-weight, fast and super-simple chunking library
TypeScript · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:354rag-all-in-one
Guide to Building RAG (Retrieval-Augmented Generation) Applications
updated 6 months agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.