R211 · Agent principles and patterns › Evaluation data for agents

AutoRAGBench: coding agents build RAG systems from scratch and beat published designs

Read the original

Authors Elvis Saravia (shared)

evalsragcoding-agentsbenchmarks

Source: Zhang, Pan, Zhong et al. (Tsinghua University and Sina Weibo), AutoRAGBench: A Benchmark for LLM Agents Automating RAG System Development, arXiv 2611.25582, 19 Nov 2026. Code and data released on GitHub (ZhanGHanG9991/AutoRAGBench). Surfaced by DAIR.AI.

The question

RAG pipelines are mostly tuning work: choosing indexes, rerankers, query rewriting and context assembly per task, then iterating. Can a coding agent do that job end to end, with no starter code and no prescribed design, and how does it compare with the best published human systems?

Benchmark design

Results

SystemNine-task average
Closed-book (no retrieval)25.3
Naive BM25 RAG36.7
Composite "Human-SOTA" (best published method per task)44.4
Reference RAG (hybrid retrieval plus reranking)46.4
Best agent: GPT-6.1 Sol with Codex CLI56.1

How to read it

The strong number is less "agents are better RAG engineers" than "most published RAG systems are not tuned to each dataset, and an agent with six hours of GPU and a dev set is." The human baseline is a composite of published methods, not human engineers given the same six hours and the same dev data. The fair human comparison has not been run.

The design choices are the reusable part: a hidden test set outside the sandbox, an audit gate before scoring, several answering models to isolate retrieval quality, and process curves rather than one final score.

Failure modes

Review checklist for agent-built retrieval

Cited in field guides

Connections

See R211 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.