Best Open Source RAG Frameworks

Ranked by GitHub stars and 343 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, ...)
⭐ 156.2k +36.0%
2
langchain
The agent engineering platform.
⭐ 148.1k +24.1%
3
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.
⭐ 129.5k +39.6%
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
⭐ 101.9k +80.3%
5
ragflow
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
⭐ 92.5k +37.2%
6
crawl4ai
Open-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key. Join our Discord https://discord.gg/VuxzM8mtf
⭐ 85.9k +2.0%
7
hello-agents
📚 《äŧŽé›ķ垀始构åŧšæ™ščƒ―ä―“ã€‹â€”â€”äŧŽé›ķåž€å§‹įš„æ™ščƒ―ä―“åŽŸį†äļŽåŪžč·ĩ教įĻ‹
⭐ 83.9k +77.5%
8
Prompt-Engineering-Guide
🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
⭐ 79.4k +19.8%
9
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.
⭐ 76.5k +29.2%
10
anything-llm
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience
⭐ 67.3k +32.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.8k
12
Flowise
Build AI Agents, Visually
⭐ 55.5k +19.6%

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

Real adoption data, side by side.

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