Skip to main content
Computer-use agents

OpenGCUA: computer-use agents that write code instead of just clicking

An open stack lets agents mix screen clicks with short programs, lifting scores for all eight models tested and cutting steps by about half.

· 6 min read
By Wasserstoff Labs
THE PAPEROpenGCUA: Toward a Fully Open Stack for Generalist Computer UseHanzhang Zhou et al. · arXiv 2610.22200 · 15 October 2026
Mean partial score gain across eight models, OSWorld-v2
+19.6 pts
Mean partial score gain across eight models, OSWorld-v2
Average cut in steps per task versus GUI-only
53.0%
Average cut in steps per task versus GUI-only
Qwen3.8-Max reasoning tokens vs GPT-6 Astra on real macOS
19.4×
Qwen3.8-Max reasoning tokens vs GPT-6 Astra on real macOS
Best full-success rate on the benchmark (GPT-6 Astra)
46.3%
Best full-success rate on the benchmark (GPT-6 Astra)

The short version

A computer-use agent is an AI system that operates a computer the way a person does, by looking at the screen and using the mouse and keyboard. In this paper, Hanzhang Zhou, Long Li, Quyu Kong, Lei Wang, Panrong Tong and colleagues at Alibaba Group release OpenGCUA, an open set of tools for agents that can also write and run short programs while they work. On a standard benchmark, their setup raised the average score of all eight models they tested by 19.6 points and cut the number of steps per task by 53% on average. The leading commercial systems keep these design details private, so the main value here is a shared, inspectable starting point.

The problem

Most research treats computer-use agents as screen-only. The agent gets a screenshot, decides on one click or keystroke, gets a new screenshot, and repeats. That is slow, and every extra step is another chance to go wrong.

The newest commercial systems have moved past this. They combine clicking with shell commands, the accessibility tree (a structured list of buttons, fields and labels that the operating system exposes) and other tools. OpenAI's own guidance now recommends that agents express their actions as code. But the authors point out that these frontier systems are largely closed: their prompts, the software around the model and the records of what the agents did are not available. That makes it hard for anyone outside to study which design choices actually help.

The authors also argue that benchmarks miss much of what makes real use hard. On a person's own machine, the agent shares the screen with its user, windows change underneath it, requests evolve mid-task, and the computer starts out cluttered rather than clean.

How it works

The paper defines a generalist computer-use agent (GCUA) as one where the model itself decides three things at every step: what to look at, how to act, and how to organise its work. Older designs fix some or all of these in advance. OpenGCUA tests two ideas for handing these choices to the model.

The first is code execution. Instead of emitting one click at a time, the model writes a short Python program each turn. That program can mix screen actions (through a library called PyAutoGUI), shell commands and, on real devices, browser control (through Playwright). The software running the agent, which the paper calls the harness, checks the program, runs it and sends back the output.

Think of the difference between a remote assistant who has to phone you after every single click and one who can follow a written checklist with "if this, then that" branches. Because the program can loop, branch and check results as it runs, a lot of work happens inside one model call. The paper shows agents visiting each section of a webpage in a loop, comparing a draft email against a saved copy before pressing Send, and checking that a saved file changed only where it should.

The second idea is harness-to-model decision transfer. Some decisions that the harness used to make by fixed rule are handed to the model. The paper names three mechanisms:

  • On-demand observation. The model asks for a screenshot only when it needs one, instead of receiving one every step.
  • Task-state tracking. The model keeps its own to-do list, with labels such as pending, changed but unverified, and claimed as verified.
  • Action intent. Before each program, the model writes a short note saying what the code is meant to do, which can be shown to a user.

The harness still keeps some fixed policies. It drops older screenshots in batches and shortens older text outputs to placeholders, so the model's memory does not grow without limit.

For real computers, the release adds a cross-device SDK (a common programming interface for computers, phones and browsers) and a real-device harness, both marked as preliminary. The SDK makes the agent name exactly which device, app, window or tab it is acting on, and keeps structured accessibility data separate from screenshots. The harness prefers the least intrusive way to act. It uses element-level accessibility actions first, then clicks aimed at a specific window, and takes over the foreground only after checking with the user.

