Applied AI: Computer Use

Computer Use

Information in this post reflects publicly available sources as of October 18, 2026.

Every month, someone on the finance team spends a morning copying forty receipts from email into a vendor's expense portal. The portal was built in 2009. It has no API, no bulk import, and a date picker that only works if you click it twice. Nobody is going to rebuild it, and no integration project will ever rank high enough to replace it.

The agents earlier in this series cannot help here, because they work through tools: functions with schemas, APIs, and MCP servers. This portal offers none of those. It offers only a screen, built for a person with a mouse and keyboard.

Computer use agents work through that screen. They look at a screenshot, decide where to click or what to type, and repeat, operating software the way a person does. That opens up the enormous long tail of software nobody will ever write an API for, and it brings some of the hardest reliability and security problems in applied AI.


Most software has no API

The agents post showed that an agent is only as capable as its tools. Behind every tool is an integration someone built: an API endpoint, a client library, a schema. For popular services, those integrations exist. For the internal admin panel, the supplier portal, the government form, or the desktop app your accounting team has used for fifteen years, they usually do not.

Traditionally, the answer was scripted automation: robotic process automation tools or browser scripts that click fixed coordinates or follow fixed page selectors. They work until a button moves or a label changes, and then they break silently. Every new workflow needs someone to script it.

A model that can read a screen changes that. It can find the "Submit" button wherever it is, notice that a popup appeared, and handle a form it has never seen. The trade-off is that it does all of this slowly, expensively, and not quite reliably.


How it works

The screen loop

A computer use agent runs the same loop as any other agent, with the screen as its main tool. The harness takes a screenshot and sends it to the model along with the goal and recent history. The model replies with an action: click at these coordinates, type this text, press this key, scroll. The harness performs the action in a real browser or virtual machine, takes a new screenshot, and the loop repeats.

Sandboxed browser or VM isolated profile, no personal logins unless granted Screenshot plus goal and recent actions Model click(412, 288) type("2026-10-03") Harness checks allowlist, approval if sensitive capture send action perform ONE STEP PER TURN Every click is a full model call, which is why these agents take minutes for what a person does in seconds.

The model only ever sees pictures and only ever proposes actions. As in every agent, the harness is what executes them, so the harness is where safety lives: which sites are allowed, which actions need a person to approve them, and when to stop.

Pixels, structure, or an API

There is more than one way to let a model drive a web page, and the choice matters more than the model.

API or MCP tool Call a function with typed arguments Milliseconds, reliable. Only where one exists. Page structure Read the DOM or accessibility tree, act on named elements Robust to layout changes. Web pages only. Screenshots See pixels, click at coordinates Works on any screen. Slowest, least reliable. Faster, cheaper, more reliable Works on more software Use the leftmost option that works for each step. Many agents mix all three in one task.

Pure vision agents work from screenshots and click at coordinates. They can operate anything with a screen, including desktop applications and pages drawn on a canvas, which is why general computer use models work this way. Structure-based agents read the page's DOM or accessibility tree, the same information a screen reader uses, and act on named elements such as "the button labeled Submit." On ordinary web pages, that is faster, cheaper, and far more robust to layout changes.

The best practical systems mix them. They call an API where one exists, use page structure for well-built web pages, and fall back to screenshots for everything else. A computer use agent that navigates a site with a perfectly good API is paying a large premium for nothing.

A guarded harness

Here is the skeleton of a browser-based harness using Playwright. The model.next_action call stands in for whichever provider's computer use tool you use; the guardrails around it are the part that matters:

from urllib.parse import urlparse
from playwright.sync_api import sync_playwright

ALLOWED_HOSTS = {"expenses.example.com"}
NEEDS_APPROVAL = {"submit", "purchase", "delete", "send"}

def run(goal: str, max_steps: int = 40) -> str:
    with sync_playwright() as p:
        browser = p.chromium.launch()                     # fresh profile: no personal logins
        page = browser.new_page(viewport={"width": 1280, "height": 800})
        page.goto("https://expenses.example.com/login")
        history = []

        for _ in range(max_steps):
            screenshot = page.screenshot()
            action = model.next_action(goal, screenshot, history)

            if action.kind == "done":
                return action.summary
            if action.intent in NEEDS_APPROVAL and not ask_human(action, screenshot):
                return "Stopped: a person declined the action"

            perform(page, action)                         # mouse click, keyboard type, scroll
            if urlparse(page.url).hostname not in ALLOWED_HOSTS:
                return "Stopped: navigated outside the allowed site"
            history.append(action)

        return "Stopped: step limit reached"

Each guard addresses a specific failure. The fresh browser profile means the agent cannot use your personal sessions unless you deliberately log it in. The host allowlist stops it from wandering to other sites, including ones a malicious page might send it to.

The approval check puts a person in front of anything irreversible, and the step limit stops an agent that is lost. Showing the screenshot alongside the approval request lets the person see exactly what is about to be clicked.


Keeping a person in the loop

Consumer products have settled on a pattern worth copying. The agent works in a visible browser window, so the person can watch it move through the task. When it hits a login, a payment, or a decision it is unsure about, it pauses and hands control back, and the person can take over the mouse, finish the step, and hand control back again.

For internal tools, the same idea works asynchronously. The agent prepares everything up to the final submission, then posts the filled-in form as a screenshot to a review queue. A person approves or corrects it in seconds, which is far faster than doing the data entry, and nothing irreversible happens without a human decision.


How good is it?

The standard benchmark is OSWorld, which gives agents a few hundred real tasks on a live virtual machine, such as editing a spreadsheet, configuring an app, or moving data between programs, and checks the result with scripts. When it launched in 2024, the best agent completed about 12% of tasks. Humans in the original study completed about 72%, a number held down by ambiguous and broken tasks. By late 2025, leading agents had reached or passed that human score.

