Lune

ICSE2026Top-tier venue

SpecOps: A Fully Automated AI Agent Testing Framework in Real-World GUI Environments

Syed Yusuf Ahmed, Shiwei Feng, Chanwoo Bae, Calix Barrus, Xiangyu Zhang

2026Year

Abstract

Autonomous AI agents powered by large language models (LLMs) are increasingly deployed in real-world applications, where reliable and robust behavior is critical. However, existing agent evaluation frameworks either rely heavily on manual efforts, operate within simulated environments, or lack focus on testing complex, multimodal, real-world agents. We introduce SpecOps, a novel, fully automated testing framework designed to evaluate GUI-based AI agents in real-world environments. SpecOps decomposes the testing process into four specialized phases-test case generation, environment setup, test execution, and validation-each handled by a distinct LLM-based specialist agent. This structured architecture addresses key challenges including end-to-end task coherence, robust error handling, and adaptability across diverse agent platforms including CLI tools, web apps, and browser extensions. In comprehensive evaluations across five diverse real-world agents, SpecOps outperforms baselines including general-purpose agentic systems such as AutoGPT and LLM-crafted automation scripts in planning accuracy, execution success, and bug detection effectiveness. SpecOps identifies 164 true bugs in the real-world agents with an F1 score of 0.89. With a cost of under $0.73 and a runtime of under eight minutes per test, it demonstrates its practical viability and superiority in automated, real-world agent testing.

• Software and its engineering → Software testing and debugging; • Computing methodologies → Intelligent agents; Multi-agent systems.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 6117a023-80ad-47c6-8ecb-2c78f9f4e2f4

Builds on8

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines