Best Open Source RAG Frameworks

Ranked by GitHub stars and 382 days of tracked growth. The top open source RAG frameworks below are updated daily — pick two to see a full side-by-side comparison.

1
open-webui
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
⭐ 160.1k +39.4%
2
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
⭐ 156.4k +68.6%
3
langchain
The agent engineering platform.
⭐ 150.3k +25.9%
4
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
⭐ 121.4k +115.0%
5
ragflow
RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
⭐ 95.1k +41.0%
6
hello-agents
📚 《äŧŽé›ķ垀始构åŧšæ™ščƒ―ä―“ã€‹â€”â€”äŧŽé›ķåž€å§‹įš„æ™ščƒ―ä―“åŽŸį†äļŽåŪžč·ĩ教įĻ‹
⭐ 88.6k +87.5%
7
crawl4ai
Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.
⭐ 88.4k +5.0%
8
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
⭐ 81.4k +37.5%
9
Prompt-Engineering-Guide
🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
⭐ 80.5k +21.6%
10
anything-llm
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience
⭐ 68.9k +35.2%
11
serviette
A no-code RAG server that keeps answers in sync with your documents. Works with 8 vector databases. Built on Pathway.
⭐ 58.6k
12
Flowise
Build AI Agents, Visually
⭐ 55.6k +19.8%

⚖ïļ Compare RAG frameworks head-to-head

Real adoption data, side by side.

open-webui vs graphify open-webui vs langchain graphify vs langchain open-webui vs claude-mem graphify vs claude-mem langchain vs claude-mem open-webui vs ragflow graphify vs ragflow