Need smarter insights in your inbox? Join our weekly newsletters to get solely what issues to enterprise AI, knowledge, and safety leaders. Subscribe Now
Researchers at Salesforce and the College of Southern California have developed a brand new approach that provides computer-use brokers the power to execute code whereas navigating graphical person interfaces (GUIs), that’s, writing scripts whereas additionally transferring a cursor and/or clicking buttons on an utility, combining one of the best 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 by way of coding.
The system, referred to 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 strong 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 a part of our unique salon to find how high groups are:
- Turning power right into a strategic benefit
- Architecting environment friendly inference for actual throughput features
- 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 sometimes depend on vision-language and vision-language-action fashions (VLMs or VLAs) to understand a display 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 activity that entails 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 situations, current brokers continuously wrestle with visible grounding ambiguity (e.g., distinguishing between visually related icons or menu gadgets) and the accrued likelihood of creating any single error over the lengthy horizon,” the researchers write in their paper. “A single mis-click or misunderstood UI component can derail your complete activity.”
To handle these challenges, many researchers have targeted on augmenting GUI brokers with high-level planners.
These techniques use highly effective reasoning fashions like OpenAI’s o3 to decompose a person’s high-level objective right into a sequence of smaller, extra manageable subtasks.
Whereas this structured method improves efficiency, it doesn’t resolve the issue of navigating menus and clicking buttons, even for operations that could possibly be carried out extra instantly and reliably with a number of strains of code.
CoAct-1: A multi-agent staff for laptop duties
To resolve 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 by way of 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 person’s general objective, breaks it down into subtasks, and assigns every subtask to one of the best agent for the job. It might probably delegate backend operations like file administration or knowledge 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 sturdy, 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 subsequent 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 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 a hit price of 60.76%.
The efficiency features have been most important in classes the place programmatic management affords a transparent benefit, comparable to OS-level duties and multi-application workflows.
As an illustration, contemplate an OS-level activity like discovering all picture information inside a posh folder construction, resizing them, after which compressing your complete 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 information, and navigating menus, with a excessive probability of error at every step.
CoAct-1, in contrast, can delegate this complete workflow to its Programmer agent, which may accomplish the duty with a single, strong 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 general success price was a lot decrease, indicating CoAct-1’s effectivity is coupled with larger effectiveness.
The researchers discovered a transparent pattern: duties that require extra actions usually tend to fail. Lowering the variety of steps not solely accelerates activity completion however, extra importantly, minimizes the alternatives for error.
Due to this fact, discovering methods to compress a number of GUI steps right into a single programmatic activity 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 strong and scalable path towards generalized laptop 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 help as a primary instance.
“A service help agent makes use of many various instruments — common instruments comparable to Salesforce, industry-specific instruments comparable to EPIC for healthcare, and lots of custom-made instruments — to research a buyer request and formulate a response,” Xu informed VentureBeat. “A few of the instruments have API entry whereas others don’t. It’s a good use case that would probably profit from our expertise: a compute-use agent that leverages no matter is on the market from the pc, whether or not it’s an API, code, or simply the display.”
Xu additionally sees high-value purposes in gross sales, comparable 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 sturdy, enterprise environments are far messier, crammed with legacy software program and unpredictable UIs.
This raises essential questions on robustness, safety, and the necessity for human oversight.
A core problem is making certain the Orchestrator agent makes the suitable selection when confronted with an unfamiliar utility. In response to Xu, the trail to creating brokers like CoAct-1 strong for customized enterprise software program entails coaching them with suggestions in lifelike, simulated environments.
The objective is to create a system the place the “agent may observe how human brokers work, get skilled inside a sandbox, and when it goes reside, proceed to resolve duties below the steering and guardrail of a human agent.”
The power 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 person request?
Xu confirms that strong 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 will probably be essential to validating agent habits earlier than deployment on essential techniques.
Finally, for the foreseeable future, overcoming ambiguity will probably require a human-in-the-loop. When requested about dealing with imprecise person queries, a priority additionally raised within the paper, Xu instructed a phased method. “I see human-in-the-loop to begin,” he famous.
Whereas some duties might ultimately grow to be totally autonomous, for high-stakes operations, human validation will stay essential. “Some mission-critical ones might at all times want human approval.”