DevOps-Gym: Benchmarking AI Agents in Software DevOps Cycle
Authors:
- Yuheng TangYTYuheng Tang
- Kaijie ZhuKZKaijie Zhu
- Michael YangMYMichael Yang
- Hongwei LiHLHongwei Li
- Suyue GuoSGSuyue Guo
- Tianneng ShiTSTianneng Shi
- Zekun LiZLZekun Li
- Christopher KruegelCKChristopher Kruegel
- Giovanni VignaGVGiovanni Vigna
- Dawn SongDSDawn Song
Preprint
Abstract
Even though demonstrating extraordinary capabilities in code generation and software issue resolving, AI agents' capabilities in the full software DevOps cycle are still unknown. Different from pure code generation, handling the DevOps cycle in real-world software, including developing, deploying, and managing, requires analyzing large-scale projects, understanding dynamic program behaviors, leveraging domain-specific tools, and making sequential decisions. However, existing benchmarks focus on isolated problems and lack environments and tool interfaces for DevOps. We introduce DevOps-Gym, the first end-to-end benchmark for evaluating AI agents across core DevOps workflows: build and configuration, monitoring, issue resolving, and test generation. DevOps-Gym includes 700+ real-world tasks collected from 30+ projects in Java and Go. We develop a semi-automated data collection mechanism with rigorous and non-trivial expert efforts in ensuring the task coverage and quality. Our evaluation of state-of-the-art models and agents reveals fundamental limitations: they struggle with issue resolving and test generation in Java and Go, and remain unable to handle new tasks such as monitoring and build and configuration. These results highlight the need for essential research in automating the full DevOps cycle with AI agents.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository LeveragingProceedings of the AAAI Conference on Artificial Intelligence, 2026
- Demystifying LLM-Based Software Engineering AgentsProceedings of the ACM on Software Engineering, 2025
- Can Language Models Replace Programmers for Coding? REPOCOD Says ‘Not Yet’2025
- TESTEVAL: Benchmarking Large Language Models for Test Case Generation2025
- CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges2024
- Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLs2023
- CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completion2023
- RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation2023
- Code4Bench: A multidimensional benchmark of Codeforces data for different program analysis techniquesJournal of Computer Languages, 2019
- Algorithms on Strings, Trees, and Sequences: Computer Science and Computational BiologyJournal of the American Statistical Association, 1999