AI Research Library

Computer Use and the Fragile Visual Interface

Rajesh Ranjan Mahapatra

When screenshots replace typed interfaces, reliable computer use depends on rebuilding the lost contracts for identity, freshness, actionability and verified outcome.

© 2026 Rajesh Ranjan Mahapatra. 28 min read

Computer Use and the Fragile Visual InterfaceAll AI Research Library

Computer Use and the Fragile Visual Interface

When screenshots replace typed interfaces, reliable computer use depends on rebuilding the lost contracts for identity, freshness, actionability and verified outcome.

TLDR

  • A visual computer-use agent does not receive application state. It receives a rendering from which object identity, preconditions, authority and transaction status must be inferred, often under time pressure.
  • The decisive failure mechanism is a broken control loop: a screenshot grows stale, a target is grounded to an ephemeral coordinate, an input is dispatched, and visual change is mistaken for verified outcome.
  • Use the richest available interface for each step: APIs first, then DOM or accessibility semantics, with pixels as a compatibility layer rather than the default substrate for consequential effects.
  • Better vision can materially improve local grounding, and fixed low-consequence interfaces may need little additional machinery. It cannot by itself resolve hidden state, delegated authority or a timeout after a possible commit.
  • Release computer use only with versioned observations, actionability checks, bounded permissions, idempotency where possible, independent postcondition readback and an explicit unknown-outcome state. Otherwise keep the agent in observe or draft mode.
Worked scenario

The button moved while nobody was looking

A synthetic expense-claim agent has filled nineteen fields, attached three receipts and reached the final review screen. The claim is for £684.20. Its screenshot shows a teal Submit claim button in the lower-right corner, so the policy proposes a click at pixel coordinate (1,216, 742).

Between observation and action, a late validation message expands above the button. The page shifts. The same coordinate now lands on Remove attachment beside the largest receipt. A toast appears. The agent sees that the screen changed and continues, believing submission succeeded. Nothing in the mouse event says which business object was affected. Nothing in the changed pixels proves that claim 28417 entered the submitted state.

Change one detail. Give the agent an application endpoint that accepts submit_claim(claim_id, revision, idempotency_key). The endpoint can reject an obsolete revision, bind the effect to claim 28417 and return a receipt that can later be reconciled against claim state. The reasoning model, goal and intended action remain the same. What changed is the interface's evidential content.

The central claim is that pixels turn a typed state transition into a partially observed control problem. Better visual recognition helps recover some lost structure, but reliable action requires the surrounding system to reconstruct stable identity, observation freshness, permitted effect and authoritative readback. Computer use should therefore be treated as a compatibility adapter around a fragile human interface, not as a universal replacement for APIs.

This question is distinct from designing the screen on which a person reviews an agent's work. Human-facing decision surfaces are examined in Designing Interfaces for Human-Agent Teams. Here the screen itself is the agent's sensor and actuator boundary.

Part I

What the screen removes

A graphical interface is a remarkable compression for a person. Colour, alignment, motion, hierarchy and convention let us operate systems without reading their internal schemas. The same compression becomes a liability when software must recover exact state from the rendered result. A screenshot can show a row labelled “Acme Ltd”, yet it may omit the record identifier, tenant, effective date, permissions, unsaved edits and whether another session changed the row after rendering.

The renderer begins with application state and produces a view. That mapping is usually many-to-one. Different underlying states can yield nearly identical pixels, while the same state can yield different pixels under another viewport, theme, zoom level, font, locale or notification. Pixels preserve appearance, not necessarily the distinctions needed for action.

Semantic collapse at the rendering boundary A rich application state containing identity, type, permission, revision and transaction status passes through a narrowing rendering lens and becomes a screenshot that exposes colour, text and coordinates while leaving several distinctions uncertain. Application state record_id: 28417 revision: 19 status: DRAFT amount_gbp: 684.20 can_submit: true attachment_count: 3 commit_token: null tenant: UK-FIN last_write: 11:42:08 renderer Expense claim Acme Ltd · £684.20 3 attachments Receipt_03.pdf Submit claim Which record? Which revision? Committed? Application state record_id: 28417revision: 19 status: DRAFTcan_submit: true amount: £684.20attachments: 3 tenant: UK-FINcommit: none renderer many states can look alike Expense claim Acme Ltd · £684.20 · 3 attachments Submit claim Which record? Which revision? What committed?
Figure 1. The screen is a lossy projection. The application knows identity, revision, permission and commit status; the screenshot exposes a human-oriented view. Geometry is illustrative, and the state values belong to the synthetic running case.

Thought experiment one: the same action through two apertures

