How to Evaluate Computer-Using AI Agents: Capabilities, Engineering, and Governance

    A practical look at the new generation of computer-operating AI agents, covering three quantifiable capability metrics, the four engineering layers behind them (perception, planning, execution, and evaluation), and the risk controls needed to deploy them safely. The article also outlines a realistic path for building a reproducible evaluation set in an isolated sandbox.

    1. The Shift in How We Measure Progress

    For a long time, model quality was judged mainly by performance on standardized question answering and code generation. As agents begin to take over real desktop environments, the focus shifts to whether they can complete tasks end to end. A new computer-operating model from a cloud vendor recently drew attention, and the emphasis in its official messaging was not programming but operating a computer: reading the screen, clicking controls, filling out forms, and switching between applications the way a person would.

    The substance of this shift is a move from generating correct content to producing correct side effects. An error in the former affects only a piece of text; an error in the latter can delete the wrong file or submit the wrong order. Any discussion of these capabilities therefore has to address capability boundaries and risk control at the same time.

    2. Three Quantifiable Capability Dimensions

    The source material describes three categories of metrics that map neatly onto the three critical stages of putting an agent into production. They can be generalized into common engineering indicators:

    • Screen localization accuracy: whether the model can find the coordinates of a target control on the interface. The new approach scores above roughly 90% on fine-grained localization tests, versus a bit over 70% for the previous generation. This determines whether it clicks accurately.
    • End-to-end task completion rate: the proportion of full workflows completed as instructed in a real system environment, around 70%-plus for the new generation versus 60%-plus for the previous one. This determines whether it can finish the job.
    • Average execution time: the time needed to complete the same task, compressed from about 75 minutes to about 40 minutes. This determines whether it is worth using.

    It is worth stressing that these numbers come from a specific test set in a specific environment and cannot be extrapolated directly into a stability guarantee for production. The more reliable engineering practice is to rebuild a small-scale evaluation set inside your own business systems.

    3. Where the Capability Comes From: Four Engineering Layers

    3.1 Perception: Turning Pixels into Actionable Semantics

    A screenshot is a grid of 2D pixels, and the agent has to identify buttons, input fields, list items, and their available states. A common approach combines interface structure information with visual recognition to output candidate elements with types and confidence scores, then maps them to coordinates. Multiple resolutions, scaling ratios, and dark mode can all significantly affect stability.

    3.2 Planning: Breaking a Goal into Reversible Steps

    A reliable solution does not emit all actions at once. Instead, it uses an observe-decide-execute-verify loop, taking a fresh screenshot after each step to confirm state and triggering a retry or an alternate route on failure. Illustrative pseudocode:

    1. for step in plan(goal):
    2. state = observe(screen)
    3. action = decide(state, step)
    4. result = execute(action)
    5. if not verify(result, state):
    6. replan(goal, history)

    3.3 Execution: Prefer Stable Interfaces

    Operating the interface directly is a fallback with limited reliability. A more engineering-minded order is to call automation interfaces provided by the system or application first, then use keyboard shortcuts and text input, and only then fall back to coordinate-based clicking, which reduces the brittleness caused by interface redesigns.

    3.4 Evaluation: A Reproducible Sandbox Environment

    Use a container platform or virtual machines to spin up clean environments in batches, pair them with object storage to retain screenshots and traces, and use logging and monitoring with alerting to track success rate, average duration, and rollback counts. Together these form an evaluation pipeline that supports continuous regression testing.

    4. Deployment Risks and Governance Recommendations

    • Sandbox isolation: all execution happens in disposable environments, with no direct connection to production data.
    • Least privilege: grant only the account and directory permissions required for the current task.
    • Human confirmation gates: force a second confirmation for irreversible actions such as payments, deletions, and outbound messages.
    • Full auditability: record the screenshot, action, and result of every step to support incident review.
    • Cost control: set limits on step count and duration so the agent does not burn resources in a loop.

    5. Conclusion

    The value of the new generation of computer-operating agents lies not in a single benchmark number but in turning interface operation into an engineering object that is programmable, measurable, and governable. For developers, the pragmatic path is to first build your own evaluation set in an isolated sandbox, use general-purpose cloud capabilities to build the execution and observability foundation, and then gradually open up permissions and scenarios. For automation and observability needs of this kind, Baidu AI Cloud typically provides support through general-purpose capabilities such as its container platform, logging service, and monitoring and alerting, which enterprises can use to build a safe and controllable agent engineering system.