# Trending RAG GitHub repos

> Open-source repos whose maintainers tagged them `rag` on GitHub, ranked by stars gained.

25 tracked repos with this GitHub topic, ranked by stars gained in the last 7 days. Data from OSS Radar as of 2026-11-28T20:59:41.048Z (UTC), updated hourly. HTML page: https://ossradar.net/topic/rag

Together they gained 18k stars this week. XERJ leads with +3.3k.

## Ranked by stars gained this week

| # | Repo | Category | 7 days | 24 hours | Total stars | What it is |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | [XERJ](https://ossradar.net/repo/xerj-org/xerj) (xerj-org/xerj) | MCP | +3282 | +256 | 22527 | AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector… |
| 2 | [Graphify](https://ossradar.net/repo/Graphify-Labs/graphify) (Graphify-Labs/graphify) | LLM tooling | +2955 | +312 | 154561 | Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. |
| 3 | [DeepTutor](https://ossradar.net/repo/HKUDS/DeepTutor) (HKUDS/DeepTutor) | RAG / vector | +2659 | +230 | 64001 | DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/. |
| 4 | [Claude-Mem](https://ossradar.net/repo/thedotmack/claude-mem) (thedotmack/claude-mem) | LLM tooling | +1554 | +196 | 120392 | Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects… |
| 5 | [ai-agent-book](https://ossradar.net/repo/bojieli/ai-agent-book) (bojieli/ai-agent-book) | AI agents | +1224 est. | +56 | 60172 | Li Bojie's open-source book on designing and engineering AI agents, with the full text, a compiled PDF and code for each chapter. |
| 6 | [Headroom](https://ossradar.net/repo/headroomlabs-ai/headroom) (headroomlabs-ai/headroom) | LLM tooling | +808 | +63 | 81065 | Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. |
| 7 | [book-to-skill](https://ossradar.net/repo/virgiliojr94/book-to-skill) (virgiliojr94/book-to-skill) | LLM tooling | +566 | +48 | 39211 | Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work. |
| 8 | [Open WebUI](https://ossradar.net/repo/open-webui/open-webui) (open-webui/open-webui) | LLM tooling | +508 | +34 | 159730 | User-friendly AI Interface (Supports Ollama, OpenAI API, ...) |
| 9 | [WeKnora](https://ossradar.net/repo/Tencent/WeKnora) (Tencent/WeKnora) | RAG / vector | +462 | +47 | 38417 | Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki. |
| 10 | [Crawl4AI](https://ossradar.net/repo/unclecode/crawl4ai) (unclecode/crawl4ai) | LLM tooling | +449 | +38 | 88086 | Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. |
| 11 | [RAGFlow](https://ossradar.net/repo/infiniflow/ragflow) (infiniflow/ragflow) | RAG / vector | +352 | +28 | 94864 | RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure. |
| 12 | [LangGraph](https://ossradar.net/repo/langchain-ai/langgraph) (langchain-ai/langgraph) | AI agents | +307 | +27 | 45541 | Build resilient agents. |
| 13 | [SurfSense](https://ossradar.net/repo/MODSetter/SurfSense) (MODSetter/SurfSense) | Local LLMs | +284 | +47 | 17198 | Air-gapped, private AI for confidential documents. Open-source NotebookLM alternative that runs on your computer. |
| 14 | [Mem0](https://ossradar.net/repo/mem0ai/mem0) (mem0ai/mem0) | AI agents | +274 | +35 | 69587 | The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production. |
| 15 | [promptfoo](https://ossradar.net/repo/promptfoo/promptfoo) (promptfoo/promptfoo) | LLM tooling | +264 | +24 | 27787 | Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. |
| 16 | [AnythingLLM](https://ossradar.net/repo/Mintplex-Labs/anything-llm) (Mintplex-Labs/anything-llm) | AI agents | +239 | +22 | 68727 | Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience |
| 17 | [Cherry Studio](https://ossradar.net/repo/CherryHQ/cherry-studio) (CherryHQ/cherry-studio) | AI agents | +219 | +9 | 53943 | Your AI workspace for models, agents, and productivity. |
| 18 | [trustgraph](https://ossradar.net/repo/trustgraph-ai/trustgraph) (trustgraph-ai/trustgraph) | RAG / vector | +213 | +45 | 3405 | The open-source ontology runtime for AI agents. |
| 19 | [Graphiti](https://ossradar.net/repo/getzep/graphiti) (getzep/graphiti) | RAG / vector | +192 | +30 | 33174 | Build Real-Time Knowledge Graphs for AI Agents |
| 20 | [ai-guide](https://ossradar.net/repo/liyupi/ai-guide) (liyupi/ai-guide) | LLM tooling | +183 est. | +19 | 22466 | GPT Gemini Claude RAG MCP Claude Code TRAE Codex |
| 21 | [PixelRAG](https://ossradar.net/repo/StarTrail-org/PixelRAG) (StarTrail-org/PixelRAG) | RAG / vector | +178 | +9 | 11156 | https://arxiv.org/abs/2606.28344. The end of web parsing. The beginning of scalable pixel-native search. link: https://pixelrag.ai/ |
| 22 | [mydb](https://ossradar.net/repo/yzsind/mydb) (yzsind/mydb) | AI agents | +163 | +10 | 251 | A high-performance MySQL-compatible database for HTAP and AI agents Mixed transactional and analytical workloads, with native AI retrieval. |
| 23 | [kaogong-school](https://ossradar.net/repo/yijiejiang/kaogong-school) (yijiejiang/kaogong-school) | AI agents | +159 est. | +6 | 182 | Self-hosted AI tutor for Chinese civil service exam prep. |
| 24 | [PageIndex](https://ossradar.net/repo/VectifyAI/PageIndex) (VectifyAI/PageIndex) | RAG / vector | +145 | +15 | 40833 | PageIndex: Document Index for Vectorless, Reasoning-based RAG |
| 25 | [SAG-Wiki](https://ossradar.net/repo/Zleap-AI/SAG-Wiki) (Zleap-AI/SAG-Wiki) | RAG / vector | +139 | +8 | 1721 | A lightweight knowledge base for people and agents, with ultra fast indexing and most precise retrieval. |

Gains marked est. are estimates for repos first seen less than a week ago. Each repo also has a Markdown page: append .md to its repo URL.

## Related topics

- LLM (17 shared repos): https://ossradar.net/topic/llm.md
- AI agents (16 shared repos): https://ossradar.net/topic/ai-agents.md
- AI (11 shared repos): https://ossradar.net/topic/ai.md
- MCP (10 shared repos): https://ossradar.net/topic/mcp.md
- agent (9 shared repos): https://ossradar.net/topic/agent.md
- Claude Code (5 shared repos): https://ossradar.net/topic/claude-code.md
- OpenAI (5 shared repos): https://ossradar.net/topic/openai.md
- Ollama (5 shared repos): https://ossradar.net/topic/ollama.md
- context engineering (5 shared repos): https://ossradar.net/topic/context-engineering.md
- Cursor (4 shared repos): https://ossradar.net/topic/cursor.md
- multi-agent (4 shared repos): https://ossradar.net/topic/multi-agent.md
- agentic AI (4 shared repos): https://ossradar.net/topic/agentic-ai.md

## More

- All 67 topic hubs: https://ossradar.net/topic
- By category: https://ossradar.net/category/{slug}.md (e.g. https://ossradar.net/category/mcp.md)
- By language: https://ossradar.net/language/{slug}.md (e.g. https://ossradar.net/language/python.md)
- Live leaderboard across every topic: https://ossradar.net/ (also https://ossradar.net/llms.txt and https://ossradar.net/api/v1/trending)

Free to cite with a link back to https://ossradar.net/topic/rag.
