Need smarter insights in your inbox? Join our weekly newsletters to get solely what issues to enterprise AI, information, and safety leaders. Subscribe Now
Researchers at Salesforce and the College of Southern California have developed a brand new method that provides computer-use brokers the flexibility to execute code whereas navigating graphical consumer interfaces (GUIs), that’s, writing scripts whereas additionally shifting a cursor and/or clicking buttons on an utility, combining the perfect of each approaches to hurry up workflows and cut back errors.
This hybrid method permits an agent to bypass brittle and inefficient mouse clicks for duties that may be higher completed via coding.
The system, known as CoAct-1, units a brand new state-of-the-art on key agent benchmarks, outperforming different strategies whereas requiring considerably fewer steps to perform complicated duties on a pc.
This improve can pave the best way for extra sturdy and scalable agent automation with important potential for real-world purposes.
AI Scaling Hits Its Limits
Energy caps, rising token prices, and inference delays are reshaping enterprise AI. Be part of our unique salon to find how prime groups are:
- Turning vitality right into a strategic benefit
- Architecting environment friendly inference for actual throughput beneficial properties
- Unlocking aggressive ROI with sustainable AI techniques
Safe your spot to remain forward: https://bit.ly/4mwGngO
The fragility of point-and-click AI brokers
Laptop use brokers usually depend on vision-language and vision-language-action fashions (VLMs or VLAs) to understand a display screen and take motion, mimicking how an individual makes use of a mouse and keyboard.
Whereas these GUI-based brokers can carry out a wide range of duties, they typically falter when confronted with lengthy, complicated workflows, particularly in purposes with dense menus and choices, like workplace productiveness suites.
For instance, a process that includes finding a particular desk in a spreadsheet, filtering it, and saving it as a brand new file can contain a protracted and exact sequence of GUI manipulations.
That is the place brittleness creeps in. “In these eventualities, current brokers regularly wrestle with visible grounding ambiguity (e.g., distinguishing between visually related icons or menu gadgets) and the collected chance of constructing any single error over the lengthy horizon,” the researchers write in their paper. “A single mis-click or misunderstood UI aspect can derail the whole process.”
To deal with these challenges, many researchers have centered on augmenting GUI brokers with high-level planners.
These techniques use highly effective reasoning fashions like OpenAI’s o3 to decompose a consumer’s high-level purpose right into a sequence of smaller, extra manageable subtasks.
Whereas this structured method improves efficiency, it doesn’t clear up the issue of navigating menus and clicking buttons, even for operations that might be finished extra immediately and reliably with a couple of strains of code.
CoAct-1: A multi-agent staff for pc duties
To unravel these limitations, the researchers created CoAct-1 (Laptop-using Agent with Coding as Actions), a system designed to “mix the intuitive, human-like strengths of GUI manipulation with the precision, reliability, and effectivity of direct system interplay via code.”
The system is structured as a staff of three specialised brokers that work collectively: an Orchestrator, a Programmer, and a GUI Operator.

The Orchestrator acts because the central planner or venture supervisor. It analyzes the consumer’s total purpose, breaks it down into subtasks, and assigns every subtask to the perfect agent for the job. It may well delegate backend operations like file administration or information processing to the Programmer, which writes and executes Python or Bash scripts.
For frontend duties that require clicking buttons or navigating visible interfaces, it turns to the GUI Operator, a VLM-based agent.
“This dynamic delegation permits CoAct-1 to strategically bypass inefficient GUI sequences in favor of strong, single-shot code execution the place applicable, whereas nonetheless leveraging visible interplay for duties the place it’s indispensable,” the paper states.
The workflow is iterative. After the Programmer or GUI Operator completes a subtask, it sends a abstract and a screenshot of the present system state again to the Orchestrator, which then decides the following step or concludes the duty.
The Programmer agent makes use of an LLM to generate its code and sends instructions to a code interpreter to check and refine its code over a number of rounds.
Equally, the GUI Operator makes use of an motion interpreter that executes its instructions (e.g., mouse clicks, typing) and returns the ensuing screenshot, permitting it to see the end result of its actions. The Orchestrator makes the ultimate resolution on whether or not the duty ought to proceed or cease.

