SWE-Marathon: Can Agents Autonomously Complete Ultra-Long-Horizon Software Work?
Desai, Rishi, Hu, Jesse, Cabezas, Joan, Harsola, Neel, Shukla, Pratyush, Chaim, Roey Ben, Assadi, Adnan El, Kamath, Omkaar Mukund, Faldu, Fenil, Hebbar, Prannay, Sun, Jiankai, Li, Yiyuan, Srinivasan, Pramod, Gupta, Ishan, Settles, Christopher, Wang, Daniel, Chen, Derek, Raja, Pranav, Liu, Albert, Šuppa, Marek, Sasikumar, Nevasini, Kong, Luyang, Quintanilla, Erik, Li, Xiangyi, Bercovich, Ivan, Dillmann, Steven
–arXiv.org Artificial Intelligence
AI agents are increasingly expected to complete long-horizon workflows that require sustained progress over hours, millions of tokens, and complex environments. Yet current agent benchmarks largely evaluate short-form tasks, such as single pull requests, small tickets, or 5-10 minute exercises, limiting our ability to measure agents' capabilities in planning, long-context understanding, and memory use. We introduce SWE-Marathon, a benchmark of 20 long-horizon tasks spanning software engineering and adjacent technical domains. Each task consists of a unique executable environment, a human-written reference solution, and a multi-layer verification suite. Logged agent attempts average 27.2M total tokens, making SWE-Marathon substantially longer-horizon than existing SWE and command-line agent benchmarks. Current frontier coding agents solve fewer than 30% of tasks. Failures often arise from poor self-verification, self-reported infeasibility, and premature termination. We also observe reward-hacking behavior in 13.8% of rollouts, where agents attempt to exploit the environment or verifier to bypass the intended workflow. SWE-Marathon includes adversarial review of test suites and execution environments, as well as multi-layer checks designed to prevent shortcut solutions. We release SWE-Marathon, evaluation code, and agent trajectories at https://swe-marathon.org/.
arXiv.org Artificial Intelligence
Jun-9-2026
- Country:
- North America > United States (0.28)
- Genre:
- Workflow (0.54)
- Research Report (0.50)
- Industry:
- Information Technology > Software (0.50)
- Technology:
- Information Technology
- Software Engineering (1.00)
- Software (1.00)
- Communications (1.00)
- Artificial Intelligence
- Representation & Reasoning > Agents (0.66)
- Natural Language
- Large Language Model (1.00)
- Chatbot (1.00)
- Machine Learning
- Neural Networks > Deep Learning (1.00)
- Performance Analysis > Accuracy (0.67)
- Information Technology