Topics / #retrieval-augmented-generation
Retrieval-augmented-generation projects on GitHub
Spelled-out RAG topic: combining retrieval with generation for grounded answers.
As of , the most-starred Retrieval-augmented-generation projects on GitHub are ragflow (95K stars), Prompt-Engineering-Guide (80.4K stars) and elasticsearch (78.6K stars). GitHub.Locker tracks 61 Retrieval-augmented-generation repositories with 1.1M stars combined. The fastest-growing on December 1 was Hy-Memory, with +117 stars in a day.
Hot right now
Most stars gained in a day · Dec 1
+117Hy-Memory
Tencent-Hunyuan/Hy-Memory · ★ 2.1KHy Memory is a production-grade dual-system cognitive memory engine and Python SDK (hy-memory) for self-evolving LLM agents, with separate memory pipelines for Chat, Working, and Coding tasks. It also ships MemHub, a local-first desktop and CLI tool that unifies memory from apps like Claude Code, Cursor, and Codex into one managed local store.
+91RAG-Anything
HKUDS/RAG-Anything · ★ 24.9KAn all-in-one multimodal RAG framework built on LightRAG: it ingests real-world documents that mix text, images, tables and equations, then answers queries across all content types through one pipeline instead of separate specialized tools.
ragflow
infiniflow/ragflow · ★ 95KRAGFlow is an open-source Retrieval-Augmented Generation (RAG) engine that combines RAG with Agent capabilities to build a context layer for LLMs, turning complex enterprise data into production-ready AI systems.
+40LibreChat
LibreChat-AI/LibreChat · ★ 47.6KLibreChat is a self-hosted AI chat platform that unifies all major AI providers (OpenAI, Anthropic, Google, AWS Bedrock, Azure, Mistral, OpenRouter and more) in a single ChatGPT-like interface, with Agents, MCP support, Code Interpreter and Artifacts built in.
The all-time top
61 projects · by stars
- 95K
#1 · infiniflow/ragflow
ragflow
RAGFlow is an open-source Retrieval-Augmented Generation (RAG) engine that combines RAG with Agent capabilities to build a context layer for LLMs, turning complex enterprise data into production-ready AI systems.
- 80.4K
#2 · dair-ai/Prompt-Engineering-GuidePrompt-Engineering-Guide
This is DAIR.AI's Prompt Engineering Guide: a large, continuously updated collection of guides, papers, lecture notes, and notebooks covering prompt engineering techniques, context engineering, retrieval-augmented generation (RAG), and building AI agents with LLMs.
- 78.6K
#3 · elastic/elasticsearchelasticsearch
Elasticsearch is a distributed search and analytics engine, scalable data store, and vector database built for near real-time full-text search, vector search, and generative AI (RAG) use cases on production-scale data; it's the core of Elastic's Stack platform.
Deploy on Railway
- 4

serviette
58.7Kpathwaycom/serviette · PythonThis repo provides ready-to-run cloud templates for RAG pipelines, AI pipelines, and enterprise search, built on the Pathway Live Data Framework and kept in sync with live data sources.
- 5

llama_index
53.1Krun-llama/llama_index · PythonLlamaIndex is an open-source Python framework for building agentic applications that augment LLMs with your own private data, letting you ingest, index, and query documents with LLM-powered pipelines.
- 6

LibreChat
47.6KLibreChat-AI/LibreChat · TypeScriptLibreChat is a self-hosted AI chat platform that unifies all major AI providers (OpenAI, Anthropic, Google, AWS Bedrock, Azure, Mistral, OpenRouter and more) in a single ChatGPT-like interface, with Agents, MCP support, Code Interpreter and Artifacts built in.
- 7