Place two agents before identical copies of the expense system. Both receive the instruction “submit claim 28417 after confirming three receipts and an amount of £684.20”. Both use the same policy model. Agent A receives a typed object and a submit operation. Agent B receives screenshots and a mouse.

Agent A can compare an exact claim identifier, revision and attachment count before calling the operation. Agent B can read visible text, but it must infer whether the row belongs to the intended claim and whether hidden validation has completed. Agent A's command names the intended effect. Agent B's click names only a point in a viewport. Agent A can reconcile a timeout by querying claim 28417. Agent B may see the same screen after success, delay or failure.

The thought experiment varies only the interface. Any performance difference therefore belongs to information and control structure, not greater intelligence. It also explains why a browser agent can generate an excellent plan yet fail at the final click. The plan lives in semantic space; execution must cross into a coordinate system whose objects have weak identity.

One intention through a typed path and a visual path Two parallel paths begin with the same intention. The typed path retains claim identity, revision, action name and outcome query. The visual path progressively substitutes text recognition, coordinates and visual change for those contracts. Submit claim 28417 I Typed object Named effect Revision check Outcome query OCR and layout Coordinate Screen may move Visual change IDOPVR ?xyΔt? Typed path retains the contract Visual path reconstructs the contract from evidence Submit claim 28417 Typed path retains the contract I IDOPVR intenttyped objectnamed effectrevisionreadback Visual path reconstructs the contract ?xyΔt?? OCRcoordinatescreen movesvisual changeoutcome? Same goal and policy, different evidence. Every lost identifier or receipt becomes an inference obligation.
Figure 2. Identical intent, unequal apertures. The typed path carries stable identifiers and explicit operations. The visual path can still work, but each semantic loss becomes an inference or verification obligation. The comparison is conceptual.

Published evidence: planning is not grounding

Interactive benchmarks do not prove that every failure arises from the visual boundary, yet their results consistently separate high-level competence from situated execution. The original WebArena release reported 14.41% end-to-end success for its strongest GPT-4-based baseline against 78.24% human performance. OSWorld reported 12.24% for its best evaluated model against more than 72.36% for people, identifying GUI grounding and operational knowledge as primary difficulties.

SeeAct produced a particularly useful intervention. When people manually grounded the model's textual plan to live webpage elements, the reported task success was 51.1%. Automatic grounding remained substantially worse, and the strongest strategy combined HTML structure with visual evidence. This does not isolate every later failure, but it shows that an apparently capable plan can be separated experimentally from the act of locating its referent on a live interface.

By contrast, UGround is a serious counterpoint. Its visual-only grounding approach outperformed prior grounding models across the authors' selected benchmarks and enabled agents that surpassed compared systems using extra text-based representations. The evidence rules out a crude conclusion that pixels are always inferior. It supports a narrower one: visual grounding can become strong enough for many local actions, while the wider execution loop still needs state, authority and outcome controls.

Practitioner synthesis

Choose sensors by the decision they must support, not by ideological preference for pixels or structure. A visual stream may be the best source for spatial editing, canvas content or rendered charts. A DOM, accessibility tree or API may be the best source for element role, identity, enabled state and exact value. A governed agent can fuse them without pretending they are interchangeable.

A screenshot is an observation, not world state

Let x_t denote the relevant application and business state at time t. The renderer produces pixels p_t under viewport and display conditions v_t. The agent does not observe x_t directly. It receives p_t = R(x_t, v_t) and infers a belief b_t(x) over states consistent with that observation and prior evidence.

pt = R(xt, vt) | bt(x) ∝ P(pt | x, vt) · Σx′ P(x | x′, ut−1) bt−1(x′)

The symbols are modest. R is the rendering process, u is the prior input, x′ ranges over possible preceding states and b_t is the agent's current uncertainty about state. P(a | b) denotes a conditional probability. The summed transition term predicts the current state from the previous belief; the likelihood term then weights that prediction by how well each state explains the observed rendering. The proportionality sign hides normalisation. When several states render similarly, the belief remains broad. When a fresh semantic observation arrives, it can narrow. This is the standard logic of acting under partial observability, formalised in classical POMDP work by Kaelbling, Littman and Cassandra.

The engineering consequence is immediate. A transcript that says “the submit button was visible” is not authoritative state. It is evidence about one rendering at one moment. The system needs a separate world-state record for claim identity, revision, validation, attempted effects and observed outcome. Calling screenshots “memory” hides the distinction.

Part II

Where the loop fractures

