Computer Use in Next-Generation LLMs: How Screen-Based AI Agents Work

    This article breaks down the shift of next-generation general-purpose LLMs from answering questions to completing tasks, with a focus on Computer Use: the ability to read a screen, click buttons, fill forms, and move data across applications. It explains why the graphical interface is becoming a de facto standard interface for software that exposes no APIs, how to interpret three common categories of evaluation metrics, and why "the interface is the API" has long-term value. It also covers five engineering concerns that must be designed up front, including permission isolation, observability and auditing, failure handling and rollback, human-in-the-loop collaboration, and cost and quota control, plus the relationship between screen operation and coding agents. Vendor-neutral and focused on verifiable engineering outcomes rather than marketing claims.

    The competition among next-generation general-purpose large language models is shifting from answering questions to completing tasks. Over the past year or so, model iterations were largely centered on reasoning and code generation. The latest generation of general-purpose models, however, has placed its emphasis somewhere else: directly reading the screen, clicking buttons, filling out forms, and moving work across applications. This is what the industry commonly calls Computer Use. This article does not discuss any specific vendor’s product. It looks at the capability purely from a technical perspective: why it matters, how to evaluate it, and what to watch out for during engineering implementation.

    1. The Shift in Focus: From Generating Content to Operating a System

    Early LLM interactions were bounded by text: you provide a prompt, and the model returns text or code. Function calling later connected models to external systems, but with a precondition: the target system had to expose a structured interface. Reality is messier than that. Many enterprise systems were built years ago, their API documentation is missing, and some expose no callable interface at all. Plenty of desktop applications, legacy clients, and industry-specific tools simply do not publish a programming interface.

    That is why a more general path has emerged: treat the graphical interface as the de facto standard interface. Screen pixels are an output channel that every piece of software has, and the mouse and keyboard are an input channel that every piece of software has. As long as a model can understand screen semantics, locate controls, and plan actions, it can theoretically operate the vast majority of software without waiting for each system to be adapted one by one. This is the fundamental reason the latest models treat screen understanding as their main direction.

    It is worth stressing that this path does not replace interface calls; it fills the long tail. Stable, high-frequency workflows should still go through APIs. Interface operation is better suited to low-frequency, long-tail scenarios that lack an API.

    2. How to Read the Three Key Categories of Metrics

    To assess Computer Use capability, the industry typically looks at three categories of metrics. Understanding the differences between them matters more than memorizing the numbers.

    1. Screen element localization accuracy. A representative evaluation approach is to give the model a natural-language instruction and a target screenshot, ask it to output click coordinates, and then check whether the click lands on the target control. This metric measures how accurately the model sees, and it covers complex interface elements such as icons, menus, forms, tables, and canvases. Rising scores indicate that multimodal models are getting better at understanding interface layout, icon semantics, and spatial relationships.

    2. Real desktop task completion rate. The approach here is to place the model in a real or virtual desktop environment, give it a single natural-language goal, and let it carry out multi-step operations across applications on its own. Success or failure is then judged by the final state of the environment. This measures end-to-end planning and error correction, and it is far harder than single-point localization because it involves task decomposition, state observation, fallback after failure, and handling unexpected pop-ups.

    3. Execution efficiency. For the same task, completion time can differ by nearly a factor of two. Efficiency matters a great deal: in real business settings, a workflow that takes tens of minutes to finish is often not usable. Workflow duration is strongly correlated with the number of steps, the proportion of ineffective actions, and the retry strategy.

    Read these numbers with caution. Evaluation environments are usually clean, standardized, and free of interference, while real endpoints introduce noise such as different resolutions, scaling ratios, multiple monitors, permission pop-ups, and network jitter. Actual performance will degrade noticeably. Building your own evaluation set that closely matches your business is more valuable than relying only on public leaderboards.

    3. Why “The Interface Is the API” Has Long-Term Value

    • Broad coverage: no changes are required from the target system, so the integration cost drops from connecting each system individually to essentially zero.
    • Resilience to change can be designed in: interface redesigns do break scripts based on coordinates or fixed selectors, but because models have semantic understanding, robustness improves by describing the goal rather than recording a path.
    • Complementary to existing automation: traditional UI automation scripts are fast but brittle, while model-driven operation is slower but steadier. Combining the two is currently the more pragmatic architecture.

    4. Engineering Implementation: Five Questions to Design for Up Front

    1. Permissions and isolation. All operations should run in an isolated virtual machine or a containerized desktop, using a least-privilege account. Direct connections to production databases and financial systems must be prohibited, and high-risk actions require a second confirmation.

    2. Observability and auditing. Record screenshots, action sequences, and structured logs in full, and connect them to logging services and monitoring alerts so problems can be replayed and located.

    3. Failure handling and rollback. Set a maximum number of steps and a timeout for each task, and revert to a snapshot on failure. Introduce idempotency and compensation mechanisms for write operations.

    4. Human-machine collaboration. Have the model proactively ask when it is uncertain instead of guessing and executing, and keep a manual takeover entry point at critical steps.

    5. Cost and quota. The image input overhead from screen understanding is significantly higher than pure text, so cache interface screenshots, crop irrelevant regions, downsample on demand, and queue tasks by priority.

    A sketch of the task loop can summarize the ideas above:

    1. # Pseudocode: illustrates the observe-decide-execute-verify loop
    2. for step in range(MAX_STEPS):
    3. obs = env.observe() # screenshot + window/control metadata
    4. if verifier.done(obs): # verify the goal state, not just whether an action was issued
    5. return success()
    6. action = planner.decide(goal, obs) # output structured actions such as click/type/scroll/hotkey
    7. if action.risky and not confirmed:
    8. ask_human(action) # human confirmation for high-risk actions
    9. env.execute(action)
    10. metrics.record(step, latency) # record steps and latency for efficiency tuning
    11. raise TimeoutError()

    5. The Relationship with Coding Tools

    Computer Use and coding ability are not two parallel tracks. In real development workflows, requirement clarification, environment setup, dependency installation, log troubleshooting, and result verification all rely heavily on a mix of graphical interfaces and the command line. If a model can read the screen and execute actions reliably, it can push “generating code” forward to “running it and verifying it,” which is an important direction in the evolution of current coding tools. In related engineering practice at Baidu AI Cloud, model capabilities are typically packaged inside a controlled sandbox environment, combined with a unified logging, monitoring, and permission system to keep the process traceable and the results reproducible.

    6. A Rational View of “AGI Era” Rhetoric

    When vendors use wording like “most intelligent” or “best aligned” at launch, it is a common communication strategy. Developers should focus instead on verifiable engineering metrics: task success rate, average number of steps, exception recovery rate, cost per task, and the security violation interception rate. A recommended evaluation path is to start with a small-scale read-only pilot, then gradually open up write operations, and only then consider long, cross-system automated workflows.

    In summary, next-generation general-purpose models are pushing the competitive focus toward operating real software. The technical core is screen semantic understanding plus multi-step planning and execution. Its value lies in covering the long tail of systems that have no APIs, while the success of implementation depends on seemingly unglamorous engineering details such as isolation, auditing, rollback, and human-machine collaboration.