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.
59 repos in LLM & RAG frameworks matching “generation”
Libraries for building apps on large language models, retrieval and prompts.
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:16koutlines
Structured Outputs
Python · Apache-2.0 · updated 2 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:12.3kFlagEmbedding
Retrieval and Retrieval-augmented LLMs
Python · MIT · updated 1 month 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:7.2kSQLBot
基于大模型和 RAG 的智能问数系统,对话式数据分析神器。Text-to-SQL Generation via LLMs using RAG.
JavaScript · updated 11 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: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.6kCAG
Cache-Augmented Generation: A Simple, Efficient Alternative to RAG
Python · MIT · updated 1 year 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:1.1kRAG-Retrieval
Unify Efficient Fine-tuning of RAG Retrieval, including Embedding, ColBERT, ReRanker.
Python · MIT · updated 3 months 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:849AutoSchemaKG
This repository contains the implementation of AutoSchemaKG, a novel framework for automatic knowledge graph construction that combines schema generation via conceptualization.
Python · MIT · updated 7 months 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: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: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›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.