Computer use is often described as a repeated screenshot, reasoning and click loop. That description is functionally incomplete. Between seeing and acting lies target grounding. Between acting and continuing lies effect verification. Both cross a changing interface, and either can silently substitute a plausible event for the intended state transition.

The governed screen-attention-action loop A circular loop moves from versioned observation to attention and grounding, action proposal, deterministic preflight, input dispatch and two-stage verification. A state ledger sits in the centre and receives receipts from every stage. State ledger intent · subject · frame proposal · effect · outcome Observeversion + provenance Groundtarget + ambiguity Dispatchbounded input Verify twiceinteraction effectbusiness outcome Preflightfresh · enabledpermitted · unique State ledger intent · subject · frameproposal · effectevidence · outcome Observeversion + provenance Groundtarget + ambiguity Dispatchbounded input Verify twiceinteraction + outcome Preflightfresh + permitted
Figure 3. The screen-attention-action loop needs receipts. The signature loop treats observation, grounding, preflight, dispatch and verification as separable functions tied through a state ledger. The topology is a practitioner synthesis, not a measured architecture result.

Fracture one: the referent is not the coordinate

The policy intends “the submit control for claim 28417”. The actuator receives “click (1,216, 742)”. Grounding is the mapping between those descriptions. A coordinate is valid only relative to a frame, viewport and moment. Scrolling, responsive layout, animation, a new message, a modal or remote-desktop scaling can invalidate it without changing the agent's verbal plan.

Structured browser automation has learnt this lesson through years of flaky tests. The current W3C WebDriver specification defines stale element, obscured element and non-interactable element failures. Playwright waits for a locator to resolve uniquely and checks visibility, stability, event reception and enabled state before clicking. These mechanisms do not solve business semantics, but they demonstrate a useful principle: dispatch should depend on a fresh, actionable target, not on a remembered point.

Thought experiment two: freeze only the interval

Return to the claim screen and vary one causal feature. In world F, the interface is frozen from screenshot capture until the click completes. In world D, a notification may arrive during that interval and shift the layout. The visual recogniser and policy are identical in both worlds.

In world F, coordinate grounding may be sufficient. In world D, even perfect recognition at observation time cannot guarantee the target at action time. The failure is a time-of-check to time-of-use race. More visual intelligence applied to the old frame cannot repair it. The system needs either an atomic semantic action, a target revalidation immediately before input or a rule that refuses action when the frame revision is stale.

A stale-frame race and its guarded alternative Two timelines share the same initial screenshot. A notification changes the interface. The naive lane clicks the old coordinate and removes an attachment. The guarded lane notices the frame revision changed, observes again and then clicks the updated submit control. Observation-to-action race Naive lane Guarded lane frame v17message arrivesclick old xywrong effect frame v17message arrivesreject stale framereobserve v18 submit @ 1216,742revision := 18remove receipttoast ≠ outcome submit @ 1216,742revision := 1817 ≠ 18submit @ 1216,684 uncontrolled interval Guard condition dispatch only if observed_revision = current_revision and target remains unique Observation-to-action race Naive lane frame v17revision 18click old xywrong effect submit @ 742messageremove receipttoast uncontrolled interval Guarded lane frame v17revision 18reject stalereobservesubmit v18 Guard condition dispatch only if observed revision equals current revision and target remains unique and actionable
Figure 4. A perfect old observation can still authorise the wrong new action. The moving notification is synthetic. The two lanes vary only whether the preflight binds dispatch to the observation revision.

Fracture two: input acknowledgement is not effect evidence

A mouse subsystem can acknowledge that it emitted a click. A browser can report that an event reached an element. An application can display a toast. None alone establishes the intended business outcome. A submit operation may be rejected after client-side display, committed after the browser times out, placed in a queue or applied to the wrong object.

This is where visual agents inherit the classic unknown-outcome problem. Suppose the agent clicks Submit, the server commits, and the connection drops before the page changes. A retry may create a duplicate. Refusing to retry may leave the task unresolved. The correct state is neither success nor failure. It is unknown outcome pending reconciliation.

Independent postcondition checking resolves what perception alone cannot. Query the claim list by stable identifier, inspect the submitted timestamp or read an authoritative event. If no semantic read path exists, the system may need a human to reconcile. Repeating the same click because the pixels look unchanged is not recovery.

Fracture three: local accuracy decays over a horizon

Long tasks are not merely short tasks repeated. Every step can change what later evidence means. A missed modal can hide a field. A wrong focus can send text into another control. A silent attachment deletion can survive until final submission. The relevant measure is therefore conditional survival, not average click accuracy.

Sn = ∏t=1…n (1 − ht), ht = P(failure at t | survived through t − 1)