ai-engineering-hub
42.2Kpatchy631/ai-engineering-hub · Jupyter NotebookA curated collection of 93+ tutorials and real-world project implementations covering LLMs, RAG systems, and AI agents, organized by difficulty level.
- 8
PageIndex
40.9KVectifyAI/PageIndex · PythonPageIndex is a vectorless, reasoning-based RAG (Retrieval-Augmented Generation) engine. Instead of a vector database and chunking, it builds a hierarchical tree index that mirrors a document's structure and lets an LLM reason its way through that tree to find relevant sections, the way a human expert flips to the right part of a report.
- 9

LightRAG
40.8KHKUDS/LightRAG · PythonLightRAG is an open-source, graph-based RAG framework (EMNLP 2025) by HKUDS. It indexes your documents into a knowledge graph plus vector embeddings so you can query them — a lighter, faster alternative to Microsoft GraphRAG.
- 10

Langchain-Chatchat
38.7Kchatchat-space/Langchain-Chatchat · PythonLangchain-Chatchat is an open-source RAG and Agent application that lets you build a local-knowledge-base Q&A chatbot using LLMs like ChatGLM, Qwen or Llama through the LangChain framework.
- 11

graphrag
36.7Kmicrosoft/graphrag · PythonGraphRAG is Microsoft's data pipeline that extracts structured knowledge from your unstructured text documents using LLMs, builds a knowledge graph from it, and uses that graph as targeted context so an LLM can answer questions about your private data more accurately.
- 12
storm
32Kstanford-oval/storm · PythonSTORM is an LLM-powered system that researches a topic on the Internet and writes a full-length Wikipedia-like report with citations. Co-STORM extends it with human-AI collaborative knowledge curation.
- 13
RAG_Techniques
30.4KNirDiamant/RAG_Techniques · Jupyter NotebookA community-driven hub of advanced techniques for Retrieval-Augmented Generation (RAG) — grounding LLM answers in retrieved documents, distilled into runnable notebook tutorials.
- 14

chroma
29.8Kchroma-core/chroma · RustChroma is open-source data infrastructure for AI: a vector database that powers search for embeddings, used for things like retrieval-augmented generation (RAG) and AI agent memory.
- 15

haystack
27Kdeepset-ai/haystack · PythonAn open-source AI orchestration framework for building production-ready LLM applications in Python: modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation.
- 16

kotaemon
25.9KCinnamon/kotaemon · PythonKotaemon is an open-source RAG tool for chatting with your documents: a clean web UI where you ask questions about your own files, serving both end users and developers.
Deploy on Railway - 17

RAG-Anything
24.9KHKUDS/RAG-Anything · PythonAn all-in-one multimodal RAG framework built on LightRAG: it ingests real-world documents that mix text, images, tables and equations, then answers queries across all content types through one pipeline instead of separate specialized tools.
- 18

localGPT
22.2KPromtEngineer/localGPT · PythonLocalGPT is a fully private, on-premise document intelligence platform: chat with, summarise and query your own documents using LLMs that run locally, so no data ever leaves your machine.
- 19

sentence-transformers
19.3Khuggingface/sentence-transformers · PythonSentence Transformers is a framework for computing embeddings and using or training state-of-the-art embedding and reranker models, covering dense sentence embeddings, cross-encoder rerankers, sparse encoders, and multi-vector (ColBERT-style) encoders.
- 20

turbovec
17.5KRyanCodrai/turbovec · RustA vector index for nearest-neighbor search over embeddings, written in Rust with Python bindings. It is built on Google Research's TurboQuant quantization and aimed at RAG where memory, latency and privacy matter.
- 21
memvid
17.4Kmemvid/memvid · RustMemvid is a single-file memory layer for AI agents: it packs your data, embeddings and search index into one portable .mv2 file, so agents get instant retrieval and long-term memory without a RAG pipeline or a vector database server.
- 22

Qwen-Agent
17.3KQwenLM/Qwen-Agent · PythonQwen-Agent is a framework for building LLM applications on top of Qwen models, using their instruction following, tool use, planning and memory capabilities. It ships with example apps such as a Browser Assistant and Code Interpreter, and it is the backend that powers Qwen Chat.
- 23

