Authors: Hang Zhang, Yuzhi Pan, Ziyao Zhong, Chaokun Wang, Shuo Cao, Zeyu Huang, Yue Xue, Fang Niu, Bofan Xie, Guanchen Ge, Zecheng Li, Leqi Zheng, Ziyang Liu, Wei Wang, Miao GuarXiv 2611.25582

AutoRAGBench: A Benchmark for LLM Agents Automating RAG System Development was submitted to arXiv on 2026-11-19 by Hang Zhang, Yuzhi Pan, Ziyao Zhong, Chaokun Wang, Shuo Cao, Zeyu Huang and others. Read it on arXiv or as a PDF.

Key findings

The main takeaway. Under a six-hour, single-H800 setup across nine tasks, one agent configuration built RAG systems that scored above the paper’s reference and composite human baselines. The study concerns answer accuracy from supplied corpora and does not establish how public web pages are selected or cited.

The abstract, as written

Retrieval-augmented generation (RAG) is a well-established paradigm for augmenting large language models (LLMs) with information retrieved from external corpora. However, developing effective RAG systems requires substantial engineering effort and iterative experimentation, as effective design choices vary across tasks and domains. With rapid advances in LLM agent capabilities, we ask how well these agents can autonomously build RAG systems and how effectively they can improve them through iteration. In this paper, we propose AutoRAGBench, the first benchmark to evaluate how well LLM agents develop RAG systems from scratch in an open code space. It comprises nine RAG system development tasks. For each task, agents build RAG systems from scratch without starter code or prescribed strategies, under a six-hour budget on a single H800 GPU. They analyze task data, implement RAG pipelines, and iteratively refine their designs based on experimental feedback. We evaluate nine agent configurations and analyze both the effectiveness of the resulting RAG systems and their development trajectories. GPT-6.1 Sol with Codex CLI achieves the highest average score of 56.1. The composite Human-SOTA baseline averages 44.4. These results show that LLM agents can automate effective RAG system development. When starting from a human-designed system on each of seven tasks, GPT-6.1 Sol with Codex CLI improves the score by 16.6 points on average.

Key terms

From the paper

This passage shows that most comparable builds improved, while some finished below an earlier version.

Across 77 builds with comparable development scores, 72 reach scores at least one point above their first version. The median first-to-last gain is 5.5 points. Yet 20 builds have last observed development scores at least one point below their best. Larger development gains do not always correspond to higher hidden-test answer accuracy.

This passage reports the score gains when two agents modified seven existing human-designed systems.

GPT-6.1 Sol gains 7.4 to 26.4 points, with a mean of 16.6. DeepSeek gains 3.9 to 12.1 points, with a mean of 8.9. GPT-6.1 Sol scores higher on all seven tasks.

This passage gives the adapted comparison with two automated searches over predefined RAG pipelines.

The agent outperforms every delivered framework system. On the six tasks both frameworks complete, AutoRAG averages 44.5 and FlashRAG averages 43.6. The agent averages 57.0, and Reference RAG averages 45.0.

Figures from the paper

Look at when each task reaches its earliest maximum and whether later iterations retain that gain.

Fig. 6: Iteration curves for four Codex CLI configurations. Each curve shows the change in Qwen3.5-4B score from the fir

Figure from the paper, arXiv:2611.25582, by its authors. Caption as written: Fig. 6: Iteration curves for four Codex CLI configurations. Each curve shows the change in Qwen3.5-4B score from the first evaluated version on a fixed set of questions for that build. Axis scales vary by task. Stars mark the earliest maximum.

Look at the score gains after GPT-6.1 Sol and DeepSeek modified seven human-designed RAG systems for six hours.

Fig. 8: Agent gains over human-designed systems. Labels give score gains averaged over five answering models after six h

Figure from the paper, arXiv:2611.25582, by its authors. Caption as written: Fig. 8: Agent gains over human-designed systems. Labels give score gains averaged over five answering models after six hours.

What the authors say it means

What to do with it

  1. Compare autonomous RAG builders with reference and task-specific human baselines under the same answering-model protocol. Supported by: Across nine tasks and five answering models, GPT-6.1 Sol with Codex CLI averaged 56.1, exceeding Reference RAG by 9.7 points and the composite Human-SOTA baseline by 11.7 points.
  2. Record the first, best and last comparable development scores when auditing iterative RAG development. Supported by: Among 77 comparable builds, 72 improved by at least one point over the first version, while 20 ended at least one point below their best observed score.
  3. Evaluate improvements to existing RAG systems separately from systems built from scratch. Supported by: Across seven human-designed systems, GPT-6.1 Sol with Codex CLI averaged a 16.6-point gain while preserving each system’s core mechanism, yet its adapted systems averaged 1.92 points below its builds from scratch.
  4. Include an open-code builder when comparing automated searches over predefined RAG pipelines. Supported by: On the six tasks completed by both frameworks, the GPT-6.1 Sol agent averaged 57.0, while Agentic AutoRAG averaged 44.5 and FlashRAG averaged 43.6.

Caveat. The benchmark covers nine RAG tasks, five answering models and six-hour builds on one H800 GPU using supplied corpora and examples; it does not test public web-page selection or citation. The authors also state that their framework adapters omit some diagnostics or leave them at defaults, limiting how much of the observed score gap can be attributed to the available actions.

In short

AutoRAGBench evaluates nine agent configurations building RAG systems across nine tasks in an open code space. GPT-6.1 Sol with Codex CLI achieved the highest average score of 56.1, while the trajectory analysis found that iterative gains could regress or fail to correspond to hidden-test accuracy. These findings apply to the benchmark’s supplied corpora and evaluation protocol, rather than web citation behavior.

Read the paper on arXiv →

Written from the paper's own text. Quoted passages are verbatim and the numbers are the authors' own. For the method and full results, read the paper.