S_n is the probability of remaining inside the acceptable trajectory after n actions. h_t is the conditional hazard at step t, including wrong target, stale state, unhandled prompt, unauthorised effect or undetected bad outcome. The product multiplies the chance of surviving each next action. The hazards need not be independent or constant: a prior error can raise later hazard, which is precisely why trajectory checks matter.

Illustrative survival over an action horizon A line chart shows trajectory survival declining across 100 steps for constant illustrative per-step hazards of half a percent, one percent and two percent. Higher hazards produce much lower end-to-end survival. 100%80%60%40%20%0 020406080100 consequential actions trajectory survival 0.5% hazard1% hazard2% hazard 100%80%60%40%20%020406080100 0.5% hazard1% hazard2% hazard consequential actions trajectory survival
Figure 5. Small local hazards become large end-to-end losses. Curves are illustrative calculations for constant conditional hazards, not benchmark measurements. At 100 actions, the corresponding survival values are roughly 60.6%, 36.6% and 13.3%.

The 2026 OSWorld 2.0 release makes the horizon problem concrete. Its 108 workflows were designed around long, cross-application work with dynamic environments, streaming interaction, implicit-state inference and multi-item state tracking. The strongest reported configuration completed 20.6% under the strict binary metric, while partial progress was much higher. The authors found that agents often lost constraints, missed incoming information and skipped verification. This versioned benchmark result does not establish a universal ceiling, but it supports the mechanism: local competence can coexist with weak task-level closure.

The serious negative control: a fixed kiosk

Now remove the dynamic conditions. The agent operates a local kiosk at fixed resolution. There is one large button, no overlays, no scrolling, no concurrent user, no delayed commit and no consequential external effect. A screenshot classifier finds the button with near certainty and a click changes the screen deterministically.

Here a versioned ledger, semantic locator and independent domain query may add cost without changing outcomes. Visual-only control is a strong baseline. This negative control matters because the argument is not “pixels are unsafe”. It is conditional: the extra mechanism earns its cost when state is ambiguous, the interface can change, effects matter or outcomes can become unknown.

Part III

The argument in one passChart · flow
flowchart LR
  A["The button moved while nobody<br/>was looking"] --> B["What the screen removes"]
  B --> C["Where the loop fractures"]
  C --> D["Rebuild the missing contract"]
  D -. "re-test" .-> A
  classDef first fill:#0a1424,stroke:#087A98,stroke-width:2px,color:#e6f3ff
  classDef step fill:#0a1424,stroke:#3f7da0,stroke-width:1px,color:#e6f3ff
  class A first
  class B,C,D step
A structural route through Computer Use and the Fragile Visual Interface, from The button moved while nobody was looking to Source ledger. Reading use: follow the relation, then test it against the surrounding evidence and limits.

Rebuild the missing contract

The solution is not to translate every screenshot into a perfect hidden API. It is to recover only the distinctions required for the next decision and to refuse effects when they cannot be recovered. The architecture can remain multimodal and adaptive while its authority and evidence become explicit.

1. Version the observation

Every actionable observation should carry a frame or state revision, capture time, viewport, application identity and provenance. A screenshot hash alone is not enough because animation can change pixels without changing task state, while hidden state can change without visible difference. Use the strongest available revision signal: DOM mutation epoch, accessibility event sequence, application version, URL and navigation identifier, or a locally maintained observation counter.

Bind the proposed target to that revision. Before dispatch, confirm that the revision is still current and that the target remains unique and actionable. If not, reobserve. This is optimistic concurrency control applied to an interface.

2. Preserve a semantic target above the coordinate

Record the intended referent as a structured target: role, accessible name, nearby label, expected application, expected record and action type. Coordinates belong only in the final actuator instruction. They should never become the durable description of what the system meant to affect.

The WAI-ARIA specification describes roles, states and properties that user agents expose through accessibility APIs. These semantics were built for assistive technology, not agent governance, and may be incomplete or wrong. Even so, a named button with enabled state and relationships usually carries more decision-relevant information than a rectangle of pixels. A robust stack can compare accessibility, DOM and visual evidence rather than trust any one representation blindly.

3. Put a deterministic preflight between proposal and input

The policy may propose “submit”. A preflight should decide whether this particular effect may be attempted now. It checks subject identity, purpose, current revision, target uniqueness, visibility, enabled state, obstruction, consequence tier, approval and whether a previous attempt has unresolved outcome. A model proposal is not a permission grant.

For pixels, the gate may approve a coordinate only for one frame revision and a narrow time-to-live. For a DOM locator, it may require exactly one match. For an API, it may require the current object revision. The gate should refuse an ambiguous target rather than ask the model to express the same intention more confidently.