semantica
14.9Ksemantica-agi/semantica · PythonSemantica is an open-source, graph-native infrastructure layer that ingests enterprise data and builds a structured Context Graph and knowledge graph with deterministic reasoning, ontology governance, and full decision provenance, so AI systems can be explained and audited instead of treated as black boxes.
- 24

llmware
14.8Kllmware-ai/llmware · Pythonllmware is a Python framework for building enterprise RAG (retrieval-augmented generation) pipelines using small, specialized models that can run locally, on-device, or in private/self-hosted environments instead of relying on large cloud LLMs.
- 25

LEANN
13.8KStarTrail-org/LEANN · PythonLEANN is a vector database that lets you run retrieval-augmented generation (RAG) over millions of personal documents on your own laptop using 97% less storage than traditional vector databases, with no accuracy loss.
- 26

txtai
13.6Kneuml/txtai · Pythontxtai is an all-in-one AI framework for semantic search, LLM orchestration and language model workflows. Its core is an embeddings database that combines vector indexes, graph networks and relational databases to power search or serve as a knowledge source for LLM apps.
- 27
all-in-rag
13.2Kdatawhalechina/all-in-rag · PythonThis is a full-stack tutorial on Retrieval-Augmented Generation (RAG) for developers building LLM applications, covering theory and hands-on practice from basic concepts to production-ready RAG systems.
- 28

gorilla
13.1KShishirPatil/gorilla · PythonGorilla is a Berkeley research project that trains and evaluates LLMs for calling APIs and tools correctly from natural-language requests. It has grown into a suite covering finetuned models (OpenFunctions), the Berkeley Function Calling Leaderboard (BFCL), an execution runtime (GoEx), a RAG fine-tuning recipe (RAFT) and a CLI tool.
- 29

Agent-S
13.1Ksimular-ai/Agent-S · PythonAgent S is an open-source agent framework that controls a real desktop GUI - clicking, typing, and scrolling - to complete natural-language tasks the way a human would, without per-app API integrations.
- 30

LMCache
12.5KLMCache/LMCache · PythonLMCache is a KV cache management layer for LLM inference that turns the KV cache from a temporary, per-process state into reusable, persistent 'AI-native knowledge' that can be shared across serving engines, reducing time-to-first-token and boosting throughput for long-context, multi-turn, and RAG workloads.
- 31

FlagEmbedding
12.4KFlagOpen/FlagEmbedding · PythonFlagEmbedding (BGE) is a one-stop toolkit from BAAI for retrieval and retrieval-augmented LLMs, providing embedding models, rerankers, finetuning scripts, and evaluation tools for search and RAG.
- 32

PocketFlow
11.3KThe-Pocket/PocketFlow · PythonPocket Flow is a minimalist 100-line LLM framework built around a single Graph abstraction, letting you build agents, workflows, and RAG pipelines without heavy dependencies or vendor lock-in.
- 33

nlp_course
10.8Kyandexdataschool/nlp_course · Jupyter NotebookThis is the Yandex School of Data Analysis (YSDA) Natural Language Processing course: a full set of lecture slides, seminar notebooks, and homework assignments organized by week, covering NLP from word embeddings through modern LLM topics.
- 34

orama
10.6Koramasearch/orama · TypeScriptOrama is a complete search engine and RAG pipeline that runs in your browser, on a server or at the edge, with support for full-text, vector and hybrid search.
- 35
FalkorDB
10.5KFalkorDB/FalkorDB · RustFalkorDB is an ultra-fast graph database built on sparse matrix math (GraphBLAS) instead of traditional traversal, designed to power Knowledge Graphs for LLM applications like GraphRAG, agent memory, and fraud detection.
Deploy on Railway - 36

