Agent S2: A Compositional Generalist-Specialist Framework for Computer Use Agents

Saaket Agashe, Kyle Wong, Vincent Tu, Jiachen Yang, Ang Li, Xin Eric Wang · DOI

Introduction

Building autonomous AI agents capable of using a computer like a human—navigating graphical user interfaces (GUIs), clicking buttons, and entering text—remains a significant challenge in artificial intelligence. While large-scale vision-language models have made strides, they often hit a "wall" when faced with three specific hurdles: the grounding bottleneck (finding exact pixel coordinates for small elements), long-horizon planning (maintaining goal consistency over dozens of steps), and monolithic limitations (the inefficiency of using a single model for both high-level reasoning and low-level visual precision).

Agent S2 addresses these challenges by moving away from monolithic, reactive architectures toward a hierarchical, proactive, and specialized framework. By delegating tasks across a hierarchy of generalist planners and specialist "grounding" experts, Agent S2 achieves state-of-the-art performance across multiple operating systems.

The Agent S2 Architecture

The core of Agent S2 is a three-layer compositional framework designed to separate high-level strategy from low-level execution.

The Agent S2 hierarchical architecture featuring the Manager, Worker, and Mixture-of-Grounding (MoG) layers.

1. The Manager (Generalist Planner)

The Manager operates at a high semantic level, translating user requests into a sequence of subgoals. Unlike traditional agents that only adjust their plans upon failure, the Manager employs Proactive Hierarchical Planning (PHP). It re-evaluates and updates the entire remaining plan after every completed subgoal, allowing the agent to adapt immediately to dynamic UI changes, such as unexpected pop-ups or loading screens.

2. The Worker (Generalist Executor)

The Worker receives the current subgoal from the Manager and generates a specific natural language action (e.g., "Click the 'File' menu"). It acts as the bridge between abstract planning and concrete grounding.

3. Mixture-of-Grounding (MoG Specialists)

To solve the grounding bottleneck, Agent S2 uses a "Mixture-of-Grounding" approach, routing actions to specialized experts based on the task requirements:

  • Visual Grounding Expert: A model (such as UI-TARS) optimized for identifying UI elements in screenshots.
  • Textual Grounding Expert: Utilizes OCR (Tesseract) to locate precise coordinates for specific text spans, a common failure point for pure vision models.
  • Structural Grounding Expert: A programmatic expert for tabular data (e.g., Excel or LibreOffice Calc) that interacts directly with cell mappings rather than relying on visual clicks.

Experimental Evaluation

The framework was rigorously tested on three major "in-the-wild" computer use benchmarks, using only screenshots and action history as input:

  • OSWorld: 369 tasks on Ubuntu Linux involving professional tools like VS Code and GIMP.
  • WindowsAgentArena: 154 tasks within the Windows OS environment.
  • AndroidWorld: 116 smartphone-based tasks across 20 different applications.

Key Results and Scaling

Agent S2 established a new State-of-the-Art (SOTA) across all tested benchmarks, demonstrating that specialized models can outperform massive monolithic frontier models in execution tasks.

Success rate comparison on OSWorld, showing Agent S2's performance and scaling behavior compared to other leading agents.

Key performance highlights include:

  • OSWorld: A 34.5% success rate on the 50-step evaluation, representing a 32.7% relative improvement over OpenAI’s CUA/Operator.
  • WindowsAgentArena: Reached 29.8% accuracy, a 52.8% relative increase over the previous best method (NAVI).
  • AndroidWorld: Achieved a 54.3% success rate, outperforming UI-TARS by 16.5% relatively.

Furthermore, Agent S2 exhibited strong test-time scaling. As shown in the results, increasing the allowed step limit from 15 to 50 significantly boosted success rates, as the proactive planning allowed for better "Backward Correction" and adaptive navigation.

Discussion and Future Work

The success of Agent S2 suggests that the primary bottleneck for computer-use agents is shifting from visual grounding to high-level planning. While the Mixture-of-Grounding approach has made "missing the button" a rare occurrence, the agent still faces challenges with infeasible tasks and the high inference cost associated with proactive replanning.

Future research will focus on optimizing the "thinking" overhead of the Manager and improving its ability to handle extremely complex or noisy subtask information, ensuring that agents can remain both intelligent and cost-effective in real-world deployments.

Summary updated

BibTeX
@inproceedings{agashe2025agent,
  author = {Saaket Agashe and Kyle Wong and Vincent Tu and Jiachen Yang and Ang Li and Xin Eric Wang},
  title = {{Agent S2: A Compositional Generalist-Specialist Framework for Computer Use Agents}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=zg5is4GJ3R},
}
Figure