4. Separate interaction readback from outcome readback

The first readback asks whether the interface received the intended interaction. Did the expected button receive the event? Did focus enter the correct field? Did the modal open? This catches grounding and actionability failures.

The second asks whether the intended domain postcondition became true. Is claim 28417 submitted exactly once with three attachments and £684.20? Did the message reach the intended recipient? Does the file exist at the required path with the expected checksum? This may require another screen, an API, a database read, an event or a human observation. The two checks should be independently sourced when consequence is material.

The outcome evidence rings Four concentric rings distinguish input dispatch, interface reaction, application record and verified business outcome. The outermost ring is the strongest evidence and the centre is the weakest. inputdispatched interface reacted application record changed business outcome verified Evidence strength claim state query submitted event success toast mouse acknowledgement input dispatched 1234 Evidence strengthens outwards 1 · mouse acknowledgement 2 · success toast or interface reaction 3 · application record changed 4 · business outcome independently verified
Figure 6. A click receipt sits inside the outcome, not in place of it. The rings rank evidence for the synthetic claim example. A real system must choose its own authoritative postcondition and account for delay, eventual consistency and independent failure.

5. Make unknown outcome a first-class state

After a possible commit, block another consequential attempt until reconciliation. Where the target supports idempotency, attach a stable key derived from task, subject and intended effect. Where it does not, use a read-before-retry protocol and escalation threshold. The state ledger should record proposed action, dispatched input, transport result, interaction evidence, domain readback and remaining uncertainty separately.

This design follows a broader agent boundary developed in From Programme to Agent: action becomes operationally agentic only when consequence returns as later evidence. Computer use intensifies the obligation because the UI often supplies weaker receipts than an API.

A production-shaped implementation

Return to claim 28417. The context compiler provides the current expense policy and the three source receipts. The policy model prepares fields and proposes submission. The computer-use adapter observes the review screen through screenshot, accessibility tree and URL. It grounds the submit target by role and label, verifies that three attachments are visible and captures frame revision 18.

The authority kernel checks that the service identity may submit only this user's expense claims below the configured ceiling, that the claim amount matches the evidence, that no unresolved submission attempt exists and that approval requirements are satisfied. It issues an action lease for the unique submit target, frame 18, valid for two seconds. The adapter rechecks that the target remains stable and dispatches one click.

The button receives the event and becomes disabled. That is interaction readback, not completion. The adapter observes a reference number, then queries the claim list through a read-only endpoint or an independently refreshed screen. It confirms claim 28417 is submitted once, still carries three attachments and has the expected amount. Only then does the case move to verified outcome.

If the page times out after dispatch, the case enters unknown outcome. The write lease closes, another click is prohibited, and reconciliation checks claim state. If no authoritative read path exists, the system hands a compact packet to an operator: intended claim, last frame, exact input, possible effects and the next safe manual check. The human is resolving state, not rubber-stamping the model.

FieldComputer-use obligationClaim example
IntentDefine the terminal business state and stop conditions.Submit claim 28417 once with three receipts.
IdentityBind requester, proposing policy and executing service.Employee, claim agent and expense-service identity.
World stateKeep authoritative state apart from screenshots.Claim revision, amount, attachment set and status.
ContextRecord applicable instructions and evidence.Expense policy and source receipts.
ReasoningProduce a semantic proposal, not a coordinate.Submit after validation passes.
AuthorityCheck permission, purpose, ceiling, expiry and unresolved attempts.One submission for this employee and claim.
ActionBind target and input to a fresh frame.Click unique enabled submit control on frame 18.
EvidencePreserve observation and grounding receipts.Screenshot, accessibility node and target match.
OutcomeRead the domain postcondition independently.Submitted once, amount and receipts unchanged.
Release and recoveryStage capability and define unknown-outcome handling.Observe, draft, bounded submit, reconcile, revoke.

Part IV

Break the screen on purpose

Average task success is a weak release test for computer use. A cooperative interface lets naive and governed agents look similar. The discriminating experiment changes one boundary at a time and asks whether the system creates the correct state, the wrong state, an explicit refusal or an unresolved outcome.

Minimal worked example: the browser fault environment

The executable artefact below is synthetic JavaScript with no model call, network access or private data. Both controllers receive the same intention and observation. The naive controller remembers a coordinate and treats visible change as success. The guarded controller binds action to the observation revision, checks obstruction, preserves a semantic target and reconciles a timeout against authoritative state.

The stable layout is the positive control: both should succeed. Three negative cases then inject a layout shift, an overlay and a timeout after commit. Expected result: the naive controller has one clean completion from four scenarios, while the guarded controller completes all four without a wrong or duplicate effect.

Executable browser fault environment

Assumptions: the environment exposes a revision counter and an authoritative claim-state read. The visual target can be rediscovered after reobservation. The timeout case commits before the transport acknowledgement is lost.

Choose a run. The simulator is deterministic.

ScenarioControllerTerminal stateWrong effectsDuplicate writesRecovery evidence
No run yet.
Inspect the central control logic

The complete runnable implementation is embedded in this page. The decisive difference is the stale-frame and unknown-outcome branch.

function guardedController(environment) {
  let observation = environment.observe();
  const proposal = { target: "submit_claim", frame: observation.revision };

  environment.injectScheduledFault();

  if (proposal.frame !== environment.revision) {
    observation = environment.observe();          // stale frame: reobserve
  }
  if (!environment.isActionable("submit_claim")) {
    environment.clearRecoverableObstruction();    // overlay: repair, then reobserve
    observation = environment.observe();
  }

  const receipt = environment.clickSemantic("submit_claim", observation.revision);
  if (receipt.transport === "timeout") {
    const state = environment.readAuthoritativeClaim();
    return state.submitted ? "verified" : "escalate_unknown";
  }
  return environment.readAuthoritativeClaim().submitted ? "verified" : "failed";
}

What the simulator reveals

The layout-shift case is a target-identity test. The overlay case is an actionability test. The timeout case is an outcome-reconciliation test. None asks the model to reason more eloquently. Each adds an observation or control at the boundary where evidence is otherwise missing.

The stable control prevents a ritual conclusion that more machinery always wins. The guarded controller performs extra checks yet delivers the same outcome as the naive one. An engineering decision should price that overhead against consequence and fault exposure. Low-risk, fixed, reversible interactions may rationally use the simpler path.

Synthetic fault-environment results Two grouped bar charts compare naive and guarded controllers. The guarded controller has four safe completions and zero wrong effects. The naive controller has one safe completion and two wrong effects across four deterministic scenarios. Four deterministic scenarios 01234 1420 safe completionswrong effects naiveguarded Four fault scenarios naiveguarded 01234 1420 safe completionswrong effects
Figure 7. Controls matter only when the fault is present. Results are synthetic outputs from the embedded deterministic simulator: stable layout, dynamic shift, overlay and timeout after commit. They illustrate mechanism, not model quality.

A release test suite that measures the loop

A serious computer-use evaluation should record more than completion. At minimum, measure target-grounding precision by consequence tier, stale-frame refusal, obstruction detection, wrong-effect rate, duplicate-effect rate, unknown-outcome duration, successful reconciliation, unnecessary reobservation and recovery latency. Report the denominator for every measure.

Vary presentation without changing semantics: resolution, zoom, theme, locale, notification position and row order. Then vary semantics without obvious presentation change: record revision, permission, server validation and concurrent edits. AndroidWorld showed that task variations can materially affect agent performance, which is why dynamic instantiation is more informative than one memorised path.

Inject hostile content as well as accidental movement. Computer-use agents observe text that may contain instructions. OS-Harm evaluates misuse, prompt injection and model misbehaviour across desktop applications, while the 2026 OSGuard work separates local action judgement from end-to-end safety under added hazards. These benchmarks address broader security questions, but they reinforce one operational rule: nominal task success can coexist with an unacceptable route.

Open hypothesis

A computer-use system's wrong-effect rate will be predicted more strongly by the weakest of target identity, observation freshness and outcome readback than by its standalone visual-question-answering score. The hypothesis can be tested by ablating each receipt while holding the policy and task set fixed.

Part V

Choose the execution substrate before the model

The first architecture decision is not which multimodal model should click. It is which interface should carry each operation. Computer use earns its place where the application has no supported semantic interface, where rendered information is itself the object of work or where the cost of integration exceeds the bounded consequence.

Execution substrate decision field A two-dimensional field maps semantic richness on the horizontal axis and consequence on the vertical axis. High consequence with weak semantics falls into observe, draft or no-go regions. Rich semantic interfaces support bounded execution at higher consequence. semantic richness and stable identity → consequence and irreversibility → pixels / coordinatesDOM / accessibilitytyped API Observe or no-go weak identity, high consequence Hybrid control visual evidence, semantic action Bounded execution typed target and verified outcome Visual automation low consequence, reversible Observe or no-goweak identity, high consequence Visual automationlow consequence, reversible Hybrid controlvisual evidence, semantic action Bounded executiontyped target, verified outcome pixels / coordinatesDOM / accessibilitytyped API semantic richness and stable identity → consequence and irreversibility →
Figure 8. Consequence should rise only as semantics and verification strengthen. The field is a practitioner decision instrument. Boundary curves are illustrative rather than universal thresholds.

