AutoRAGBench: A Benchmark for LLM Agents Automating RAG System Development
Reading guide · Based on sections of the original paper
Why read this
RAG and agent practitioners can use it to judge how far coding agents can be trusted to design retrieval pipelines, and where those pipelines still underperform or slow down.
What the authors found
- The authors report that GPT-6.1 Sol with Codex CLI averaged 56.1 over nine tasks. Reference RAG (hybrid retrieval plus reranking) averaged 46.4, and the composite Human-SOTA envelope averaged 44.4. Every agent configuration beat naive BM25, and seven beat Reference RAG. Gains were uneven: large on knowledge-graph tasks, a 0.6-point mean gain on HotpotQA, at most 1.5 points on NQ and FEVER, and four agents scored below BM25 on MH-RAG. VI-A Main Results
- Gains on agents' own development checks did not predict hidden-test results. GPT-5.6 Luna had the largest median self-check gain (10.0 points) but ranked tenth. It ran 85% of its checks on the full development file and showed a gap between repeatedly tested and unseen questions. VI-E Feedback and Iteration
- Every agent-built retriever was slower than Reference RAG (0.35 s per question). Agent systems took 0.50–2.01 s, or 1.4–5.8 times as long. Five configurations were dominated on both speed and score by another system. VI-C Efficiency
Main limitation
The Human-SOTA comparator is a per-task maximum over the authors' adapted implementations. These ran under a 24-hour limit rather than the agents' six hours, and the composite is neither a deployable system nor an upper bound on human-designed RAG. V-C Baselines
Where to start
VI-H Comparison with Automated RAG Frameworks · See how agents compare with Agentic AutoRAG and FlashRAG under equal budgets. Note the authors' caveat that their adapter limits how much of the score gap can be attributed to the frameworks.
Abstract
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.