That headline overstates real-world readiness. Benchmark tasks are short and scoped, and some can be solved with a terminal command rather than the intended clicks. On longer, messier work the numbers fall sharply: on the Remote Labor Index, built from real freelance projects, the best agent tested in late 2025 completed only about 2.5% of jobs. Agents also take more steps than people and struggle to recover from a single misclick.

The practical reading: computer use is good enough today for short, well-defined, repetitive tasks on a known set of screens, especially with a person reviewing the result. It is not yet a drop-in replacement for someone doing open-ended work across many applications.


When to use it, and when not to

Use computer use for the long tail: legacy internal tools, supplier and government portals, and one-off data entry where no API exists and building one is not worth it. It also suits exploratory testing of your own web app, and research tasks that hop across sites where structured access is not available.

Testing is an underrated fit. An agent told to "sign up, create a project, invite a teammate, and export a report" exercises your web app the way a new user would, and notices when a button is missing or an error message makes no sense. It will not replace a deterministic test suite, but it finds the confusing flows that scripted tests never look for.

Do not use it when an API or MCP server exists, which covers most popular services. Do not use it for high-volume work, where a few minutes and tens of cents per task add up fast, or for anything a user is waiting on in real time. And do not let it complete irreversible, high-stakes actions such as payments, deletions, or messages to customers without a person approving each one.


What goes wrong

The page is untrusted input. Everything on screen goes into the model's context, so any page can carry instructions, as the prompt injection post explained. Browser agents are the worst case: they read untrusted web content, often act inside a user's logged-in sessions, and can click, submit, and send.

In March 2026, researchers disclosed a zero-click attack on Perplexity's Comet browser in which a crafted calendar invite led the agent to read local files and send them to an attacker, while still completing the user's task normally. Perplexity blocked the agent's access to local files in response.

Untrusted input web pages, emails, invites Sensitive access logins, passwords, local files External actions click, submit, send Browser agent all three in one session BREAK THE COMBINATION Isolated profile Site allowlist Approval for sensitive steps The same lethal trifecta as any agent, with more of each. Remove at least one before letting it run unattended.

Your browser is your identity. Running an agent in your everyday browser profile hands it every logged-in session, saved password, and open tab you have. Give it a dedicated profile with only the accounts the task needs, and scope those accounts tightly.

Screens change and surprise. Cookie banners, popups, login timeouts, layout redesigns, and A/B tests all appear without warning. Agents handle many of these better than fixed scripts, but each surprise is a chance to click the wrong thing. Log the screenshot behind every action, as the observability post recommended, so failures can be replayed and understood.

Coordinates drift. Providers often downscale screenshots before the model sees them, and the model's click coordinates refer to the image it saw, not your actual screen. A mismatch in resolution or scaling turns every click slightly wrong. Use the screen sizes your provider recommends, keep the viewport fixed, and test a few clicks before trusting a new setup.

Some walls are deliberate. CAPTCHAs, two-factor prompts, and bot detection exist to stop automated access. Agents should hand these to a person rather than try to defeat them, and you should check a site's terms of service before automating it at all.

Errors compound over long tasks. A forty-step task has forty chances to go wrong, and agents are poor at noticing they are lost. Keep tasks short, verify the end state with a check rather than trusting the agent's summary, and split long workflows into reviewed stages.


Cost and latency

Screenshots are expensive context. A 1280-by-800 screenshot comes to roughly 1,400 input tokens with Anthropic's image token estimate, and other providers are in the same range. Take a 40-step task where each step sends the latest screenshot plus about 3,000 tokens of goal, history, and instructions, and the model returns about 100 tokens. At an illustrative $3 per million input tokens and $15 per million output tokens, that is roughly $0.59 per task.

At a few seconds per step, the same task takes two to three minutes. That is a bargain compared with a person's morning of copying receipts, and terrible compared with an API call that takes milliseconds and costs a fraction of a cent. Keeping only the latest screenshot or two in context, using page structure instead of pixels where possible, and caching the stable prefix all help, as the cost control post described.

Infrastructure adds its own cost. Each run needs an isolated browser or virtual machine, and hosted browser services charge by session time. For occasional tasks it is negligible; at thousands of runs a day, it becomes a real line item.


The current landscape

All three major providers offer computer use through their APIs. Anthropic introduced its computer use tool in October 2024 and offers Claude in Chrome as a browser extension. OpenAI's computer-using agent powers ChatGPT's agent mode and its Atlas browser. Google released the Gemini 2.5 Computer Use model in October 2025, in public preview and limited to web browsers, with a per-step safety service that flags actions needing user confirmation.

A wave of AI-first browsers, including Perplexity's Comet and OpenAI's Atlas, builds agents directly into the browser, which makes them convenient and puts them squarely in the security problem described above. For builders, infrastructure services such as Browserbase provide hosted, isolated browsers, and open-source tools including Playwright, its MCP server, Stagehand, and browser-use give agents structured control of web pages.

The benchmarks are moving fast. OSWorld scores have climbed past the original human baseline, and harder successors focused on long, multi-application tasks have appeared to measure what remains. Expect reliability to keep improving, and expect the security model to remain the limiting factor longer than capability does.


Summary

Computer use gives agents access to software that was only ever built for people, which is most software. It works by turning every interaction into a loop of screenshots and proposed actions, with the harness deciding what actually happens. That makes it uniquely flexible and uniquely slow, expensive, and exposed.

So use it where nothing better exists, and keep it on a short leash: isolated browsers, allowlisted sites, short tasks, verified results, and a person approving anything that cannot be undone. Reach for an API, an MCP server, or page structure first, and save the pixels for the screens that leave you no choice.


Part of the Applied AI series: AI from the builder's side.



×