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
- Across nine RAG tasks, GPT-6.1 Sol with Codex CLI achieved the highest average answer accuracy at 56.1, exceeding Reference RAG by 9.7 points and the composite Human-SOTA baseline by 11.7 points under the paper’s protocol.
- Among 77 builds with comparable development scores, 72 improved by at least one point over their first version, and the median first-to-last gain was 5.5 points.
- Iteration was not consistently cumulative: 20 of the 77 builds ended at least one point below their best observed development score, and larger development gains did not always correspond to higher hidden-test answer accuracy.
- When given seven human-designed systems to improve over six hours while preserving their core mechanisms, GPT-6.1 Sol with Codex CLI gained 7.4 to 26.4 points and averaged a 16.6-point gain across five answering models.
- On the six tasks completed by both automated RAG frameworks, GPT-6.1 Sol with Codex CLI builds from scratch averaged 57.0, compared with 44.5 for Agentic AutoRAG and 43.6 for FlashRAG under the adapted comparison.
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
- Retrieval-augmented generation: Retrieval-augmented generation, or RAG, retrieves evidence from an external corpus and supplies it to a language model when producing an answer.
- Open code space: An open code space lets an agent write and revise its own implementation instead of selecting only from predefined pipeline components.
- Answering model: An answering model generates an answer from the question and the evidence retrieved by the RAG system.
- Development trajectory: A development trajectory records the agent’s analysis, code changes, evaluations and revisions during a build.
- Composite Human-SOTA baseline: The composite Human-SOTA baseline combines a human-designed method selected for each task and evaluates those methods under the paper’s protocol.
- Hidden test set: A hidden test set contains evaluation questions kept outside the agent’s development environment.
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.
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.
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
- The authors conclude that LLM agents can automate RAG system development under the benchmark’s nine-task, six-hour setup.
- The task-specific systems and adapted framework comparisons suggest value in allowing retrieval and evidence-selection logic beyond a fixed set of configurations.
- The development trajectories show that a final score alone does not reveal whether gains persisted across iterations or transferred to hidden-test accuracy.
- The authors suggest that specialized automated builders could reuse indexes across trials and allow agents to implement retrieval components missing from predefined search spaces.
What to do with it
- 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.
- 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.
- 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.
- 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.
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.