The Era of General-Purpose Agents: How Computer Use Reshapes Software Automation

    This article examines the shift in AI agent evaluation from code generation toward operating a real computer through its graphical interface. It breaks down three core capability layers—screen understanding, end-to-end task execution, and terminal or coding ability—along with the publicly reported performance and efficiency figures for each. It then explains why treating the interface as a universal API is the right direction, what it costs, and how to turn demo-level ability into a reliable system through a layered architecture, environment-state verification, rollback, and governance. Common pitfalls and the key takeaway for developers are covered as well.

    Introduction: The Center of Gravity Shifts from Generating Code to Operating a Computer

    Over the past two years, most discussion of large model capability has centered on code generation and text reasoning. Recent technical disclosures on general-purpose agents, however, show the center of gravity moving: whether an agent is strong enough is no longer judged only by whether it can write a correct function, but by whether it can look at a screen, move the pointer, click controls, fill in forms, and switch between applications inside a real computer until an entire piece of work is finished.

    This shift has a clear practical driver. Many pieces of software in enterprise environments expose no external interface, and a large number of internal systems were built years ago with missing documentation, making modification and integration extremely costly. Yet as long as a graphical interface exists, so does an operating path that humans have already validated. The interface therefore becomes the de facto universal API: agents can complete tasks through a perception-and-action loop without waiting for vendors to add support.

    1. Three Core Capabilities: From Seeing to Clicking to Finishing

    Systems of this kind are usually assessed across three progressive layers.

    1. Screen Understanding: How Precise Is Localization

    The first layer is visual grounding: given a natural language instruction and a screenshot, the model must output the coordinates or region of the target control. Such benchmarks typically cover real office and professional software scenarios, including difficult samples with high resolution, small icons, and dense toolbars. In public testing, the previous generation of models scored around 77%, while the new generation rose above 90%. The key to the improvement is not simply increasing input resolution, but the quality of alignment between visual encoding and language semantics in the same representation space, along with the ability to distinguish controls that look alike but mean different things.

    2. End-to-End Task Execution: Can It Finish in a Real Environment

    The second layer is long-horizon task execution. The evaluation places the agent in a real virtual machine, gives it a cross-application, multi-step goal, and lets it plan and act autonomously, with success determined by the final environment state. Public data shows the new generation completing about 73% of tasks versus about 66% for the previous generation; more notable is the efficiency metric, as average time on the same set of tasks dropped from roughly 75 minutes to about 40 minutes.

    These numbers highlight the point most easily overlooked in engineering: the cost of a long-horizon task depends not only on the success rate but also on the number of steps and the time spent. If a model has to probe repeatedly and backtrack often, it cannot be used at scale in a business even when it eventually succeeds.

    3. Terminal and Coding: Support for Complex Engineering Work

    The third layer is command-line and engineering ability. Terminal benchmarks require the model to complete composite tasks such as software development, system configuration, and data analysis in a real shell environment. The new generation scored close to 58%, the previous generation about 37%, and a comparable class of AI coding tools about 56%. This layer determines whether an agent can repair itself: when a graphical action fails, can it locate the root cause through logs, processes, and configuration files.

    2. Why “the Interface Is the API” Is the Right Direction

    Treating the interface as a universal API offers three structural advantages.

    • Coverage: APIs require vendors to open and maintain them, while interfaces exist naturally in all software at zero modification cost.
    • A stability trade-off: interface structures change, but operating paths that humans can complete usually remain valid for a long time, staying closer to real business semantics than private protocols.
    • Portability: the same operating strategy can be reused across systems, with no need to build a separate adapter layer for each one.

    The costs are equally clear: pixel-level operation is sensitive to resolution, scaling, and theme styling; asynchronous loading and pop-ups interrupt flows; and the cost of a misclick may be irreversible. Engineering implementations must therefore include state verification and rollback design.

    3. Engineering Practice: Turning Demo Capability into a Reliable System

    1. Layered Architecture

    A recommended design splits the system into four layers: a perception layer for screenshot capture and interface element extraction; a decision layer for task decomposition and next-action generation; an execution layer for mouse, keyboard, and command-line operations; and a governance layer for permissions, auditing, and alerting.

    1. # Example: a single-step execution loop with verification and retry
    2. def run_step(agent, env, goal, max_retry=2):
    3. for _ in range(max_retry):
    4. obs = env.snapshot() # screenshot + accessibility tree
    5. action = agent.decide(goal, obs)
    6. env.apply(action)
    7. if env.verify(goal): # judged by environment state, not model self-report
    8. return True
    9. return False

    2. Key Reliability Design Points

    • Use the environment state as the sole criterion for success, avoiding reliance on model self-assessment.
    • Define preconditions and post-conditions for every action, and roll back to a known snapshot on failure.
    • Prefer accessibility information to assist localization, with visual grounding as a fallback; this significantly reduces coordinate drift.
    • Set thresholds for time and step count, switching strategy or handing over to a human when they are exceeded.

    3. Governance and Security

    An agent with real operating ability holds real permissions. Apply the principle of least privilege, and configure a dedicated account and resource quota for the runtime environment; require secondary confirmation and a blocklist for high-risk operations; record the full operation trail for audit and traceability; and track success rate, average step count, and time distribution through logging services and monitoring alerts. If a task involves elastic concurrency, container platforms can isolate runtime environments, object storage can hold intermediate artifacts, and message queues can distribute tasks and smooth out peaks.

    4. Common Pitfalls

    • Looking only at benchmark scores and not at cost: if a higher completion rate comes at the price of several times the time, the business value is limited.
    • Ignoring environment differences: resolution, permissions, and network policies differ between demo and production environments, so conclusions cannot be transferred directly.
    • Lacking a human fallback: long-tail scenarios are inevitable, so a handover mechanism must be designed rather than pursuing full automation.

    Conclusion

    General-purpose agents that treat the interface as a universal API are moving software automation from a dependence on APIs and script writing to a new stage built on perception and decision-making. The lesson for developers is that the real dividing line of capability is not localization precision alone, but the product of end-to-end completion rate, execution efficiency, and governance. With the general capabilities of cloud platforms such as Baidu AI Cloud, building an automation system with permission isolation, full-chain observability, and a human fallback is the practical path for turning frontier capability into stable productivity.