TL;DR
CUA-SWE is a new benchmark and environment that bridges the gap between coding agents and computer-use agents, requiring AI to integrate source-code editing with GUI interaction. By providing a unified testbed across Web, Game, DevOps, and Mobile domains, it demonstrates that visual feedback is essential for modern software engineering, leading to massive performance gains (up to +48.6 percentage points) for frontier models.
What Problem Does This Paper Address?
Traditional software engineering isn't just about writing code in a vacuum. Developers constantly cycle through running their applications, interacting with the user interface (UI), spotting visual bugs, and verifying fixes through direct use. However, AI research has largely treated "coding agents" (which manipulate text files) and "computer-use agents" (which interact with GUIs) as separate entities.
This isolation leaves a critical gap: how can an agent fix a bug that is only visible at runtime, or implement a feature based on a visual specification like a drawing? Existing benchmarks often lack the integrated environment needed to study this "visual software engineering" process. CUA-SWE addresses this by forcing agents to connect visual observations with the underlying code to diagnose, repair, and verify software.
Methods
The authors introduce a unified environment where agents have access to both a command-line interface (CLI) for coding tasks and a graphical user interface (GUI) for application interaction.
Key components include:
- Hybrid CUA Access: Agents can read/edit code and run commands (CLI) while simultaneously viewing screenshots and performing mouse/keyboard actions (GUI).
- Deterministic Verifier: Unlike benchmarks that rely on fuzzy LLM-based judging, CUA-SWE uses executable tests. These tests check if the requested behavior is implemented, if existing functionality is preserved (regression testing), and if the agent followed tool-use rules.
- Task Specification: Tasks are categorized as Source-specified (S), where requirements are in the text, or Application-material-dependent (M), where crucial info (like a design drawing) is only available through the GUI.
Datasets
The paper introduces the CUA-SWE benchmark, consisting of 105 tasks across four diverse domains:
- Web (36 tasks): Focuses on layout, geometry, and interaction bugs.
- Game (29 tasks): Involves motion, timing, and complex state transitions.
- DevOps (20 tasks): Connects service-level observations to configuration logic.
- Mobile (20 tasks): Couples UI behavior with application state.
This benchmark is significantly more comprehensive than previous domain-specific visual software benchmarks, providing a rigorous test for general-purpose agents.
Key Insights and Ideas
- The "Visual Gap" is Real: For many real-world tasks, code-only agents are fundamentally blind. In the DevOps and Mobile domains, code-only success rates were near zero because the necessary specifications were only available visually.
- GUI Feedback Drives Repair: Visual cues allow agents to uncover "hidden" bugs. For example, an agent might fix a resizing issue, then use the GUI to discover that the fix broke object selection, leading to a second, successful round of editing.
- Frontier Models are Becoming "Hybrid": The study shows that the latest models (like GPT-6-Astra) are surprisingly capable of coordinating these two very different modalities, though they still struggle with long-term dependencies and complex relational constraints.
- Efficiency Matters: The best-performing models weren't just more accurate; they were more efficient, requiring fewer interaction rounds to reach a successful repair compared to their peers.
Key Results
The quantitative results are striking. Frontier models achieved massive performance boosts when given GUI access (the "Hybrid CUA" condition) compared to a code-only baseline.
- GPT-6-Astra led the pack with a 59.9% mean success rate, gaining a staggering 48.6 percentage points over its code-only performance.
- Claude-Fable-5 and Grok-4.6 also showed significant "Hybrid CUA" gains of +29.1 and +31.7 percentage points, respectively.
- In domains like DevOps, the average hybrid success was 50.0%, while code-only agents managed a measly 0.6%.
Limitations and Future Work
While CUA-SWE is a major step forward, the authors acknowledge several hurdles:
- Scaling RLVR: Training agents using Reinforcement Learning from Verifiable Rewards (RLVR) in this complex, multimodal environment is computationally expensive and remains "immediate future work."
- Long-Horizon Tasks: Current tasks are relatively self-contained. Future iterations could include richer, multi-day development workflows.
- Credit Assignment: In long trajectories involving many code edits and GUI interactions, determining exactly which action led to success or failure is a difficult open problem.
The benchmark is open-sourced on GitHub and Hugging Face, providing a new standard for the next generation of agentic software engineers.
Summary updated