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.

61Projects
1.1MStars in total
+704Stars in a day

Hot right now

Most stars gained in a day · Dec 1

The all-time top

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

    95K
  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.

    80.4K
  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.

    Deploy on Railway
    78.6K
  1. 4

    serviette

    58.7Kpathwaycom/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

    53.1Krun-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

    47.6KLibreChat-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

    ai-engineering-hub

    42.2Kpatchy631/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.

  5. 8

    PageIndex

    40.9KVectifyAI/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

    LightRAG

    40.8KHKUDS/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.

  7. 10

    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.

  8. 11

    graphrag

    36.7Kmicrosoft/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

    32Kstanford-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

    30.4KNirDiamant/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.8Kchroma-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

    27Kdeepset-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.9KCinnamon/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.

    Deploy on Railway
  14. 17

    RAG-Anything

    24.9KHKUDS/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

    sentence-transformers

    19.3Khuggingface/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.

  17. 20

    turbovec

    17.5KRyanCodrai/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.

  18. 21

    memvid

    17.4Kmemvid/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.

  19. 22

    Qwen-Agent

    17.3KQwenLM/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

    semantica

    14.9Ksemantica-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.

  21. 24

    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.

  22. 25

    LEANN

    13.8KStarTrail-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.

  23. 26

    txtai

    13.6Kneuml/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.

  24. 27

    all-in-rag

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

  25. 28

    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.

  26. 29

    Agent-S

    13.1Ksimular-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.

  27. 30

    LMCache

    12.5KLMCache/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.

  28. 31

    FlagEmbedding

    12.4KFlagOpen/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

    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.

  30. 33

    nlp_course

    10.8Kyandexdataschool/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.

  31. 34

    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.

  32. 35

    FalkorDB

    10.5KFalkorDB/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.

    Deploy on Railway
  33. 36

    production-agentic-rag-course

    10.4Kjamwithai/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.

  34. 37

    all-agentic-architectures

    4.8KFareedKhan-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.

  35. 38

    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.

  36. 39

    ragent

    4.5Knageoffer/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.

  37. 40

    agentic-rag-for-dummies

    4.4KGiovanniPasq/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.

  38. 41

    Hyper-Extract

    4.3Kyifanfeng97/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.

  39. 42

    knowhere

    4.1KOntos-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.

  40. 43

    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.

  41. 44

    Hy-Memory

    2.1KTencent-Hunyuan/Hy-Memory · Python

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

  42. 45

    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.

  43. 46

    memorilla

    1.5Ksnap-stanford/memorilla · Python

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

  44. 47

    SAG-Wiki

    1.5KZleap-AI/SAG-Wiki · Rust

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

  45. 48

    fastembed-rs

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

  46. 49

    ai-system-design

    898amitshekhariitbhu/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

    carrel

    808FengZhenfei/carrel · Python

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

  48. 51

    ai-engineer-notebooks

    751calmrocks/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.

  49. 52

    agent-me

    630jzjzzzzzzz/agent-me · Python

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

  50. 53

    XRAG

    613DocAILab/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.

  51. 54

    awesome-jev

    603kydlikebtc/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.

  52. 55

    GLiClass

    583Knowledgator/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.

  53. 56

    legwork-osint-ai-investigator

    454StormBrawlerSack/legwork-osint-ai-investigator · JavaScript

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

  54. 57

    Awesome-Graph-Engineering

    407DEEP-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.

  55. 58

    casecite

    296thomasunise/casecite · Python

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

  56. 59

    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.

  57. 60

    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.

  58. 61

    Gaussian_Clef_RAG

    169myneace/Gaussian_Clef_RAG · Python

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

Often tagged together