What is a computer-use agent?

A computer-use agent is an AI agent that reads screenshots and operates a computer interface like a person, with mouse clicks, scrolling and keyboard input, so it can carry out tasks even in applications without an API.

It differs from a coding agent in the layer it works at: a coding agent writes and runs code or calls APIs, while a computer-use agent works through the screen a user sees. Unlike rule-based screen automation, it can reinterpret the screen when the interface changes.

Topic
Agents and protocols
Also known as
GUI agent, computer use agent

How a computer-use agent works

  1. The agent captures the screen, usually in an isolated virtual desktop.
  2. A model that reads images interprets on-screen elements and decides the task's next step.
  3. The model picks an action such as a click, scroll or keystroke, which the environment applies.
  4. A new screenshot is taken and the loop continues until the task ends or a step needs human approval.

In more detail

GUI grounding, the accessibility tree and Set-of-Mark

Turning an intention ("click Save") into an accurate `(x, y)` pixel coordinate is called GUI grounding. Modern agents achieve reliable grounding either with specialised vision-language models trained on UI elements or via Set-of-Mark (SoM) overlays and accessibility-tree metadata that label clickable regions.

Compounding errors and per-step latency

Because each action requires capturing a screenshot, running multimodal inference and waiting for UI rendering, GUI tasks have much higher latency than API calls. Moreover, step-level errors compound across long workflows: even a 95% per-step accuracy yields only ~60% end-to-end success over 10 steps without verification and recovery.

Visual prompt injection and session security

Unlike pure backend workflows, computer-use agents view untrusted web pages, emails and documents rendered on screen, exposing them to visual and indirect prompt injection, hidden or adversarial text instructing the agent to exfiltrate data or execute harmful clicks. Defences combine domain allowlists, read-only session sandboxes and mandatory human confirmation before destructive or external actions.

Hybrid automation: APIs, deterministic scripts and a GUI agent fallback

When an interface lacks a formal API, hybrid architectures often pair deterministic scripts or accessibility hooks for stable steps with a computer-use agent only as a fallback for unstructured screens. This preserves speed and predictability while retaining resilience to UI changes.

Commonly confused terms

TermHow it differs
Rule-based screen automation (RPA)Traditional RPA follows brittle, pre-recorded UI selectors or fixed coordinate scripts that break when layouts change; a computer-use agent uses a multimodal model to dynamically interpret screenshots and adapt to unexpected pop-ups or redesigned interfaces.
Vision-language modelA general Vision-Language Model (VLM) answers questions or describes images in a single turn; a computer-use agent embeds a vision-capable model (often specially trained for GUI coordinate grounding) inside a stateful perception-action execution loop.

Why a computer-use agent matters for on-premises AI

Many organisations run legacy applications without APIs; a computer-use agent can automate them without code changes. Screenshots and entered data carry sensitive information, so running the model and environment in-house matters. They are slower and more error-prone than API-based agents: one wrong click can start an irreversible action. They therefore run in a separate virtual desktop with the narrowest user rights; critical steps need human approval and every action is logged with a screenshot.

ON-PREMISES EXAMPLE

A public agency hands repetitive data entry in a legacy records application to a computer-use agent, which runs in an isolated virtual desktop and waits for staff approval before completing each record.

Common questions

How does a computer-use agent differ from an API-based agent?

An API-based agent reaches systems through structured calls, fast and reliable. A computer-use agent works by seeing the screen and using mouse and keyboard, useful where no API exists but slower.

How is a computer-use agent run safely?

In an isolated virtual desktop with the narrowest user rights. Critical steps need human approval while every action is logged with a screenshot.

Sources

In the glossary: Glossary, A to D

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.