Researchers at Salesforce and the College of Southern California have developed a brand new method that provides computer-use brokers the power to execute code whereas navigating graphical consumer interfaces (GUIs), that’s, writing scripts whereas additionally transferring a cursor and/or clicking buttons on an software, combining the most effective of each approaches to hurry up workflows and cut back errors.
This hybrid strategy permits an agent to bypass brittle and inefficient mouse clicks for duties that may be higher achieved by 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 way in which for extra strong and scalable agent automation with important potential for real-world functions.
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 vitality right into a strategic benefit
Architecting environment friendly inference for actual throughput positive factors
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 and take motion, mimicking how an individual makes use of a mouse and keyboard.
Whereas these GUI-based brokers can carry out quite a lot of duties, they usually falter when confronted with lengthy, complicated workflows, particularly in functions 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 scenarios, existing agents frequently struggle with visual grounding ambiguity (e.g., distinguishing between visually similar icons or menu items) and the accumulated probability of making any single error over the long horizon,” the researchers write of their paper. “A single mis-click or misunderstood UI element can derail the entire task.”
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 strategy improves efficiency, it doesn’t resolve the issue of navigating menus and clicking buttons, even for operations that could possibly be accomplished extra instantly and reliably with a couple of traces of code.
CoAct-1: A multi-agent group for laptop duties
To unravel these limitations, the researchers created CoAct-1 (Laptop-using Agent with Coding as Actions), a system designed to “combine the intuitive, human-like strengths of GUI manipulation with the precision, reliability, and efficiency of direct system interaction through code.”
The system is structured as a group of three specialised brokers that work collectively: an Orchestrator, a Programmer, and a GUI Operator.
CoAct-1 framework (supply: arXiv)
The Orchestrator acts because the central planner or venture supervisor. It analyzes the consumer’s general purpose, breaks it down into subtasks, and assigns every subtask to the most effective agent for the job. It may 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 allows CoAct-1 to strategically bypass inefficient GUI sequences in favor of robust, single-shot code execution where appropriate, while still leveraging visual interaction for tasks where it is 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 choice on whether or not the duty ought to proceed or cease.
Instance of CoAct-1 in motion (supply: arXiv)
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 functions.
The outcomes present CoAct-1 establishes a brand new state-of-the-art, attaining successful fee of 60.76%.
The efficiency positive factors have been most important in classes the place programmatic management presents a transparent benefit, equivalent 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 all the listing right into a single archive.
A purely GUI-based agent would want 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, against this, can delegate this complete workflow to its Programmer agent, which might accomplish the duty with a single, strong script.

Past only a greater success fee, 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 fee was a lot decrease, indicating CoAct-1’s effectivity is coupled with larger effectiveness.
The researchers discovered a transparent development: duties that require extra actions usually tend to fail. Decreasing the variety of steps not solely quickens 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 efficiency underscores the potential of our approach to pave a more robust and scalable path toward generalized computer automation.”
CoAct-1 performs duties with fewer steps on common because of sensible use of coding (supply: arXiv)
From the lab to the enterprise workflow
The potential for this know-how goes past normal 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 first-rate instance.
“A service support agent uses many different tools — general tools such as Salesforce, industry-specific tools such as EPIC for healthcare, and a lot of customized tools — to investigate a customer request and formulate a response,” Xu advised VentureBeat. “Some of the tools have API access while others don’t. It is a perfect use case that could potentially benefit from our technology: a compute-use agent that leverages whatever is available from the computer, whether it’s an API, code, or just the screen.”
Xu additionally sees high-value functions in gross sales, equivalent to prospecting at scale and automating bookkeeping, and in advertising and marketing for duties like buyer segmentation and marketing campaign asset technology.
Navigating real-world challenges and the necessity for human oversight
Whereas the outcomes on the OSWorld benchmark are robust, enterprise environments are far messier, full of legacy software program and unpredictable UIs.
This raises important questions on robustness, safety, and the necessity for human oversight.
A core problem is guaranteeing the Orchestrator agent makes the precise alternative when confronted with an unfamiliar software. Based on Xu, the trail to creating brokers like CoAct-1 strong for customized enterprise software program entails coaching them with suggestions in reasonable, simulated environments.
The purpose is to create a system the place the “agent could observe how human agents work, get trained within a sandbox, and when it goes live, continue to solve tasks under the guidance and guardrail of a human agent.”
The power for the Programmer agent to execute its personal code additionally introduces apparent safety considerations. What stops the agent from executing dangerous code primarily based on an ambiguous consumer request?
Xu confirms that strong containment is important. “Access control and sandboxing is the key,” he stated, emphasizing {that a} human should “understand the implication and give the AI access for safety.”
Sandboxing and guardrails might be important to validating agent habits earlier than deployment on important techniques.
Finally, for the foreseeable future, overcoming ambiguity will seemingly require a human-in-the-loop. When requested about dealing with obscure consumer queries, a priority additionally raised within the paper, Xu instructed a phased strategy. “I see human-in-the-loop to start,” he famous.
Whereas some duties might ultimately develop into totally autonomous, for high-stakes operations, human validation will stay essential. “Some mission-critical ones may always need human approval.”
Every day insights on enterprise use circumstances with VB Every day
If you wish to impress your boss, VB Every day has you coated. We provide the inside scoop on what firms are doing with generative AI, from regulatory shifts to sensible deployments, so you may share insights for max ROI.
An error occured.


