Aguvis: Unified Pure Vision Agents for Autonomous GUI Interaction

Yiheng Xu, Zekun Wang, Junli Wang, Dunjie Lu, Tianbao Xie, Amrita Saha, Doyen Sahoo, Tao Yu, Caiming Xiong · OpenReview

Abstract

Graphical User Interfaces (GUIs) are critical to human-computer interaction, yet automating GUI tasks remains challenging due to the complexity and variability of visual environments. Existing approaches often rely on textual representations of GUIs, which introduce limitations in generalization, efficiency, and scalability. In this paper, we introduce Aguvis, a unified pure vision-based framework for autonomous GUI agents that operates across various platforms. Our approach leverages image-based observations, and grounding instructions in natural language to visual elements, and employs a consistent action space to ensure cross-platform generalization. To address the limitations of previous work, we integrate explicit planning and reasoning within the model, enhancing its ability to autonomously navigate and interact with complex digital environments. We construct a large-scale dataset of GUI agent trajectories, incorporating multimodal reasoning and grounding, and employ a two-stage training pipeline that first focuses on general GUI grounding, followed by planning and reasoning. Through comprehensive experiments, we demonstrate that Aguvis surpasses previous state-of-the-art methods in both offline and real-world online scenarios, achieving, to our knowledge, the first fully autonomous pure vision GUI agent capable of performing tasks independently without collaboration with external closed-source models. We open-sourced all datasets, models, and training recipes to facilitate future research at https://aguvis-project.github.io/.

Introduction

Graphical User Interfaces (GUIs) are the primary medium for human-computer interaction, yet automating tasks across them remains a significant challenge. Most current GUI agents rely on textual representations like HTML or accessibility trees. While these provide structured data, they introduce significant bloat—often requiring 4k–6k tokens per screen—and vary wildly across platforms (web vs. mobile vs. desktop). This fragmentation hinders the development of a universal agent.

Aguvis addresses these issues by adopting a "pure vision" approach. It interacts with digital environments exactly as humans do: by processing raw pixels and executing actions through a unified interface.

Methods

The Aguvis framework is built on three core pillars designed for efficiency and generalization:

  1. Pure-Vision Observation: Utilizing the Qwen2-VL vision-language model, Aguvis operates directly on screenshots. This ensures a constant token cost (approximately 1,196 tokens for a 720p image), regardless of the underlying code complexity.
  2. Unified Action Space: Interactions are standardized using the pyautogui library. This allows a single model to perform actions like click, write, and scroll across any operating system or device.
  3. Inner Monologue Reasoning: To move beyond simple reactive behavior, Aguvis employs a structured reasoning process. Before executing an action, the model generates a "Thought" (analyzing the state) and a "Low-level Instruction" (describing the intent in natural language).
The Aguvis framework: from instruction and visual observation to structured reasoning and unified action execution.

The model is trained in two stages: first on general GUI grounding to learn element localization, and then on planning and reasoning to master complex, multi-step tasks.

Datasets and Training

To support this framework, we curated the AGUVIS DATA COLLECTION, comprising over 1 million grounding trajectories and 35,000 multi-step planning trajectories. A key challenge in GUI automation is the lack of high-quality reasoning data. We addressed this by using GPT-4o to "backfill" existing trajectories with structured inner monologues, providing the model with the necessary logical steps to solve complex problems.

Data augmentation process: using GPT-4o to generate structured inner monologues for existing GUI trajectories.

Key Insights

  • Efficiency: By relying on vision rather than HTML, Aguvis reduces input tokens by 70% and deployment costs by up to 93% compared to text-heavy agents.
  • The Power of Planning: The "inner monologue" is critical; forcing the model to verbalize its plan before acting resolves approximately 20% of grounding errors.
  • Cross-Platform Synergy: Training on diverse data (web, mobile, desktop) simultaneously improves performance across all domains, suggesting universal principles in GUI design.

Results

Aguvis achieves state-of-the-art results across several benchmarks:

  • ScreenSpot: Aguvis-72B scored 89.2, surpassing closed-source models like GPT-4o.
  • OSWorld: In complex desktop environments, Aguvis reached a 17.04% success rate, outperforming "Claude Computer Use" (14.9%).
  • Generalization: The agent demonstrates robust zero-shot capabilities, such as handling unexpected pop-ups or cookie consents not present in its primary training set.