production-agentic-rag-course
10.4Kjamwithai/production-agentic-rag-course · PythonThis is a hands-on, week-by-week course that teaches you to build 'arXiv Paper Curator', a production-grade Retrieval-Augmented Generation (RAG) system that fetches academic papers, indexes them, and answers research questions about them.
- 37

all-agentic-architectures
4.8KFareedKhan-dev/all-agentic-architectures · Jupyter NotebookA Python library and runnable textbook that implements 35 production-grade agentic AI architectures (Reflexion, LATS, GraphRAG, MemGPT, Voyager, BrowserAgent and more), each shipped with a fully executed Jupyter notebook and a shared benchmark leaderboard.
- 38

m_flow
4.5KFlowElement-xinliuyuansu/m_flow · PythonM-flow is a bio-inspired cognitive memory engine that acts as a new paradigm for Graph RAG: instead of just retrieving similar text chunks, it builds a graph of memories and scores answers by the strongest chain of evidence connecting the query to the content, the way human recall works.
- 39

ragent
4.5Knageoffer/ragent · JavaRagent is a production-grade Java platform for Agentic RAG, covering the full chain from document ingestion to intelligent Q&A — including hybrid retrieval, query rewriting, intent recognition, session memory, MCP tool calling and deep thinking.
- 40

agentic-rag-for-dummies
4.4KGiovanniPasq/agentic-rag-for-dummies · Jupyter NotebookIt is a learning project and modular codebase that shows how to build an Agentic RAG (Retrieval-Augmented Generation) system using LangGraph, including conversation memory and human-in-the-loop query clarification.
- 41
Hyper-Extract
4.3Kyifanfeng97/Hyper-Extract · PythonHyper-Extract is a CLI tool that turns unstructured documents (PDFs, Word, text, etc.) into structured knowledge — chunk corpora, lists, graphs, hypergraphs, and spatio-temporal graphs — using LLMs, all from a single command.
- 42

knowhere
4.1KOntos-AI/knowhere · PythonKnowhere is an open-source document parsing and retrieval system: it ingests messy files and turns them into structured, navigable memory for AI agents, ready for agentic RAG and any LLM workflow.
- 43

MSA
3.5KEverMind-AI/MSA · PythonMSA (Memory Sparse Attention) is an end-to-end trainable, scalable latent-memory framework that lets LLMs handle context windows up to 100M tokens, replacing RAG or fixed-size RNN-style memory with a differentiable sparse-attention memory bank.
- 44

Hy-Memory
2.1KTencent-Hunyuan/Hy-Memory · PythonHy Memory is a production-grade dual-system cognitive memory engine and Python SDK (hy-memory) for self-evolving LLM agents, with separate memory pipelines for Chat, Working, and Coding tasks. It also ships MemHub, a local-first desktop and CLI tool that unifies memory from apps like Claude Code, Cursor, and Codex into one managed local store.
- 45

delivery-harness
1.7Kdiudiu-tech/delivery-harness · JavaAn AI harness reference implementation for on-demand delivery operations that combines deterministic workflows, mock business tools, lightweight knowledge retrieval, an OpenAI-compatible model endpoint, evaluation scaffolding, and human-review guardrails.
- 46

memorilla
1.5Ksnap-stanford/memorilla · PythonMemorilla is a memory system that reads a whole document collection, such as a user's past chats or a long book, and gives a frozen LLM just 16 memory tokens relevant to each question.
- 47

SAG-Wiki
1.5KZleap-AI/SAG-Wiki · RustA lightweight local knowledge base for people and agents. It indexes your files so you can search them and ask questions, with answers traced back to the source.
- 48

fastembed-rs
1.1Kanush008/fastembed-rs · RustA Rust library that generates vector embeddings and reranks results entirely locally — no external API calls. It covers dense and sparse text embeddings, image embeddings, multimodal models, and rerankers.
- 49

ai-system-design
898amitshekhariitbhu/ai-system-design · MarkdownA free, open-source guide that teaches AI System Design step by step: how to combine GPUs, inference servers, caches, vector databases, AI agents, guardrails, and evals into one system that is fast, cheap, reliable, and safe.
- 50

