AutoRAGBench: agents beat a composite human RAG baseline
A new benchmark gives coding agents six hours to build RAG systems from scratch; the top setup averages 56.1 against a composite human baseline of 44.4.
Given six hours, one H800 GPU and no starter code, GPT-6.1 Sol running in Codex CLI built retrieval-augmented generation (RAG) systems that averaged 56.1 across nine tasks. The best adapted published method on each task gives a composite averaging 44.4. The Tsinghua University and Sina Weibo team behind AutoRAGBench posted the results on Nov 19, 2026. They tested nine agent configurations, and all nine scored above that composite baseline. Five held-out models answered each question from the evidence each system retrieved, and those answers were scored, so the result measures retrieval quality and not one chat model's phrasing.
Read the headline number with the authors' own caveat. The composite takes the best adapted implementation per task, built under a 24-hour development limit. The authors say it is not a single deployable system or an upper bound on human-designed RAG. A plainer comparison is the authors' hybrid BM25-plus-dense Reference RAG, a separate baseline outside that composite, which averaged 46.4. Agents also improved existing systems such as HippoRAG 2 and HyDE: starting from those, GPT-6.1 Sol added 16.6 points on average across seven tasks, the paper notes.
The process data is the more useful part for anyone iterating on RAG with an agent. Of the 77 builds with at least two recorded versions, 72 beat their first version by at least a point, yet 20 ended at least a point below their own best. GPT-5.6 Luna posted the largest median gain on its development questions (10.0 points) but ranked tenth of 13 in the main results (nine agent setups and four baselines, the composite among them), below Reference RAG's 46.4. It ran 85% of its checks on the full development file, against at most 29% for any other setup. Across 27 builds, later checks scored a median 2.3 points higher on questions an agent had already tested than on fresh ones; the authors say agents may reuse training examples, and question difficulty may explain part of that gap.
AI郵報 draws the same lesson for practitioners: keep both the best and the last version, and set aside questions that never take part in tuning. It also says the code is MIT-licensed, with a CPU-only minimal example that needs no model API key. Every task in the paper uses a public benchmark; it doesn't test private company document sets.
Try it: before your next agent-driven RAG tuning session, add an instruction like this to your CLAUDE.md or AGENTS.md (our example): "Keep 20% of the eval questions in a holdout file you never tune against; after each change, record the dev score, and tag the best-scoring commit." It worked if, at the end, you can compare the best-tagged commit and the final one on the holdout file.