What they found

  • Every model improved. On the 82-task offline subset of the OSWorld-v2 benchmark (which leaves out 26 tasks that need the internet), the full OpenGCUA setup beat a screen-only baseline with batched actions for all eight models. Mean partial score rose from 45.3 to 64.9 (Section 3.3, Table 2).
  • Fewer steps. In the same comparison, steps per task fell by 53.0% on average. GPT-6 Astra went from about 102 steps to about 34 (Table 2).
  • Weaker models gained most. The largest gain was 35.2 points for GLM-5.3-Flash; the smallest were 8.7 for GPT-6 Astra and 9.4 for Claude Opus 5, which started higher (Table 2).
  • Code matters, not just access. Against a baseline that already had both screen and shell access, the full setup still added between 4.4 and 9.1 points across the four models tested (Table 3).
  • Asking for screenshots on demand helped efficiency. Letting the model skip screenshots raised the share of reused, cached input by 10.5 and 14.4 percentage points for two models, with no loss in score (Table 4). Writing intent notes slightly lowered scores; the authors keep them for the sake of users, not benchmarks.
  • Cost changes the ranking. Qwen3.8-Flash reached 60.5 points at roughly $0.38 per task, while GPT-6 Astra reached the top score of 75.7 at roughly $15.26 per task (Section 3.3.6).
  • Real machines expose big gaps. On four real macOS tasks with the same harness, Qwen3.8-Max used 19.4 times the reasoning tokens and 5.7 times the total output of GPT-6 Astra, and completed three tasks to GPT-6 Astra's four (Section 4.3.3, Table 5).
  • Writing code is not the same as covering the task. In a spreadsheet task, GPT-6 Astra built a solver, tested it on seven examples and filled all 125 answer cells. Qwen3.8-Max wrote loops over fixed row ranges, never checked for gaps and left 40 cells empty (Section 4.3.4).

Where it falls short

  • Partial credit is not completion. Even the best model fully succeeded on only 46.3% of benchmark tasks. The headline gain is in partial score, which rewards getting part of the way there.
  • No new model. The release tests design choices on existing models. A trained model is planned for a later release.
  • Thin real-device evidence. The macOS results come from four tasks and one selected run per model. The authors say these describe the tested setups rather than rank models in general.
  • Self-reported progress. The to-do statuses record what the model believes, not an independent check. Likewise, the checks that programs run on their own work do not replace outside evaluation, as the authors note.
  • Offline only. The benchmark subset excludes internet-dependent tasks, which are a large part of real work.
  • Time is hard to compare. Wall-clock measurements depend on rate limits, queues and concurrency that were not controlled.
  • Uneven foundations. Accessibility data varies by app, and the harness and SDK are early versions.
WASSERSTOFF LABS

What it means for us

For anyone building AI employees, the clearest lesson is about where decisions live. OpenGCUA shows that moving choices such as "do I need to look at the screen now?" from fixed rules into the model can save effort without hurting results. But it also shows the limit: the harness still owns memory and execution. Deciding which choices belong to the model and which belong to the surrounding system is the central design question for any agentic harness.

The to-do list design is worth noting too. It separates work done from work checked. The authors describe a record that "distinguishes work performed from an outcome checked". That distinction sits at the heart of evaluation. An agent that says it verified something has not necessarily verified it, and the spreadsheet case shows how a confident program can still leave a third of the job undone.

Finally, the numbers argue for measuring cost and consistency alongside score. A model that wins at any price may lose at a sensible budget, and a 46% full-success rate on the best model is a reminder that "works once" and "works every time" are still far apart.

SOURCES

  1. OpenGCUA: Toward a Fully Open Stack for Generalist Computer Use — Hanzhang Zhou et al.. arXiv:2610.22200, 15 October 2026.

A plain-English explanation by Wasserstoff Labs. Figures are taken from the paper; read it for full methods and results.

Building agents that have to work every time?

We build custom evals and research partnerships with teams that need reliability.