Why are computer-use / browser agents so much harder to make reliable than API-based agents?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Because they replace a crisp, structured interface with pixels and coordinates, then multiply the resulting per-step error rate across very long action chains. A computer-use agent perceives screenshots and acts via synthetic mouse/keyboard events (Anthropic shipped this as a beta in late 2024; OpenAI's Operator followed in early 2025). Every layer adds failure modes an API agent doesn't have:
- Perception is lossy. The model must locate a button by sight, read small text from a screenshot, infer state from visual cues. Misreads that would be impossible with a JSON response ("is this dropdown open?") happen constantly.
- Actions are fragile. Clicking coordinates on a page that just reflowed, typing into a field that lost focus, scrolling past a lazy-loaded target. There's no schema validation for a click - the environment silently accepts wrong actions.
- State verification is hard. An API returns success/failure; a GUI requires another screenshot and another inference to know whether the action worked. Feedback loops are slow (screenshot → upload → inference per step) and themselves error-prone.
- The chains are long. "Book this flight" is dozens of micro-actions. Even at 98% per action, 50 actions is ~36% end-to-end - the compounding math at its cruelest, and why a strong OSWorld-style benchmark score still says little about reliability on a long workflow in an unfamiliar enterprise app.
- The environment is adversarial and shifting. Popups, cookie banners, A/B-tested layouts, CAPTCHAs (which agents must not solve - that's a hard policy line), and web content that is definitionally untrusted - every rendered page is a prompt-injection surface aimed at an agent that may hold your logged-in sessions.
Full worked answer
Because they replace a crisp, structured interface with pixels and coordinates, then multiply the resulting per-step error rate across very long action chains. A computer-use agent perceives screenshots and acts via synthetic mouse/keyboard events (Anthropic shipped this as a beta in late 2024; OpenAI's Operator followed in early 2025). Every layer adds failure modes an API agent doesn't have:
- Perception is lossy. The model must locate a button by sight, read small text from a screenshot, infer state from visual cues. Misreads that would be impossible with a JSON response ("is this dropdown open?") happen constantly.
- Actions are fragile. Clicking coordinates on a page that just reflowed, typing into a field that lost focus, scrolling past a lazy-loaded target. There's no schema validation for a click - the environment silently accepts wrong actions.
- State verification is hard. An API returns success/failure; a GUI requires another screenshot and another inference to know whether the action worked. Feedback loops are slow (screenshot → upload → inference per step) and themselves error-prone.
- The chains are long. "Book this flight" is dozens of micro-actions. Even at 98% per action, 50 actions is ~36% end-to-end - the compounding math at its cruelest, and why a strong OSWorld-style benchmark score still says little about reliability on a long workflow in an unfamiliar enterprise app.
- The environment is adversarial and shifting. Popups, cookie banners, A/B-tested layouts, CAPTCHAs (which agents must not solve - that's a hard policy line), and web content that is definitionally untrusted - every rendered page is a prompt-injection surface aimed at an agent that may hold your logged-in sessions.
Engineering responses: prefer APIs or DOM/accessibility-tree interfaces whenever they exist and reserve pixels for the long tail; decompose into short verifiable segments with checkpoints; verify state after each critical action; gate irreversible clicks (purchase, send) on human approval.
What a good answer covers
- Because they replace a crisp, structured interface with pixels and coordinates, then multiply the…
- A computer-use agent perceives screenshots and acts via synthetic mouse/keyboard events (Anthropic…
- Perception is lossy
- Actions are fragile
- State verification is hard
Key terms: Perception is lossy · Actions are fragile · State verification is hard · The chains are long
In the glossary: Workflow
Interviewer follow-ups to expect
Given a choice of DOM access vs screenshots for a browser agent, what does DOM access fix and what does it not fix?
How would you eval a computer-use agent beyond task success rate?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep