The Screen as an Interface: An Engineering Path to Reliable Computer-Use Agents
Graphical interfaces have long been treated as a layer for humans to look at, not a contract for programs to call. This article argues for treating the screen itself as a general-purpose interface, but not by letting a model click around freely. Instead, it breaks seeing, understanding, acting, and verifying into a testable, replayable, and auditable pipeline. It defines computer-use capability in concrete terms, explains why a hybrid of structured channels and vision beats pure screen automation, lays out a closed-loop runtime architecture, and covers evaluation, permissions, data handling, and common failure modes. The core takeaway: reliability comes from short loops, strong verification, least privilege, and replayable logs, not from a more "general" but unexplainable session.
Graphical user interfaces have long been treated as an interaction layer meant for humans to look at, rather than a contract that programs can call. Many business systems expose no formal API, their documentation lags behind, and the meaning of fields lives only in the pages themselves and in operators’ habits. Treating “the screen itself as a general-purpose interface” does not mean letting a model click around at random. It means splitting perception, understanding, action, and verification into a pipeline that is testable, replayable, and accountable. In engineering terms, stronger computer-use ability should show up as fewer misclicks, shorter paths, and more stable completion rates within the same permissions and the same environment, plus the ability to stop after an error instead of blindly pressing on.
How to Define the Capability
Do not describe this kind of system as “capable of anything.” A narrower definition is more useful and more actionable:
- Perception: locate clickable regions, readable text, and state changes under the current resolution, scaling, theme, and occlusion conditions.
- Decision-making: break the user’s goal into verifiable sub-goals, rather than generating a long string of clicks that cannot be checked.
- Execution: issue actions through controlled channels such as keyboard/mouse or the accessibility tree, recording coordinates, control semantics, and timestamps.
- Verification: confirm whether a sub-goal was met using interface state, file outputs, or business results.
- Stopping: hand control back to a human when facing a login wall, insufficient permissions, a CAPTCHA, a funds confirmation, or unclear semantics.
“Alignment” here is not a slogan but a constraint: the model may act only within authorized windows, authorized accounts, and authorized data; high-risk actions require a second confirmation; and the trajectory must be auditable. Making autonomy larger while writing the stopping conditions more clearly is the direction that can actually ship.
Why the Interface Is More Realistic Than Waiting for Adaptation
Three kinds of systems are common in enterprises: new applications with formal APIs, middle platforms with only partial APIs, and legacy systems that now have nothing but a client. The first two should go through APIs first, since they are stable, testable, and have a clear permission model. For the third kind, if it cannot be reworked in the short term, operating the interface is the reasonable option.
The interface has four inherent flaws as an interface. First, it is unstable: skins, resolution, popups, and asynchronous loading all change the pixels. Second, it is incomplete: a button that looks clickable while loading may correspond to a request that has not finished. Third, it is irreversible: submit, delete, and payment actions cannot be rolled back by “clicking once more.” Fourth, it leaks context: screenshots often contain customer data and internal addresses.
The correct strategy, therefore, is a hybrid of channels rather than pure vision:
- When a controlled API or script can be called, do not go through the screen.
- When the accessibility tree, window titles, or control roles can be read, use that structured information to constrain the visual result.
- When only the screen is available, restrict actions to whitelisted applications and bind every click to an “expected state change.”
- For write operations, default to a draft state and submit only after human confirmation.
The Closed-Loop Architecture
A single loop can describe the runtime, rather than treating the model as a free mouse inside a remote desktop.
observe -> ground -> plan -> act -> verify -> recover or stop
The observation layer stores screenshots, window hierarchy, focus, and any necessary text. The grounding layer outputs candidate controls with confidence scores; low-confidence results must not trigger write actions. The planning layer produces only the next step or a very short look-ahead, avoiding long plans that all break the moment the interface changes. The execution layer uses a least-privilege input channel. The verification layer checks against sub-goals: whether the page title changed, whether a list count increased, whether an export file appeared, whether an error message disappeared. The recovery layer handles timeouts, popups, and focus loss; when consecutive failures reach a threshold, it stops and hands over the trajectory.
State should not live only in the conversation. Each loop writes a structured log: the goal, an observation summary, the candidate action, the actual action, the verification result, and the elapsed time. Screenshots and logs go to object storage, task events go through a message queue, executors run in isolated containers, and monitoring alerts watch the timeout rate and the human-takeover rate. If an enterprise already uses general cloud infrastructure such as Baidu AI Cloud, these are all standard storage, compute, and observability capabilities, and there is no need to invent a separate interface for “computer operation”; what matters is tenant isolation, retention periods, and access auditing, not the model brand.
Evaluation: More Important Than a Single Demo
Public demos easily cherry-pick a smooth path. Before shipping, test at least four things separately, and do not simply add up percentages from different benchmarks.
- Grounding: given a screenshot and an instruction, the proportion of times the target region is hit, covering high-DPI screens, scaling, dark themes, and occlusion.
- Task completion: the success rate of office, configuration, retrieval, and export tasks in a clean virtual machine, along with step counts and wall-clock time.
- Terminal and engineering tasks: if the goal includes editing configs, running analyses, or checking logs, the command environment should be tested separately; a score from clicking buttons cannot substitute for it.
- Safety refusal: privilege-escalation paths, pasting keys into unknown sites, and submitting forms without confirmation must all yield “refuse or escalate to a human” as the correct result.
When comparing two generations of a system, look at completion rate, latency, number of human takeovers, and severity of misoperations together. Fast but prone to wrong submissions is usually more dangerous than slow but able to stop. The environment must fix the image, the account, and the network; otherwise the numbers are meaningless. This article does not cite unverified benchmark scores; any public number should come with the test-set version, the success criterion, and failure samples.
Permissions, Data, and Failure Modes
Least privilege is the default configuration. The executor uses a dedicated account, not the employee’s full desktop; the clipboard, download directory, and browser profile are provisioned per task. Screenshots are redacted by default: password fields, ID numbers, and balances can be masked before entering the model. The retention period for trajectories is written into policy; they can be replayed for debugging but should not be kept indefinitely.
Typical failures and countermeasures:
- Reading the right text but clicking the wrong layer: a transparent popup, or focus not on the target window. Countermeasure: verify the foreground window before acting.
- Declaring completion too early: the page is still spinning. Countermeasure: write “loading finished” as an explicit check, rather than checking whether a button exists.
- Repeated clicks: verification lag causes retries. Write operations must be idempotent, or the same target must be frozen for a period after a click.
- Goal drift: the user only says “handle this.” At task start, write the success criterion as a checkable statement, and ask when it is ambiguous.
- Environment drift: fonts, language packs, and enterprise policies differ. The evaluation set must include these variants and cannot pass on a single demo machine alone.
The division of labor between human and machine should be written as policy, not as an appendix to a prompt: read-only exploration can be automated; generating drafts can be automated; sending externally, making payments, deleting data, and changing permissions must be confirmed. The confirmation screen should show a summary of what is about to be clicked, not just a “Continue” button.
Boundaries With Programming and Office Automation
Completing development, configuration, and data analysis in a terminal is related to but different from filling in forms in a graphical interface. The former relies on commands, exit codes, and file diffs; the latter relies on pixels, the control tree, and asynchronous interfaces. A model getting stronger at both does not mean a screenshot approach can replace scripts. Batch processing, reconciliation, and releases that can be scripted should stay deterministic. Interface agents are suited to long-tail, API-less work whose steps change with the page, such as reconciling fields across several legacy systems or completing a one-off configuration following on-screen prompts.
The rollout order can be very concrete: first pick read-only or rollback-safe tasks; record the human standard path; define a check for each step; run in shadow mode to give suggestions without executing; then open up low-risk clicks; and only last discuss shortening human confirmation. Measure with task success rate, average takeovers, misoperation tickets, and saved human-minutes, not an abstract “intelligence level.”
An Engineering Reading of “General Intelligence” Claims
When research or product marketing makes a judgment like “it has entered a more general stage,” an engineering team should translate it into falsifiable questions: can unseen software be completed within a limited number of steps; how much does the completion rate drop after a distribution shift; can privilege-escalation requests be reliably refused; can a failed trajectory help the next run avoid the same class of error. If these cannot be answered, a demo cannot yet be treated as production capability.
The screen will remain the last entry point for systems that have no API. The key to using it well is not handing clicks to an unexplainable session, but turning every success and every stop into a reviewable fact through short loops, strong verification, small permissions, and replayable logs.