carrel
808FengZhenfei/carrel · PythonCarrel is a self-hosted knowledge base for AI agents. It automates document parsing, indexing, and retrieval, with optional knowledge graphs, so an agent can pull source passages, images, and facts from your documents and answer from them.
- 51

ai-engineer-notebooks
751calmrocks/ai-engineer-notebooks · Jupyter NotebookA collection of framework-free, hands-on Jupyter/Colab notebooks teaching the applied-LLM engineer skill set — model APIs, RAG, evals, agents, fine-tuning, security, and LLMOps — built for engineers moving into AI Engineer / Forward Deployed Engineer (FDE) roles.
- 52

agent-me
630jzjzzzzzzz/agent-me · PythonAgent-Me turns your personal knowledge, memories, projects, preferences, and decisions into an open-source, inspectable AI Agent Twin that can retrieve, reason, verify, and eventually act with your context, rather than being just a chatbot.
- 53

XRAG
613DocAILab/XRAG · PythonXRAG is a benchmarking framework that dissects and evaluates the foundational components of Retrieval-Augmented Generation (RAG) systems, such as retrievers, embeddings, and LLMs, to show how different configurations affect overall RAG performance.
- 54
awesome-jev
603kydlikebtc/awesome-jev · PythonA curated index of 1207 public resources for Jev, TypeSafe AI's System One decision model, organised by the decision each resource illustrates. It's an independent catalog, not the product or an SDK.
- 55

GLiClass
583Knowledgator/GLiClass · PythonGLiClass is an efficient zero-shot model for sequence classification, inspired by GLiNER: give it a text and a list of candidate labels, and it classifies the text with accuracy comparable to cross-encoders.
- 56

legwork-osint-ai-investigator
454StormBrawlerSack/legwork-osint-ai-investigator · JavaScriptLegwork is an AI OSINT investigator for Windows. You ask a question in plain words, and it reads public sources and writes an answer where every sentence has a citation.
- 57

Awesome-Graph-Engineering
407DEEP-JLU/Awesome-Graph-EngineeringA curated collection of research papers, benchmarks, and open-source projects accompanying a survey on Graph Engineering for LLM agents, covering the progression from Model Intelligence to Individual Intelligence to System Intelligence.
- 58

casecite
296thomasunise/casecite · PythonCaseCite is an open-source, self-hosted legal research-aid platform: a RAG system over your firm's documents plus caselaw tools (CourtListener), contract review, tabular bulk review, drafting and workflow automation, all behind one login.
- 59
zilan
200lxcshine/zilan · GoZilan is an LLM-powered knowledge management and Q&A platform that unifies RAG quick Q&A, ReAct agent reasoning, and auto-generated Wiki knowledge distillation into one minimalist knowledge hub.
- 60

openhikmah-web
181OpenHikmah/openhikmah-web · TypeScriptOpen Hikmah is an AI-grounded Quran knowledge graph: you search for a verse, drop it on an infinite canvas, and expand it to surface thematic, linguistic (shared Arabic root), and theological connections to other verses.
- 61

Gaussian_Clef_RAG
169myneace/Gaussian_Clef_RAG · PythonGaussian-Clef RAG is a retrieval-augmented generation library that represents every knowledge chunk as a Gaussian distribution on a statistical manifold instead of a flat vector, using information geometry for retrieval instead of plain cosine similarity.
Related topics
Often tagged together
- rag298
- llm1,587
- python2,382
- ai2,005
- open-source5,458
- ai-agents1,510
- self-hosted1,985
- vector-database103
- linux4,252
- semantic-search110
- apache-2.01,439
- docker1,643
- embeddings125
- knowledge-base227
- mit3,168
- machine-learning766
- vector-search74
- server1,346
- agents460
- agent881
- knowledge-graph99
- large-language-models209
- macos3,655
- nlp170