跪拜 Guibai
← All articles
GitHub

Five RAG Open-Source Projects in 2026: What Actually Stands Up and What's Outdated

By 用户别睡觉 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Choosing a RAG stack from stale blog posts incurs real costs: license restrictions on SaaS multi-tenancy, migration dead-ends after irreversible rewrites, and hidden deployment requirements like 16GB RAM or a Go-only backend. The verified numbers and issue histories give developers a concrete basis for selection, and the author's own measurements show where optimization effort actually pays off — in data pipelines, not generation.

Summary

The RAG ecosystem in late 2026 looks different from what most tutorials still describe. Dify has grown to 160k stars and is now a full LLM application platform with a Go-based plugin sidecar and a separate graph execution engine. RAGFlow rewrote its core in Go, leaving the old Python+React description obsolete, and its DeepDoc document parsing remains its only irreplaceable asset. FastGPT still relies on MongoDB's $text plus jieba for Chinese full-text search unless you run Milvus, and its old UI-based chunking modes are gone from the code. AnythingLLM ships a deliberately thin RAG kernel inside an Electron desktop app, and it now defaults to AMD's Lemonade server instead of Ollama. LightRAG's graph-enhanced approach works, but the often-quoted '10x faster indexing' figure does not appear in its paper, and the project actually loses to Microsoft's GraphRAG on one benchmark.

The author's own project, tiered-rag-service, serves as a baseline for measuring claims: its retrieval pipeline uses BM25 plus vector search and a cross-encoder reranker, but profiling shows reranking balloons retrieval latency by roughly 220x while delivering no measurable quality gain on a three-question test set. Every major platform except this one applies a confidence threshold before passing results to the LLM, and that is the cheapest fix surfaced. The article also documents real pain points from GitHub issues, such as Dify's parent-child chunking eating whitespace, RAGFlow's goroutine leaks, and AnythingLLM's desktop client idling at 40% CPU. License restrictions on SaaS multi-tenancy appear in both Dify and FastGPT, while RAGFlow's v1.0 migration is irreversible and demands a specific upgrade chain.

Takeaways
— Dify reached 160k stars as of 2026-10-30, up nearly 4x in two years.
— RAGFlow rewrote its core in Go; the repository is 71.2% Go, and the last Python version is v0.27.2.
— RAGFlow's v1.0 upgrade path is one-way: v0.22.1 → v0.25.6 → v0.26.4 → v0.27.2 → v1.0.0-rc1, and tag-type datasets don't auto-migrate.
— DeepDoc runs DLA, OCR, and TSR in-process on CPU via ONNX Runtime; no GPU is required.
— FastGPT's chunking modes are now only `paragraph`, `size`, and `char`; old heading/regex modes are gone from v4.17's enum.
— AnythingLLM uses only the RecursiveCharacterTextSplitter, default chunk 1000 characters and overlap 20.
— LightRAG has five query modes (local/global/hybrid/naive/mix), with `mix` as default since 2025-08.
— The '10x faster indexing' claim for LightRAG is not in its paper; it comes from a third-party blog and actually belongs to E²GraphRAG.
— In LightRAG's own paper, it loses to GraphRAG on the Mix dataset (49.6% vs 50.4%).
— The author's reranking step increased retrieval P50 from 15ms to 3306ms (about 220x) with no measurable quality difference on a 3-question eval.
— Dify, FastGPT, and AnythingLLM all apply confidence thresholds before passing context to the LLM; the author's project does not.
— AnythingLLM switched its default local engine from Ollama to AMD's Lemonade server in v1.18.0, and v1.19.0 brought it to Docker.
— Both Dify and FastGPT require commercial licenses for multi-tenant SaaS and forbid removing LOGO/copyright info; FastGPT's license reserves the right to tighten.
Conclusions

The bottleneck in RAG is often parsing and data quality, not the retrieval algorithm; RAGFlow's parsing capability yields recall gains an order of magnitude larger than tuning retrieval parameters.

Platformization carries hidden maintenance and migration costs; both Dify and RAGFlow show that adding features eventually forces architectural rewrites.

Star count on open-source projects reflects delivery friction (setup, local-first, licensing) more than algorithmic sophistication; AnythingLLM's thin core out-adopts deeper projects.

Confidence thresholds are underused in custom RAG stacks; a simple score cutoff prevents out-of-scope answers without complex prompt engineering.

Marketing blogs can distort performance profiles; the '10x' LightRAG myth is a case where verifiable paper benchmarks tell a more nuanced story than 'all-around dominance'.

Concepts & terms
Parent-child chunking
A chunking strategy that indexes small 'child' chunks for precise matching but returns the larger 'parent' chunk to the LLM for context. Dify has supported it since v0.15.0 (2024-12).
DeepDoc
RAGFlow's document parsing pipeline combining layout analysis, OCR, and table structure recognition, running in a Go service via in-process ONNX Runtime on CPU.
Knowledge Compilation
RAGFlow's v0.27 feature that precompiles document sets into seven artifacts (Wiki, Graph, Tree, PageIndex, Mindmap, Timeline, Skills) for different retrieval needs.
RRF (Reciprocal Rank Fusion)
A method for combining multiple ranked lists by summing reciprocal ranks, removing the need for manually tuned weights in hybrid retrieval.
Score threshold
A minimum relevance score that retrieved chunks must exceed to be passed to the LLM. Dify uses 0.5, FastGPT 0.4, AnythingLLM 20%.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