A extra environment friendly path to automation
The researchers examined CoAct-1 on OSWorld, a complete benchmark that features 369 real-world duties throughout browsers, IDEs, and workplace purposes.
The outcomes present CoAct-1 establishes a brand new state-of-the-art, reaching successful price of 60.76%.
The efficiency beneficial properties have been most important in classes the place programmatic management provides a transparent benefit, akin to OS-level duties and multi-application workflows.
As an example, contemplate an OS-level process like discovering all picture recordsdata inside a fancy folder construction, resizing them, after which compressing the whole listing right into a single archive.
A purely GUI-based agent would wish to carry out a protracted, brittle sequence of clicks and drags, opening folders, choosing recordsdata, and navigating menus, with a excessive probability of error at every step.
CoAct-1, against this, can delegate this complete workflow to its Programmer agent, which might accomplish the duty with a single, sturdy script.

Past only a increased success price, the system is dramatically extra environment friendly. CoAct-1 solves duties in a median of simply 10.15 steps, a stark distinction to the 15.22 steps required by main GUI-only brokers like GTA-1.
Whereas different brokers like OpenAI’s CUA 4o averaged fewer steps, their total success price was a lot decrease, indicating CoAct-1’s effectivity is coupled with better effectiveness.
The researchers discovered a transparent pattern: duties that require extra actions usually tend to fail. Decreasing the variety of steps not solely accelerates process completion however, extra importantly, minimizes the alternatives for error.
Subsequently, discovering methods to compress a number of GUI steps right into a single programmatic process could make the method each extra environment friendly and fewer error-prone.
Because the researchers conclude, “This effectivity underscores the potential of our method to pave a extra sturdy and scalable path towards generalized pc automation.”

From the lab to the enterprise workflow
The potential for this expertise goes past common productiveness. For enterprise leaders, the important thing lies in automating complicated, multi-tool processes the place full API entry is a luxurious, not a assure.
Ran Xu, a co-author of the paper and Director of Utilized AI Analysis at Salesforce, factors to buyer assist as a chief instance.
“A service assist agent makes use of many alternative instruments — common instruments akin to Salesforce, industry-specific instruments akin to EPIC for healthcare, and a whole lot of custom-made instruments — to research a buyer request and formulate a response,” Xu informed VentureBeat. “Among the instruments have API entry whereas others don’t. It’s a good use case that would doubtlessly profit from our expertise: a compute-use agent that leverages no matter is offered from the pc, whether or not it’s an API, code, or simply the display screen.”
Xu additionally sees high-value purposes in gross sales, akin to prospecting at scale and automating bookkeeping, and in advertising and marketing for duties like buyer segmentation and marketing campaign asset era.
Navigating real-world challenges and the necessity for human oversight
Whereas the outcomes on the OSWorld benchmark are robust, enterprise environments are far messier, crammed with legacy software program and unpredictable UIs.
This raises crucial questions on robustness, safety, and the necessity for human oversight.
A core problem is making certain the Orchestrator agent makes the proper alternative when confronted with an unfamiliar utility. Based on Xu, the trail to creating brokers like CoAct-1 sturdy for customized enterprise software program includes coaching them with suggestions in lifelike, simulated environments.
The purpose is to create a system the place the “agent might observe how human brokers work, get educated inside a sandbox, and when it goes reside, proceed to unravel duties beneath the steerage and guardrail of a human agent.”
The flexibility for the Programmer agent to execute its personal code additionally introduces apparent safety issues. What stops the agent from executing dangerous code based mostly on an ambiguous consumer request?
Xu confirms that sturdy containment is crucial. “Entry management and sandboxing is the important thing,” he stated, emphasizing {that a} human should “perceive the implication and provides the AI entry for security.”
Sandboxing and guardrails can be crucial to validating agent habits earlier than deployment on crucial techniques.
In the end, for the foreseeable future, overcoming ambiguity will possible require a human-in-the-loop. When requested about dealing with imprecise consumer queries, a priority additionally raised within the paper, Xu recommended a phased method. “I see human-in-the-loop to begin,” he famous.
Whereas some duties could ultimately turn out to be absolutely autonomous, for high-stakes operations, human validation will stay essential. “Some mission-critical ones could all the time want human approval.”