Web and computer-use agents
Screen observations, grounding, benchmarks, and gating irreversible actions.
Why GUI agents
A coding agent works in text: files, commands, test verdicts. Most software people use was built for eyes and hands — often with no API. When a service has a reachable API, use it: schemas from Tool use beat pixels. Graphical agents exist for company portals, desktop apps and sites that only offer a form. Raw HTML fails on size and noise (~1 135 elements per Mind2Web page on average); it also misses visibility and overlay. Better observations and better ways to point are the rest of this topic.
What the agent observes
Four renderings are common, often combined: HTML/DOM (complete, verbose, web-only); accessibility tree (role, name, value, state — compact, exists for desktop too, only as good as a11y markup); screenshot (universal and faithful, expensive to read); set-of-marks (screenshot with numbered boxes so the model can say “click 5”). On OSWorld (2024), screenshots alone topped out near 5.4% for then-current models; adding the accessibility tree roughly doubled the strongest. Later screenshot-trained agents changed the picture — the 2024 table describes those models, not views forever.
Actions and grounding
Actions are mouse/keyboard ops: click, type, select, scroll, navigate, stop with an answer. Targets come by element id (exact if the observation has ids) or by coordinates resolved with a hit test to the deepest element containing .
Key idea. Graphical agents fail less from not knowing what to do than from not doing it to the right element. Grounding is that step. OSWorld’s analysis of 550 failed GPT-4V runs: >75% involved inaccurate clicks. SeeAct: humans executing GPT-4V’s plans reached 51.1%; automatic grounding lagged far behind.
If aiming error is i.i.d. normal with std on each axis toward a target,
and unrepaired clicks succeed with . At , a icon has (); a button (). Remedies: larger effective targets (zoom, ids), smaller (train pointing), make misses repairable (observe after each act).
Benchmarks
WebArena — 812 tasks on self-hosted realistic sites; functional final-state checks; a11y + element ids; humans 78.24%, best mid-2023 agent 14.41%. Mind2Web — 2 350 tasks on 137 live sites; offline next-action match to demonstrations (cheap, marks other valid paths wrong). OSWorld — 369 Ubuntu (+ Windows) desktop tasks across apps; agents write pyautogui; humans 72.36%, best 2024 setup 12.24% at 15 steps. Later vendor/agent numbers with 100 steps and best-of-N approached the human figure under a different protocol — not the same comparison, and wall-clock time is usually absent from the score.
Irreversibility and injection
Coding agents live in disposable sandboxes; computer-use often acts in the real world. Irreversible actions (order, pay, send, delete, change settings) must be gated by the runtime: pause, show the exact payload, ask a person. Reading and navigation stay ungated so approvals stay rare and meaningful. Injection: every observation was written by someone; pages can address the agent (visible notes, white text, alt text, a11y labels). Indirect prompt injection (Greshake et al., 2023) hits every step. Treat observed content as data; least privilege (separate browser profile, only needed sites); isolate what can be read from what can be sent (Agent security).
Next
A computer-use agent changes a page or a desktop. A research agent produces an answer: search, read, keep facts with sources, search again, and write claims a reader can check.
Check your understanding
The same questions as in Pulse. Answers are shared between modes.
Answers are saved on the server and tied to this browser until you sign in.