Computer Use in Next-Generation General LLMs: Capabilities, Evaluation, and Production Architecture

    This article analyzes how next-generation general large language models move from answering questions to operating computers. It explains the three-layer capability model of perception, decision-making, and execution, outlines evaluation approaches for grounding accuracy, end-to-end tasks, and abstract reasoning, and discusses why treating the interface as an API is a practical direction. It also presents an observable agent execution loop, along with guidance on permissions, security, compliance, cost control, and common reliability pitfalls.

    1. From Answering to Operating: A Shift in Capability

    Over the past few years, the mainstream narrative around general large language models has focused on language understanding, reasoning, and code generation. The new generation of models has clearly shifted its emphasis toward a more practical direction: viewing the screen, moving the pointer, clicking controls, filling out forms, switching between applications, and completing tasks much like a human would.

    The reason for this shift is straightforward. In enterprise environments, the hardest parts to automate are often not the algorithms but long-tail interactions: many software systems have no external APIs, internal systems were built long ago with missing documentation, and the interface has become the only stable and usable contract. When a model gains reliable screen understanding and operation capabilities, automation coverage expands from systems with APIs to all systems with an interface.

    It is worth emphasizing that “intelligence” here is not a single metric but a combination of three layers of capability:

    • Perception layer: recognizing interface layout, control semantics, and state changes;
    • Decision layer: planning the next action based on the goal and replanning after failures;
    • Execution layer: completing clicks, typing, dragging, and other actions with low latency and rollback support.

    2. Evaluation Dimensions: How to Tell Whether a Model Can Really Operate a Computer

    Objectively assessing computer operation capability typically requires three complementary types of evaluation:

    1. Grounding accuracy evaluation. Given a natural language instruction, this measures whether the model can locate the correct target on the interface and hit the right coordinates. It reflects the basic ability to “see clearly and click accurately.”
    2. End-to-end task evaluation. The model is placed in a real or simulated desktop environment and asked to complete multi-step tasks independently, measuring completion rate and time consumption. This is closer to the production experience and can expose weaknesses in planning and error correction.
    3. Abstract reasoning evaluation. This assesses the model’s generalization ability in unfamiliar rules and changing environments, and is key to determining whether the model has merely memorized operation templates.

    Based on publicly available technical trends, the new generation of models generally shows a dual improvement of “higher completion rate + lower time consumption” across these three types of evaluation. This matters more than a single-point score: what enterprises care about is the end-to-end cost and predictable duration per task, not the ranking on a particular leaderboard.

    3. Why “Interface as API” Is the Right Direction

    Treating the interface as a universal API has three engineering benefits:

    • Zero adaptation cost. There is no need to wait for every system to provide an API; the model works directly with existing interfaces;
    • Coverage of long-tail scenarios. For internal systems with low usage frequency that are not worth reworking, the automation payoff is actually higher;
    • Resilience to change. As long as the interface semantics can be recognized, minor version updates usually do not require rewriting integration code.

    But the cost is equally clear: interfaces are designed for humans to read, not for machines. Pixel-level grounding is easily affected by resolution, scaling, themes, and popup overlays; dynamic loading and asynchronous states create timing issues of “clicking too early or too late.” Therefore, a production-grade solution must build a closed loop of “see-think-do-verify” rather than a one-off script.

    4. Implementation Architecture: An Observable Agent Execution Loop

    It is recommended to split a computer operation agent into five independently evolvable and observable modules:

    1. Goal Input -> Task Planner -> Screen Perception -> Action Executor -> State Verifier
    2. ^ |
    3. |______________ Replan on Failure <-----|
    • Task planner: decomposes high-level goals into subgoals and maintains a task state machine;
    • Screen perception: outputs a control tree/region semantics and candidate coordinates with confidence scores;
    • Action executor: performs mouse and keyboard actions in a controlled desktop, supporting timeouts and rollback;
    • State verifier: uses verifiable signals to confirm whether each step is achieved, avoiding the situation where something “looks done.”

    Pseudocode illustration (structure only, not a specific product interface):

    1. def run_task(goal, env, max_steps=40):
    2. plan = planner.decompose(goal)
    3. for step in plan:
    4. for attempt in range(3):
    5. screen = perception.capture(env)
    6. action = planner.next_action(step, screen)
    7. result = executor.perform(env, action, timeout=15)
    8. if verifier.satisfied(step, env):
    9. break
    10. planner.replan(step, reason=result.feedback)
    11. else:
    12. return escalate(step, reason="max_retry")
    13. return audit.log(goal, env)

    From an engineering perspective, it is advisable to write each step’s screenshot summary, action, and verification result into a logging service, together with monitoring and alerting dashboards for metrics such as “consecutive failure rate, average number of steps, and timeout rate,” making it easier to quickly determine whether the problem lies in perception or planning.

    5. Permissions, Security, and Compliance: Keeping “Able to Operate” Under Control

    Letting a model operate a real computer carries a significantly higher risk level than pure text generation. Implementation should adhere to the principles of least privilege and auditability:

    • Environment isolation. Prefer running in container platforms or dedicated virtual desktops, limiting the scope of network and file system access;
    • Tiered authorization. Introduce secondary confirmation or human gates for actions involving funds, approvals, or deletion;
    • Full traceability. Archive operation logs, screenshots, and artifacts to object storage, preserving a traceable chain;
    • Sensitive information handling. Desensitize or use placeholder processing for personal information and business secrets to avoid them entering the model context directly;
    • Rate and quota. Use message queues for peak shaving and set concurrency and daily limits to prevent abnormal loops from wasting resources.

    6. Cost, Stability, and Common Pitfalls

    The cost structure of computer operation agents differs from that of conversational models, mainly consumed by “multi-round perception + long context + retries.” Common practices for controlling costs include: compressing screenshot resolution and cropping irrelevant regions, caching static interface templates, solidifying deterministic steps into scripts, and invoking the model only for uncertain steps.

    Common stability issues and countermeasures:

    • Grounding drift: introduce multiple candidate points plus verification fallback;
    • Timing races: wait for key elements to appear before acting, and set explicit timeouts;
    • Popups and overlays: perform general preprocessing to close/confirm first;
    • Environment differences: perform baseline calibration at the target resolution and scaling ratio.

    7. Conclusion

    The new generation of general large language models brings “operating a computer” to the forefront, essentially extending the boundary of automation from APIs to interfaces. For enterprises, the real competitive edge lies not in being the first to adopt the latest model, but in having clear evaluation criteria, an observable execution loop, a strict permission and audit system, and a sustainable cost strategy. By solidifying these foundations and layering on the general capabilities of Baidu AI Cloud in container platforms, logging services, monitoring and alerting, and object storage, a “model that can see the screen” can be reliably transformed into deliverable business automation.