- Computer-use agents operate software through the human interface in an observe-act-verify loop, which reaches the long tail of systems that never got an API.
- APIs still win on speed, cost, and reliability wherever they exist; screen automation is the adaptive successor to RPA for everything else, run with checkpoints, retries, and narrow scopes.
- The agent inherits the account it drives and reads untrusted content, so least-privilege accounts, a sandboxed browser, human gates on irreversible actions, and full action logs are non-negotiable.
The integration last mile
Strip away the architecture diagrams and most enterprise integration estates have the same shape. At the top sit the modern platforms: cloud suites with documented REST APIs, event streams, webhooks. Below them stretches a long tail of everything else: the ERP module that predates the web, the vendor portal that offers a login page but no endpoint, the insurance carrier extranet, the government filing site, the internal tool someone built in 2011 that nobody dares touch. These systems process real revenue. Most will not get APIs this decade, and in some cases the vendor that could build one no longer exists.
Today the integration layer for that tail is people. An operations analyst reads a claim in one system, retypes it into another, downloads a statement from a portal, and pastes reference numbers into a spreadsheet. The unflattering industry name is swivel-chair integration, and it is expensive in exactly the ways that resist fixing: each individual flow is too small to justify a custom integration project, but collectively these flows consume thousands of hours a year and inject transcription errors at every hop.
Computer-use agents target exactly that gap. Instead of calling an API, the agent operates the software through the same surface a human does: it looks at the screen, clicks buttons, types into fields, navigates pages, reads what comes back. Because it works at the interface layer, it needs nothing from the target system. No API, no database access, no vendor cooperation. If a person can do the task through the UI, the agent has, in principle, a path to it.
That universality is the pitch. The rest of this article is about the price, which is paid in speed, in reliability, and in a security model most teams have not built yet.
The observe-act-verify loop
Under every computer-use stack sits the same control loop. First the agent observes: it captures the current state of the interface, either as a screenshot, as the browser's DOM or accessibility tree, or both. Second, the model proposes the next action toward the goal: click this element or these coordinates, type this text, scroll, press a key, navigate to a URL. Third, a harness outside the model executes the action against the real interface. Then the loop closes: the agent observes again and checks whether the screen changed the way the action implied it should.
+-----------+ +-------------+ +-----------+
| OBSERVE | | PROPOSE | | EXECUTE |
| screenshot| --> | next action | --> | click / |
| or DOM | | (model) | | type / |
+-----------+ +-------------+ | navigate |
^ +-----------+
| |
+-------- verify: did the UI ---------+
change as expected?
That closing observation is the load-bearing part, and it is what separates this pattern from scripted automation. The model does not assume the click worked; it looks. If a spinner is still up, it waits and observes again. If a validation error appeared, it reads the message and corrects the field. If a cookie banner or a session-timeout dialog landed on top of the form, it handles the obstruction and resumes. Errors are recovered by observing, not assumed away, which is precisely what a recorded macro cannot do.
The division of labor also matters architecturally. The model only ever proposes; the harness executes, and the harness is where policy lives: which domains are reachable, which actions need confirmation, what gets logged. This is the same contract described in the tool-calling deep-dive, with the screen playing the role of one very general tool.
Browser agents vs desktop agents
There are two ways to observe and act, and the choice shapes cost, precision, and reach. Browser agents work through the DOM and accessibility tree: the page arrives as addressable structure, so the agent can target a button by its label rather than by guessing where it sits, and much of each observation is cheap text rather than imagery. Desktop agents work from pixels: screenshots in, coordinates out. That approach is universal, since anything that draws on a screen can be driven, but it is heavier, because every loop iteration involves interpreting an image and every action lands on coordinates that a vision model had to locate.
| Dimension | Browser / DOM agents | Desktop / pixel agents |
|---|---|---|
| Observation | DOM, accessibility tree, text | Screenshots |
| Action targeting | Element references | Screen coordinates |
| Precision | High; elements are addressable | Lower; vision must find targets |
| Cost per step | Lower; mostly text | Higher; images every iteration |
| Coverage | Web applications only | Anything rendered on a screen |
| Typical fit | Portals, SaaS, internal web tools | Legacy thick clients, virtual desktops, terminal emulators |
In practice, capable stacks combine both. They read the DOM when it is available, and fall back to screenshots for canvas-rendered widgets, embedded document viewers, or the moment a workflow leaves the browser for a desktop application. The architectural takeaway is to prefer the most structured observation the target allows: structure is cheaper per step, more precise per action, and easier to verify, while pixels are the universal fallback you keep in reserve rather than the default you start from.
Where it fits: API-first, screen as fallback
None of this changes the integration hierarchy. Where an API exists, use it. An API call typically completes in milliseconds where a screen-driven flow takes tens of seconds to minutes; it costs a fraction of a multi-step loop of model calls; it returns structured data instead of prose read off a page; and it fails loudly and predictably instead of half-succeeding on a misread form. Driving a screen to reach a system that has a perfectly good endpoint is an antipattern, full stop.
- An API exists: integrate against it, with the agent calling it as a tool.
- No API, but the volume justifies building or buying one: do that.
- No API and building one is uneconomic or impossible: computer use.
The third tier is where classic RPA has lived for a decade, and the kinship is real: same target systems, same swivel-chair use cases, often the same process owners. The difference is how the automation binds to the interface. RPA scripts encode fixed selectors, coordinates, and step orders, so a renamed button or a rearranged layout silently breaks the bot, and large RPA estates carry a permanent maintenance tax for exactly this reason. A computer-use agent binds late: it reads the screen as it currently is and finds the button where it currently sits, so cosmetic UI drift that would kill a script is often absorbed without incident.
Adaptive does not mean trustworthy, though. The verification discipline that mature RPA teams learned the hard way, checkpoints, reconciliation reports, and exception queues, transfers wholesale. Treat the agent as a more resilient executor inside the same governed process, not as a reason to drop the governance.
The reliability problem
Be honest about the physics before piloting. Every loop iteration is at least one model call over a screenshot or a DOM snapshot, so a twenty-step flow means twenty or more inference rounds plus page loads in between. UIs change without notice, and not only by redesign: A/B tests, feature flags, and regional variants mean two runs of the same flow may see different screens. Pages load slowly or partially. Popups, consent banners, and surprise modals interpose themselves. A screen-driven flow will always be slower and more brittle than the equivalent API call; the engineering question is whether it is reliable enough for a task that currently has no automated alternative at all.
Four mitigations do most of the work. Verification checkpoints: at business-meaningful boundaries, before submitting a form, after a record saves, the agent must confirm observed state against expected state, not just proceed. Observation-driven retries: on failure, re-observe and re-plan from the actual screen rather than blindly replaying the last action. Narrow, well-fenced flows: an agent that does one process on three known portals is testable; an open-ended browse-anywhere agent is not. Human handoff on ambiguity: when the screen does not match any expected state, the correct move is to stop, preserve context, and escalate to a person.
Scoped this way, narrow screen-driven flows are reaching dependable accuracy in production pilots, though anyone quoting a universal reliability number for the pattern is selling something. Measure your own flows.
The security model it demands
Two facts define the threat model. First, the agent inherits the session and permissions of the account it drives. Whatever that account can view, approve, transfer, or delete, the agent can too, and the target system cannot tell the difference; from its side this is just a logged-in user. Second, everything the agent reads is untrusted input. A web page, a PDF in a portal, even a field in a vendor system can contain text addressed to the model: instructions to ignore its task, exfiltrate what it sees, or visit a hostile page. That is indirect prompt injection, covered in depth in the prompt-injection deep-dive, and screen-reading agents have among the widest exposure to it of any agent pattern, because their entire input channel is content other people authored.
The controls follow directly, and none of them are optional in production:
- Least-privilege accounts. The agent gets a dedicated, purpose-scoped account with the minimum permissions the flow needs. Never a human employee's credentials, and never an admin account.
- Sandboxed execution. The browser or desktop session runs in an isolated VM or container with an allowlist of reachable domains, cut off from the corporate network and from local secrets.
- Human gates on irreversible actions. Payments, filings, submissions, and deletions pause for a person's approval; reads and drafts flow freely.
- Full action logs. Every observation and every executed action is recorded, with screenshots, so any run can be audited and replayed after the fact.
This is the standard layered-defense posture from the guardrails and sandboxing deep-dive applied to its most demanding case. If a proposed deployment cannot fund these four controls, it cannot fund computer use.
The architect view
Treat computer use as a governed integration pattern of last resort, and take both halves of that phrase seriously. Last resort, because an API, where one exists or can economically be built, beats screen driving on every operational axis. Governed, because the pattern touches production systems through privileged sessions while reading adversarial content, which puts it firmly inside your agent security perimeter, not off to the side as a desktop convenience. And a pattern worth planning for now, because the capability is maturing quickly: flows that were demo-grade two years ago are running in fenced production pilots today, and the long tail of API-less systems they unlock is not shrinking.
Pilot accordingly. Choose workflows that are low-risk and high-toil: status checks across vendor portals, document retrieval, data entry into a legacy screen where today a person retypes what another system already knows. Prefer read-heavy flows before write-heavy ones, and flows where an error is detectable and correctable rather than silently compounding. Wire in the security model from day one, because retrofitting least privilege, sandboxing, and action logging onto an agent that already holds broad credentials is far harder than starting with them.
The long tail is where enterprise automation programs have always stalled. This is the first pattern with a credible claim on it, provided you buy the loop, respect the physics, and build the cage before you ship the agent. The rest of the Agents category covers the surrounding machinery.