AgentRivet: An automated system for producing Rivet routines from journal publications
Antonio J. Costa, Caterina Doglioni, Christian Gütschow, Andrew D. Pilkington, S. Sinha
University of Manchester · University College London
Key points
From the paper's conclusion- We find that AgentRivet produces competent Rivet routines with few syntax errors.
Abstract
Particle physics collider experiments provide Rivet routines as part of the analysis preservation strategy for model-independent measurements. Rivet is a C++ toolkit that allows new theoretical models to be compared to the measurements, thus aiding the development and tuning of Monte Carlo event generators as well as searches for physics beyond the Standard Model. However, analysis coverage is known to be incomplete, with only 39% of measurements having documented and publicly available Rivet routines. In this article, we design and implement an automated workflow based on Large Language Models with the goal of providing the missing routines. This multi-step workflow, referred to as AgentRivet, extracts the physics analysis information from published papers and writes the missing Rivet routines, with intermediate code- and physics- reviews as part of an autonomous quality control. We report the results obtained using commercial Large Language Models, provided by OpenAI, Anthropic, and Google, for two recent measurements from the ATLAS and CMS experiments. We find that AgentRivet produces competent Rivet routines with few syntax errors. The physics fidelity of the routines is reasonable and follows the explanations given in the relevant publications. Nevertheless, physics-implementation issues do arise and are investigated using the artefacts produced by AgentRivet. The majority of physics implementation issues arise from subtle-but-ambiguous definitions in the given publication, although some models struggle to implement complex observables even when clear definitions are given.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Towards AI-Agent-Accelerated Research in High-Energy Physics: A Case Study in Monte Carlo AnalysisarXiv · 2026
- AI-Assisted Analysis of CMS Open Data: Prompt J/psi Cross-Section Measurements in pp and Peripheral PbPb Collisions at sqrt(S)= 7 TeV and sqrt(sNN) = 2.76 TeVarXiv · 2026
- HEP-Ex-Bench: Evaluating Agentic Performance in High Energy Physics Experiment Data Analyses with Sealed WorldsarXiv · 2026
- Designing reproducible large-language-model-assisted scientific analyses.Patterns (New York, N.Y.) · 2026
- PaperDoctor: Evidence-Grounded and Actionable Feedback for Scientific Papers in ProgressarXiv · 2026
- MetaRigor: From Agentic Automation to Verifiable End-to-End Meta-Analysis Through Scientific Decision BoundariesarXiv · 2026