The substrate hierarchy

Preferred substrateUse whenPrimary strengthResidual obligation
Typed application APIA supported operation exposes stable subject and postcondition.Identity, validation, idempotency and explicit errors.Authority, freshness and independent business readback.
Domain service or database read with semantic writeThe visual interface is needed for evidence, but effects can use a controlled service.Hybrid observation with bounded execution.Reconcile visual and domain identities.
DOM or accessibility automationWeb or desktop semantics are exposed consistently.Roles, names, states, relationships and locator retry.Guard against stale, incomplete or deceptive semantics.
Visual grounding with semantic preflightRendered content is necessary and no richer target exists.Cross-application reach and spatial understanding.Version frames, revalidate target and verify outcome elsewhere.
Raw coordinate replayThe interface is fixed, local, reversible and low consequence.Minimal integration cost.Constrain viewport and stop on any variation.

Computer-use architecture decision record

  1. Name the unavailable semantic operation. Record why an API, command line, DOM, accessibility node or direct data interface cannot meet the need.
  2. Declare the consequence ceiling. Separate observation, navigation, drafting, reversible local edits, external communication, financial effect and rights-affecting action.
  3. Define target identity. State which application, subject, role, label and surrounding evidence distinguish the intended control from plausible neighbours.
  4. Bind proposal to observation. Carry frame revision, capture time, viewport and expiry into preflight; reobserve on change.
  5. Test actionability mechanically. Require one target, visibility, stability, event reception, enabled state and absence of blocking prompts where the platform permits.
  6. Keep authority outside the policy. Bind user, service identity, purpose, resource, operation, argument limits, approval and expiry.
  7. Specify both readbacks. Define the immediate interaction evidence and the independent domain postcondition.
  8. Design unknown-outcome recovery. Use idempotency, reconciliation, duplicate suppression, timeout states and human escalation before enabling writes.
  9. Run the fixed-interface negative control. Remove controls that do not change safety or utility under representative faults, especially for low-consequence work.
  10. Release by operation. Progress from replay to observe, draft, reversible effect and one bounded consequential effect, with a tested withdrawal path.

Architecture decision rule

Use visual computer control when rendered information is necessary and the effect can still be bounded and verified. Prefer a semantic action channel whenever stable identity or consequential outcome matters. Keep the agent in observation or draft mode when neither target identity nor postcondition can be established independently.

How the claim changes under pressureChart · state
stateDiagram-v2
  [*] --> Claim
  state "Thought experiment one: the<br/>same action through two<br/>apertures" as Claim
  state "Published evidence: planning<br/>is not grounding" as Test
  state "A screenshot is an<br/>observation, not world state" as Revision
  Claim --> Test: expose mechanism
  Test --> Decision: evidence survives
  Test --> Revision: rival survives
  Revision --> Claim: narrow or rebuild
  Decision --> [*]
The revision loop begins with Thought experiment one, the same action… and keeps counterexamples inside the reasoning path. Reading use: follow the relation, then test it against the surrounding evidence and limits.

Where the mechanism ceases to help

Versioned frames and verification do not make every interface governable. The mechanism breaks when the relevant state is neither visible nor available through any independent read path, when the target cannot be distinguished from harmful neighbours, when the application changes faster than revalidation can close the race, or when an irreversible effect has no idempotency, compensation or authoritative receipt.

It also ceases to justify its cost in the opposite regime: fixed, deterministic, low-consequence interfaces where a simple visual controller already meets the required error bound. The correct boundary is not visual versus non-visual. It is whether the system can establish sufficient evidence before and after the effect.

Some tasks remain human-only for reasons beyond interface fragility. A person may need to interpret ambiguous policy, exercise accountable judgement or obtain consent. Computer use can prepare evidence and navigate the surface without inheriting that authority. A functioning cursor is not a decision right.

Compact glossary

Frame revision
A version attached to an actionable observation so that dispatch can reject stale targets.
Grounding
The mapping from a semantic intention, such as “submit this claim”, to a concrete interface target and operation.
Actionability
Evidence that a target is unique, visible, stable, enabled and able to receive the intended event.
Interaction readback
Evidence that the intended interface element received the input and produced the expected immediate reaction.
Postcondition readback
Independent evidence that the intended domain state became true, failed or remains unknown.
Unknown outcome
A state in which an effect may have committed but available evidence cannot yet distinguish success from failure.

