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 (92.4K stars), Prompt-Engineering-Guide (79.3K stars) and elasticsearch (78.3K stars). GitHub.Locker tracks 56 Retrieval-augmented-generation repositories with 1.1M stars combined. The fastest-growing on October 17 was FalkorDB, with +122 stars in a day.

56Projects
1.1MStars in total
+727Stars in a day

Hot right now

Most stars gained in a day · Oct 17

The all-time top

56 projects · by stars

  1. #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.

    92.4K
  2. #2 · dair-ai/Prompt-Engineering-Guide

    Prompt-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.

    79.3K
  3. #3 · elastic/elasticsearch

    elasticsearch

    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.

    78.3K
  1. 4

    serviette

    58.8Kpathwaycom/serviette · Python

    This 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.

  2. 5

    llama_index

    52.5Krun-llama/llama_index · Python

    LlamaIndex 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.

  3. 6

    LibreChat

    45.9KLibreChat-AI/LibreChat · TypeScript

    LibreChat 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.

  4. 7

    LightRAG

    40.2KHKUDS/LightRAG · Python

    LightRAG 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.

  5. 8

    PageIndex

    39.2KVectifyAI/PageIndex · Python

    PageIndex 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.

  6. 9

    Langchain-Chatchat

    38.7Kchatchat-space/Langchain-Chatchat · Python

    Langchain-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.

  7. 10

    ai-engineering-hub

    38.4Kpatchy631/ai-engineering-hub · Jupyter Notebook

    A curated collection of 93+ tutorials and real-world project implementations covering LLMs, RAG systems, and AI agents, organized by difficulty level.

  8. 11

    graphrag

    36.4Kmicrosoft/graphrag · Python

    GraphRAG 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.

  9. 12

    storm

    31.7Kstanford-oval/storm · Python

    STORM 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.

  10. 13

    RAG_Techniques

    29.9KNirDiamant/RAG_Techniques · Jupyter Notebook

    A community-driven hub of advanced techniques for Retrieval-Augmented Generation (RAG) — grounding LLM answers in retrieved documents, distilled into runnable notebook tutorials.

  11. 14

    chroma

    29.5Kchroma-core/chroma · Rust

    Chroma 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.

  12. 15

    haystack

    26.8Kdeepset-ai/haystack · Python

    An 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.

  13. 16

    kotaemon

    25.8KCinnamon/kotaemon · Python

    Kotaemon 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.

  14. 17

    RAG-Anything

    23.7KHKUDS/RAG-Anything · Python

    An 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.

  15. 18

    localGPT

    22.2KPromtEngineer/localGPT · Python

    LocalGPT 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.

  16. 19

    chatgpt-retrieval-plugin

    21.3Kopenai/chatgpt-retrieval-plugin · Python

    An open-source retrieval backend for ChatGPT: it indexes your personal or work documents in a vector database and answers natural-language questions with the most relevant snippets — the RAG pattern. Enterprises use it to make internal docs searchable through ChatGPT.

  17. 20

    sentence-transformers

    19.2Khuggingface/sentence-transformers · Python

    Sentence 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.

  18. 21

    turbovec

    17.4KRyanCodrai/turbovec · Rust

    A 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.

  19. 22

    Qwen-Agent

    17.2KQwenLM/Qwen-Agent · Python

    Qwen-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.

  20. 23

    memvid

    16.6Kmemvid/memvid · Rust

    Memvid 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.

  21. 24

    ai-pdf-chatbot-langchain

    16.6Kmayooear/ai-pdf-chatbot-langchain · TypeScript

    This is a template project for an AI chatbot agent that ingests PDF documents, stores their embeddings in a vector database (Supabase), and answers user questions about them using an LLM like OpenAI, orchestrated with LangChain and LangGraph.

  22. 25

    llmware

    14.8Kllmware-ai/llmware · Python

    llmware 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.

  23. 26

    semantica

    14.1Ksemantica-agi/semantica · Python

    Semantica 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. 27

    gorilla

    13.1KShishirPatil/gorilla · Python

    Gorilla 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.

  25. 28

    LEANN

    13KStarTrail-org/LEANN · Python

    LEANN 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. 29

    txtai

    13Kneuml/txtai · Python

    txtai 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. 30

    Agent-S

    12.6Ksimular-ai/Agent-S · Python

    Agent 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.

  28. 31

    FlagEmbedding

    12.3KFlagOpen/FlagEmbedding · Python

    FlagEmbedding (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.

  29. 32

    all-in-rag

    12.2Kdatawhalechina/all-in-rag · Python

    This 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.

  30. 33

    LMCache

    12.1KLMCache/LMCache · Python

    LMCache 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. 34

    PocketFlow

    11.3KThe-Pocket/PocketFlow · Python

    Pocket 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.

  32. 35

    nlp_course

    10.7Kyandexdataschool/nlp_course · Jupyter Notebook

    This 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.

  33. 36

    orama

    10.6Koramasearch/orama · TypeScript

    Orama 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.

  34. 37

    FalkorDB

    10.4KFalkorDB/FalkorDB · Rust

    FalkorDB 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.

  35. 38

    production-agentic-rag-course

    9.8Kjamwithai/production-agentic-rag-course · Python

    This 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.

  36. 39

    all-agentic-architectures

    4.6KFareedKhan-dev/all-agentic-architectures · Jupyter Notebook

    A 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.

  37. 40

    m_flow

    4.5KFlowElement-xinliuyuansu/m_flow · Python

    M-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.

  38. 41

    ragent

    4.3Knageoffer/ragent · Java

    Ragent 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.

  39. 42

    agentic-rag-for-dummies

    4.3KGiovanniPasq/agentic-rag-for-dummies · Jupyter Notebook

    It 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.

  40. 43

    Hyper-Extract

    4.2Kyifanfeng97/Hyper-Extract · Python

    Hyper-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.

  41. 44

    knowhere

    3.8KOntos-AI/knowhere · Python

    Knowhere 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.

  42. 45

    MSA

    3.5KEverMind-AI/MSA · Python

    MSA (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.

  43. 46

    delivery-harness

    1.7Kdiudiu-tech/delivery-harness · Java

    An 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.

  44. 47

    fastembed-rs

    1Kanush008/fastembed-rs · Rust

    A 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.

  45. 48

    XRAG

    811DocAILab/XRAG · Python

    XRAG 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.

  46. 49

    ai-system-design

    705amitshekhariitbhu/ai-system-design · Markdown

    A 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.

  47. 50

    ai-engineer-notebooks

    701calmrocks/ai-engineer-notebooks · Jupyter Notebook

    A 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.

  48. 51

    awesome-jev

    602kydlikebtc/awesome-jev · Python

    A 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.

  49. 52

    GLiClass

    563Knowledgator/GLiClass · Python

    GLiClass 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.

  50. 53

    Awesome-Graph-Engineering

    383DEEP-JLU/Awesome-Graph-Engineering

    A 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.

  51. 54

    zilan

    200lxcshine/zilan · Go

    Zilan 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.

  52. 55

    openhikmah-web

    181OpenHikmah/openhikmah-web · TypeScript

    Open 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.

  53. 56

    LLMSearchRecommender

    124alopatenko/LLMSearchRecommender

    A curated compendium of research papers, surveys, and industry engineering practices on using Generative AI and LLMs to build search engines, recommender systems, personalization engines, and question-answering systems.

Often tagged together