Computer-Use Agents: Capability Evaluation and Production Deployment

    Computer-use agents shift the evaluation focus from answer quality to whether long-running tasks are actually completed in real software. This article breaks agent capability into perception, decision, execution, and feedback layers; explains why general benchmarks can miss differences in end-to-end reliability, recovery, and cost; and outlines practical guidance for context management, reasoning-tier selection, sandboxing, auditability, rollback, a five-layer enterprise architecture, and self-built task evaluations.

    1. The Shift in Capability Focus: From “Better Answers” to “Completed Tasks”

    The most noteworthy discussion around a recent flagship model release was not parameter scale or leaderboard position, but a shift in the coordinate system used to evaluate capability. The core claim was no longer “the smartest conversational model,” but a plain engineering statement: what you can do on a computer, it can do for you.

    Behind that statement is a change in evaluation paradigm. Traditional benchmarks measure the quality of a mapping from static input to static output: given a problem, the model produces an answer. Real office and engineering workflows measure completion of long-horizon tasks: goals are ambiguous, environments change, errors occur mid-task, and tens or hundreds of steps may be required to converge. The former score can be obtained in a single forward pass; the latter is known only after running in a real environment.

    The right way to discuss this class of models is therefore not to ask “how intelligent is it,” but to ask three questions: Can it keep acting in real software? Can it correct itself after failure? Is its cost per task acceptable?

    2. Capability Layers: A Decomposable Technical Model

    “Computer operation capability” can be broken into four layers, each with its own failure modes.

    Perception layer: converts screen state into a representation the model can understand. The industry generally has two routes: pure visual screenshots, and structured accessibility trees with control metadata. The visual route is general but token-heavy and sensitive to resolution and scaling; the structured route is precise and cheap, but degrades on custom-rendered interfaces or remote desktops. Mature solutions often combine both, using structured information as the primary source and screenshots as a supplement.

    Decision layer: selects the next step from the candidate action space. The key design principle is that the action space should be small and orthogonal: click, type, scroll, keyboard shortcut, wait, invoke a command-line tool, finish and report. The more freedom in the action space, the easier it is for the model to take irreversible actions.

    Execution layer: actually carries out actions in an isolated environment. The core here is not model capability but environment engineering: snapshotting, rollback, parallelism, and reproducibility.

    Feedback layer: encodes execution results back into context, including interface changes, exit codes, and log snippets. Feedback quality directly determines self-correction ability. Many “model failures” are actually failures to provide the right feedback.

    A minimal usable action loop looks roughly like this:

    1. def run_task(goal, env, model, max_steps=120):
    2. history = [system_prompt(), user(goal)]
    3. for step in range(max_steps):
    4. obs = env.observe() # screenshot + widget tree + window title
    5. action = model.decide(history, obs) # structured action, not free text
    6. result = env.execute(action) # execute in sandbox with full trace
    7. history.append(obs_summary(obs)) # compress visual information into a text summary
    8. history.append(result) # exit code / error / UI diff
    9. if result.done:
    10. return verify(goal, env), step
    11. return False, max_steps # exhausted step budget is treated as failure

    Note the two places obs_summary and verify: the former is context governance, the latter is result validation. An agent without validation will use a fluent self-narrative to cover up a complete failure.

    3. Why General Benchmarks Can “Look Undifferentiated”

    If you look only at composite capability indices, a new-generation model often ties with the previous generation, or may even trail slightly behind a more specialized model. This is not contradictory, for three reasons.

    First, benchmark tasks and real task distributions do not match. General benchmarks are dominated by short question answering and single-turn reasoning, while computer-operation capability shows up in long-horizon consistency over dozens of steps, which is almost invisible on such benchmarks.

    Second, failure in long-horizon tasks is multiplicative. With a single-step success rate of 99%, the end-to-end success rate over one hundred steps is about 0.99 to the power of 100, or only about 37%. Therefore, small improvements in end-to-end capability often come from “making fewer mistakes” rather than “thinking better.”

    Third, operational benchmarks measure a closed loop of environment interaction, including installing dependencies, reading errors, changing configuration, and revalidating. Such capability has weak correlation with traditional knowledge-oriented scores.

    Conclusion: when selecting a model, treat “general intelligence” and “task completion rate” as two orthogonal dimensions and measure them separately.

    4. Long Context, High Reasoning Tiers, and Cost Structure

    Common specification combinations for this class of models include ultra-long context, larger maximum output, multiple reasoning-effort levels, and separate pricing for input and output. Each has a clear engineering implication.

    Ultra-long context solves the problem that environment state does not have to be rebuilt repeatedly, at the cost of attention dilution and linearly growing expense. Engineering practice must include context governance: rolling summaries, targeted re-reading of key files, and persisting large logs to disk while returning only retrieved matching snippets.

    Multiple reasoning-effort levels provide cost elasticity. Use a low tier for simple click-like subtasks and a high tier for architecture decisions and error attribution, with the orchestration layer selecting dynamically by task type rather than fixing the highest tier globally.

    Asymmetric pricing of output and input means the main cost of a long-horizon agent is actually on the input side: history must be replayed at every step. A rough cost estimation logic is as follows:

    1. # Per-task cost estimate (illustrative; use actual commercial pricing)
    2. cost = (total_input_tokens / 1e6) * price_in \
    3. + (total_output_tokens / 1e6) * price_out
    4. # Long-horizon optimization focus: compress total_input_tokens, not cut output

    This leads to three actionable cost-reduction measures: convert visual observations into text summaries, summarize history in segments, and truncate and structure tool returns.

    5. Reliability, Security, and Rollback

    Being able to operate a computer means being able to cause damage, so security design must ship together with capability.

    • Environment isolation: all execution happens in an ephemeral virtual machine or container sandbox, destroyed when the task ends, with no direct connection to production network segments.
    • Least privilege: grant only the directories, accounts, and applications required by the task. High-risk operations such as deletion, payment, external sending, and permission changes require mandatory human confirmation.
    • Action allowlists and rate limits: limit click and command frequency per unit time to suppress runaway loops.
    • Full audit: record actions, screenshots, exit codes, and latency step by step, write them to a logging service, and connect to monitoring and alerting. Automatically trigger a circuit breaker when failure rate or average step count is abnormal.
    • Rollback: environment snapshots plus a change manifest, ensuring that any automation run can be restored to its initial state.

    6. Enterprise Deployment Architecture: A Five-Layer Reference

    1. Model service layer: access through a unified model gateway, abstracting differences between models to support canary release and switching.
    2. Execution sandbox layer: container platform, image registry, and snapshot storage to support high-concurrency parallel tasks.
    3. Tool gateway layer: wrap internal systems as controlled tool interfaces, avoiding direct low-level access by the model.
    4. Orchestration layer: task decomposition, subgoal scheduling, failure retry, and reasoning-tier selection.
    5. Observability layer: metrics, logs, and tracing in one system, accounting for success rate and cost per task.

    For example, on Baidu AI Cloud, these layers can map to generic capability categories such as container platform, object storage, log service, and monitoring and alerting, with model capabilities accessed through a unified gateway to avoid tight lock-in to a single vendor.

    7. Evaluation Methodology: Your Own Task Set Is the Only Trusted Source

    Public leaderboards are suitable only for initial screening. Final decisions must rely on a self-built evaluation set. Build 50 to 200 tasks drawn from real business workflows, covering high-frequency, long-horizon, and failure-prone categories, and define programmable acceptance criteria for each task.

    The core metrics should be fixed to four: end-to-end success rate, average number of steps to completion, cost per task, and human takeover rate. All four must be examined together: looking only at success rate selects prohibitively expensive solutions, while looking only at cost selects solutions that never converge.

    For release cadence, this type of capability is usually opened first to a trusted small group of users and then expanded gradually. Enterprises should design corresponding quotas and gradual rollout strategies: release in batches by department and task type, run read-only tasks first in shadow mode, and enable write operations only after stability is validated.

    8. Conclusion

    The real watershed for this generation of models is not an extra two or three points on a leaderboard, but whether a model can be given a goal and then run to completion on its own. For developers, the focus of work is shifting from prompt engineering tricks to environment engineering, context governance, and observability systems. For enterprises, building sandboxes and auditability first and discussing automation scale second is the path with controllable risk.