Treat the GUI as an untrusted adapter

A graphical interface gives an agent reach across software that was never designed for automation. That reach is valuable. It can rescue legacy workflows, operate specialist tools, interpret visual artefacts and bridge the last mile where integration would otherwise stall.

The same universality is purchased by discarding contracts. The screen does not reliably name the business object, expose all preconditions, preserve target identity during motion or prove the final state. A computer-use agent must infer those distinctions from evidence, and inference can fail without an explicit error.

The architecture decision therefore changes from “Can the model click?” to “Can the configured system prove what this click referred to and what happened afterwards?” Build the answer from versioned observation, semantic target, deterministic preflight, bounded authority, interaction readback, domain postcondition and unknown-outcome recovery. Use visual perception where it adds information. Use structured interfaces where they carry stronger semantics. Combine them when the task needs both.

The release programme changes too. Test moving layouts, hidden state, overlays, concurrent edits and timeouts after commit. Keep a stable kiosk as the negative control. Measure wrong effects and unresolved outcomes, not only completion. Widen capability one operation at a time.

Pixels can be a sensor. Coordinates can be an actuator. Neither should be mistaken for a contract. The GUI belongs at the edge of a governed agent system, treated as a fallible adapter whose claims must be checked against the world it only partially reveals.

The evidence conversationChart · sequence
sequenceDiagram
  participant Q as Question
  participant M as Mechanism
  participant E as Evidence
  participant D as Decision
  Q->>M: The button moved while nobody was looking
  M->>E: Thought experiment one: the same action through two apertures
  E-->>M: compare rival explanations
  E->>D: Source ledger
  D-->>Q: revise scope or act
Question, mechanism, evidence and decision exchange the burdens developed in Computer Use and the Fragile Visual Interface. Reading use: follow the relation, then test it against the surrounding evidence and limits.

Source ledger

  1. Primary. Shuyan Zhou et al., WebArena: A Realistic Web Environment for Building Autonomous Agents. Used for end-to-end web-task evaluation and the gap between language planning and functional completion.
  2. Primary. Tianbao Xie et al., OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments. Used for GUI grounding, operational-knowledge difficulty and execution-based desktop evaluation.
  3. Primary, recent result. XLANG Lab and collaborators, OSWorld 2.0: Benchmarking Computer Use Agents on Long-Horizon Real-World Tasks. Used for dynamic environments, hidden-state tracking, skipped verification and long-horizon completion evidence.
  4. Official implementation. XLANG Lab, OSWorld 2.0 benchmark repository and release manifests. Used to verify the active pinned benchmark release and reproducibility guidance.
  5. Primary. Jing Yu Koh et al., VisualWebArena: Evaluating Multimodal Agents on Realistic Visual Web Tasks. Used to establish tasks where rendered visual information is materially necessary.
  6. Primary. Boyuan Zheng et al., GPT-4V(ision) is a Generalist Web Agent, if Grounded. Used for the oracle-grounding intervention and hybrid visual-HTML grounding result.
  7. Primary. Boyu Gou et al., Navigating the Digital World as Humans Do: Universal Visual Grounding for GUI Agents. Used as the serious competing result for visual-only grounding.
  8. Primary. Christopher Rawles et al., AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agents. Used for dynamic task generation, state-based success checks and robustness to task variation.
  9. Primary. Thibault Le Sellier De Chezelles et al., The BrowserGym Ecosystem for Web Agent Research. Used for standardised observation-action spaces and reproducible multi-benchmark evaluation.
  10. Primary. Leslie Pack Kaelbling, Michael L. Littman and Anthony R. Cassandra, Planning and Acting in Partially Observable Stochastic Domains. Used for the belief-state framing under partial observability.
  11. Official specification. W3C, WebDriver. Used for stale-element, interactability, obstruction and input-dispatch semantics.
  12. Official specification. W3C, Accessible Rich Internet Applications 1.3. Used for roles, states, properties and accessibility-API semantics.
  13. Official engineering documentation. Microsoft, Playwright auto-waiting and actionability. Used as an implementation example of unique resolution, visibility, stability, event reception and enabled-state checks.
  14. Primary. Thomas Kuntz et al., OS-Harm: A Benchmark for Measuring Safety of Computer Use Agents. Used for safety evaluation across misuse, prompt injection and model misbehaviour.
  15. Primary, recent result. Mina Mohammadmirzaei and Jeffrey Flanigan, OSGuard: A Benchmark for Safety in Computer-Use Agents. Used for the distinction between local action judgement and end-to-end safety invariants.