Limitations and Future Work

Despite its success, Aguvis faces challenges with ambiguous user instructions, which account for 40% of failures. Future work will focus on improving "self-awareness"—enabling the model to ask for clarification—and enhancing safety protocols for real-world deployment. Additionally, we aim to extend the model's capabilities to extremely long-horizon tasks requiring persistent memory.

Summary updated

Abstract

Graphical User Interfaces (GUIs) are critical to human-computer interaction, yet automating GUI tasks remains challenging due to the complexity and variability of visual environments. Existing approaches often rely on textual representations of GUIs, which introduce limitations in generalization, efficiency, and scalability. In this paper, we introduce Aguvis, a unified pure vision-based framework for autonomous GUI agents that operates across various platforms. Our approach leverages image-based observations, and grounding instructions in natural language to visual elements, and employs a consistent action space to ensure cross-platform generalization. To address the limitations of previous work, we integrate explicit planning and reasoning within the model, enhancing its ability to autonomously navigate and interact with complex digital environments. We construct a large-scale dataset of GUI agent trajectories, incorporating multimodal reasoning and grounding, and employ a two-stage training pipeline that first focuses on general GUI grounding, followed by planning and reasoning. Through comprehensive experiments, we demonstrate that Aguvis surpasses previous state-of-the-art methods in both offline and real-world online scenarios, achieving, to our knowledge, the first fully autonomous pure vision GUI agent capable of performing tasks independently without collaboration with external closed-source models. We open-sourced all datasets, models, and training recipes to facilitate future research at https://aguvis-project.github.io/.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ScreenSpotAguvis-G-7B (\ourmodelgroundseven)Avg81.8Gui Grounding · params=7B · instruction-setting=original-instructions
Source quote
L89: \ourmodelgroundseven │ \bf 88.3 │ \bf 78.2 │ \bf 88.1 │ \bf 70.7 │ \bf 85.7 │ \bf 74.8 │ \bf 81.8
ScreenSpotAguvis-7B (\ourmodelseven)Avg84.4Gui Grounding · params=7B · instruction-setting=self-plan
Source quote
L97: \multicolumn{2}{c}{\ourmodelseven} │ \bf 95.6 │ 77.7 │ 93.8 │ 67.1 │ 88.3 │ 75.2 │ 84.4
ScreenSpotAguvis-72B (\ourmodelseventy)Avg89.2Gui Grounding · params=72B · instruction-setting=self-plan
Source quote
L98: \multicolumn{2}{c}{\ourmodelseventy} │ 94.5 │ \bf 85.2 │ \bf 95.4 │ \bf 77.9 │ \bf 91.3 │ \bf 85.9 │ 89.2
Mind2Web · Multimodal Mind2WebAguvis-72B (\ourmodelseventy)Op.F190.8Web Navigation · split: cross-task · params=72B · input-modality=GUI-images
Source quote
L129: \multicolumn{2}{c}{\ourmodelseventy} │ \bf 69.5 │ \bf 90.8 │ \bf 64.0 │ \bf 62.6 │ \bf 88.6 │ \bf 56.5 │ \bf 63.5 │ 88.5 │ \bf 58.2
Mind2Web · Multimodal Mind2WebAguvis-72B (\ourmodelseventy)Step SR64.0Web Navigation · split: cross-task · params=72B · input-modality=GUI-images
Source quote
L129: \multicolumn{2}{c}{\ourmodelseventy} │ \bf 69.5 │ \bf 90.8 │ \bf 64.0 │ \bf 62.6 │ \bf 88.6 │ \bf 56.5 │ \bf 63.5 │ 88.5 │ \bf 58.2
BibTeX
@inproceedings{xu2025aguvis,
  author = {Yiheng Xu and Zekun Wang and Junli Wang and Dunjie Lu and Tianbao Xie and Amrita Saha and Doyen Sahoo and Tao Yu and Caiming Xiong},
  title = {{Aguvis: Unified Pure Vision Agents for Autonomous GUI Interaction}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=PlihOwfx4r},
}
Figure