File size: 22,441 Bytes
b2fd37f bf41703 b2fd37f bf41703 b2fd37f bf41703 b2fd37f bf41703 b2fd37f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 | ---
license: other
license_name: cc0-1.0-and-fsl-1.1-mit
license_link: LICENSE.md
pretty_name: Cua Driver Bench v2 on Kubi
language:
- en
task_categories:
- reinforcement-learning
- image-text-to-text
size_categories:
- n<1K
tags:
- computer-use
- gui-agents
- cua
- benchmark
- desktop
- linux
- mcp
- claude-code
- anthropic
configs:
- config_name: board
default: true
data_files:
- split: eval
path: results/board.parquet
- config_name: trials
data_files:
- split: eval
path: results/trials.parquet
- config_name: calls
data_files:
- split: eval
path: results/calls.parquet
- config_name: tasks
data_files:
- split: eval
path: tasks/tasks.parquet
viewer: true
---
# Cua Driver Bench v2 on Kubi
trycua's Cua Driver Bench v2, its ten GUI-only tasks in the Linux **foreground** condition, run by Claude Code on a
Kubi screen (an always-on Linux desktop rented through an API) through Kubi's hosted MCP server, on 2026-11-23. 100
trials: Claude Haiku 5.5 and Claude Sonnet 5.5, each task 5 times.
This dataset is laid out like Scale's
[earakely-scale/CuaDriverBench-AgentEnv](https://huggingface.co/datasets/earakely-scale/CuaDriverBench-AgentEnv),
so its Linux foreground rows (cua-driver and agent-desktop, Haiku 5.5 and Sonnet 5.5) and these can be compared file
for file and column for column. Read [Differences from Scale's runs](#differences-from-scales-runs) before comparing.
### What we found
| Model | Kubi (this dataset) | Scale, cua-driver | Scale, agent-desktop |
|---|---|---|---|
| Claude Haiku 5.5 | 38 of 50 | 34 of 50 | 37 of 50 |
| Claude Sonnet 5.5 | 46 of 50 | 42 of 50 | 39 of 50 |
**Tuned on these tasks.** Kubi was fixed after failing on these same tasks (the IR-02 banner click, the IR-03 and
IR-04 GTK dropdown pointer grab, the G03 app list missing linked apps, the hosted MCP's launch wording; see
[Tuning on these tasks](#differences-from-scales-runs)). Scale's cua-driver and agent-desktop rows had no such second
chance. Read the Kubi column as a tuned result, not a blind one.
Scale's counts are its `trials.parquet` rows with `on_board`, `os == linux`, `condition == foreground`. Scale also
has off-board cua-driver runs of both models (`on_board` false): `haiku-5-5-2026-11-02` passed 36 of 50 and
`sonnet-5-5-2026-11-03` passed 36 of 50. At 50 trials a model the 95% ranges overlap: none of these differences is
significant. Every setup passes 34 or 35 of the 35 short (BenchLab) trials; they separate on the three multi-app
tasks.
## Results
| Probe | Task | Haiku 5.5 | Sonnet 5.5 |
|---|---|---|---|
| CDB-G02 | Lighthouse program schedule replan | 0/5 | 4/5 |
| CDB-G03 | Kestrel Wharf payment review | 0/5 | 3/5 |
| CDB-G04 | Morrowglass linked-case review | 3/5 | 4/5 |
| MB-09 | Reorder a native list by drag and drop | 5/5 | 5/5 |
| MB-10 | Reveal a hover-only toolbar and click one action | 5/5 | 5/5 |
| MB-11 | Read a native tooltip and type its code | 5/5 | 5/5 |
| IR-01 | Two-step form, permission prompt between steps | 5/5 | 5/5 |
| IR-02 | Set two fields, Apply under an update banner | 5/5 | 5/5 |
| IR-03 | Edit two notes, unsaved-changes dialog | 5/5 | 5/5 |
| IR-04 | Sign up, cookie-consent overlay | 5/5 | 5/5 |
| Run | Mean cost, billed (USD) | Mean cost at Scale's Sonnet prices (USD) | Mean model calls | Median time (s) | GUI-only failures |
|---|---|---|---|---|---|
| `kubi-haiku-5-5-2026-11-23` | 0.016 (48 trials) | n/a (Haiku) | 16.9 | 22.9 (48 trials) | 2 |
| `kubi-sonnet-5-5-2026-11-23` | 0.137 (49 trials) | 0.181 (49 trials) | 14.4 | 16.2 (49 trials) | 1 |
- **Cost, billed.** Claude Code's `total_cost_usd` at OpenRouter's prices (Sonnet 5.5: input $2, output $10, cache
write $2.50, cache read $0.10 per million tokens); it matched OpenRouter's bill for these runs. It covers model
tokens only, not the desktop. `cost_usd` and `cost_usd_reported` are this same number.
- **Cost at Scale's prices.** Scale's `cost_usd` uses Scale's own table (Sonnet 5.5: input $2, output $10, cache write
$2.50, cache read $0.20 per million, which reproduces Scale's `cost_usd` from its `trial.json` tokens on the three Sonnet
cua-driver trials checked). The Sonnet row's second cost recomputes ours from our tokens at that table (each
Sonnet `trial.json` has it as `kubi.cost_usd_at_scale_sonnet_prices`); compare that one with Scale's Sonnet
`cost_usd`. No single table reproduces
Scale's Haiku `cost_usd`, so for Haiku the two sides' costs have different price bases and any ratio is approximate.
- **3 trials have no cost or time** (Haiku `cdb-g04-r2`, Haiku `cdb-g04-r4`, Sonnet `cdb-g04-r4`): the GUI-only guard killed Claude Code before its `result` event. The means and medians above are over the other trials.
- **Time** is Claude Code's own `duration_ms` from its `result` event, the same definition as Scale's `duration_s`.
`agent_window_s` is trycua's runner's agent wall time, which is not Scale's `agent_window_s` measurement.
- The three GUI-only failures are all CDB-G04: the agent opened GNOME Terminal and the bench's guard stopped it.
- `assets/comparison.html` is the full comparison against Scale's rows (charts, per-task tables). Its Scale data
comes from Scale's dataset under its Apache 2.0 licence.
### Driver versions
| Run | driver_version |
|---|---|
| `kubi-haiku-5-5-2026-11-23` | kubi-host 90e4598, api 0eade0e |
| `kubi-sonnet-5-5-2026-11-23` | kubi-host 90e4598, api 0eade0e before 14:20 UTC, 934e510 after |
The screen daemon (kubi-host) was 90e4598 throughout. The API backend was redeployed at 14:20 UTC with kubi-platform
934e510; each trial's `driver_version` names the one it ran against by its start time.
### Run notes
- **Trials counted with an agent error.** 12 Haiku trials and 5 Sonnet trials end with an `agent_error`:
- 10 Haiku (all CDB-G02 and CDB-G03) and 2 Sonnet hit the 45-turn limit (`Reached maximum number of turns (45)`).
- 3 were stopped by the GUI-only guard after opening a terminal (Haiku `cdb-g04-r2`, `cdb-g04-r4`; Sonnet
`cdb-g04-r4`). Claude Code was killed (exit 143), so these transcripts have no `result` event: `cost_usd`,
`num_turns`, `duration_s` and `tokens` are null for them.
- 2 Sonnet trials (`cdb-g02-r2`, `cdb-g04-r3`) got an OpenRouter 402 (credits) after the work was done; the
checker passed both, and they count as passes as the grade says.
- **Re-runs.** Sonnet `cdb-g03-r1` replaces two attempts that OpenRouter refused with 402, and Sonnet `cdb-g04-r1`
to `r4` replace an earlier set (one refused with 402, four with the old launch wording). Sonnet `cdb-g04-r5` ran
once. Each trial's `attempts.json` lists what it replaced; the attempts themselves are in `excluded/`
([excluded/EXCLUDED.md](excluded/EXCLUDED.md)).
- **Harness errors.** `harness_errors` counts the credit refusals that were run again, as recorded in each trial's
`attempts.json` (`harness_errors.credit`): 2 for Sonnet `cdb-g03-r1`, 1 for Sonnet `cdb-g04-r4`, 0 elsewhere. The
old-wording attempts are not harness errors (the agent opened a terminal) and are not counted there. Every counted
trial ran its checker and wrote its row.
## Differences from Scale's runs
These runs use trycua's own Linux runner, not Scale's AgentEnv port, and differ from Scale's runs in these ways:
- **Agent's tools.** Kubi's hosted MCP server (`https://mcp.trykubi.com`) is the agent's only tool server:
`--strict-mcp-config --tools "" --allowed-tools mcp__kubi`, so no built-in tools at all. Scale allows `Skill`
and `Read` beside the driver's MCP (cua-driver lists 74 tools). The agent's Kubi key had only `read` and
`control` on its one screen, so the MCP listed no exec or file tools. It listed 13 tools (the `tools` of every
trajectory's `system/init` event, and each run's `manifest.json`): `act`, `apps`, `clipboard`, `guide`, `list_screens`, `page`, `read_tree`, `run_script`, `screenshot`, `status`, `viewer_link`, `wait`, `zoom`. Some do more per call than a
click-and-type driver:
- `run_script` runs JavaScript that calls `screenshot()`, `find()`, `act()` and `expect()`, so one tool call can
batch several actions (loops, read-then-act).
- `page` reads and fills a browser tab by reference, over Chromium's debugging port.
- `read_tree` reads the screen's accessibility tree; `act` clicks, types and acts on its elements by id.
- `apps` lists the screen's apps, and `act`'s `launch` starts one by id or name.
- **Context window and output limit.** Claude Code 2.1.316 reported a 1,000,000-token context window and 128,000 max
output tokens for both models in every Kubi trial with a `result` event (`modelUsage.contextWindow`,
`maxOutputTokens`). Scale's Claude Code 2.1.280 transcripts report 200,000 and 32,000.
- **Host and session.** A Kubi screen at 1920x1080 running trycua's Linux XFCE session and guard
(`launch/xfce_session.py` at the bench commit below), with trycua's X11 sentinel. Scale ran Ubuntu 24.04 on Xvfb
with xfwm4 under AgentEnv, its own sentinel and guard port, and graded in a separate container.
- **Bench commit.** trycua/cua `ceeda722` (whose tasks, checkers and seeds match Scale's), against Scale's task pack
`22a67eac` and bench port `eb36dcbe`. Each trial's `seed` and brief are the same as Scale's for that run index.
- **Prompt.**
- BenchLab briefs say "on this Linux computer" (trycua's Linux session's text); Scale's say "on your Mac".
- **Haiku: no budget line.** The Haiku run's prompts lack the closing "You have about 6 minutes and at most 45
turns." that Scale's runner adds. The Sonnet run's prompts have it, as Scale's do. The `task_file` says which:
`kubi-nobudget-*` (Haiku) and `kubi-*` (Sonnet), both in `tasks/tasks.parquet`.
- **System prompt.** Every Kubi trial was sent the bench's generic system prompt (`SYSTEM_PROMPT` in
`claude_arms.py`), passed with `--append-system-prompt`, so it is appended to Claude Code's own default system
prompt. Scale's trials of nine tasks have that same text. **CDB-G04 differs:** Scale's CDB-G04 trials used the
bench's browser variant (`system_prompt_for(browser=True)`), with "Do not use the network." replaced by "Do not
use the internet; the task's localhost site is allowed." Ours kept "Do not use the network." This applies to all
10 counted Kubi CDB-G04 trials (5 Haiku, 5 Sonnet) and the 5 excluded Sonnet CDB-G04 attempts. Their
`trial.json` `system_prompt` is the generic prompt we sent, and `kubi.system_prompt_note` says so.
- Our transcripts don't record the `-p` prompt. Each `prompt` here is rebuilt with the bench's own code
(`render_brief` and the task pack's brief at `ceeda722`, with each trial's seed) plus the wrapper's line. It is
what the runner sends, not a capture.
- **Hosted MCP launch wording.** The Kubi MCP's `act` tool gave its launch example literally as "(calc, terminal)".
kubi-platform 934e510 changed it to "(calc, files)" (committed 14:13:52 UTC, deployed 14:20 UTC; the first trial on
it started at 14:20:59 UTC). The Haiku run and Sonnet CDB-G02 ran with the old wording. Sonnet CDB-G03, CDB-G04 and
the short tasks ran on the new one. With the old wording Sonnet opened a terminal on CDB-G04 in four of four tries
(excluded). Each trial's `settings` and `kubi.mcp_launch_wording` say which wording it had.
- **Tuning on these tasks.** Kubi was changed after failing on these same tasks, in calibration runs on 2026-11-22
and on the day:
- IR-02: a click on Apply hit the update banner's button drawn over it; a click by element now goes through the
element's accessibility action (kubi-host f37c639).
- IR-03 and IR-04: choosing in a GTK dropdown left the app's pointer grab on its hidden menu, so the next click was
lost; the dropdown's own selection now chooses (kubi-host 90e4598).
- CDB-G03: the app list missed apps whose desktop entry is a link (GnuCash, LibreOffice), and the agent opened a
terminal instead (kubi-host d46e2bb).
- A key with only `read` and `control` still saw the exec and file tools, and Haiku opened a terminal; the MCP now
lists only what the key allows (kubi-platform 1395cf8).
- The launch wording above (kubi-platform 934e510).
Scale's cua-driver and agent-desktop rows had no such tuning. Treat these numbers as a tuned result, not a blind
one.
- **Effort and thinking.** `--effort medium` and `MAX_THINKING_TOKENS=16000`. Scale passes no `--effort` (medium is
Claude Code's default for the 5.5 models; its `effort` column is null for these runs).
- **Provider and model ids.** Claude Code reached the models through OpenRouter's Anthropic endpoint, so our `model`
is OpenRouter's id (`anthropic/claude-haiku-5.5`, `anthropic/claude-sonnet-5.5`). Scale's are
`anthropic/claude-haiku-5-5` and `anthropic/claude-sonnet-5-5`; to group across the two datasets, map ours with
`model.str.replace('.', '-')` (each `trial.json` also has `kubi.model_scale`). `trials.parquet` keeps Scale's 50
columns, so it has no extra model column. Scale's message ids (`msg_vrtx_...`) indicate Vertex.
- **Cost basis.** Ours is Claude Code's `total_cost_usd` at OpenRouter's prices; Scale's `cost_usd` is recomputed
from tokens at Scale's price table, and its `cost_usd_reported` is Claude Code's figure. See
[Results](#results) for the Sonnet costs on one table.
- **Claude Code version.** 2.1.316 (the version the bench pins), against Scale's 2.1.280.
- **Dates.** 2026-11-23, against Scale's 2026-11-06 (cua-driver) and 2026-11-06 to 11-11 (agent-desktop).
- **Excluded attempts.** Seven attempts are left out of the counts and kept in `excluded/`, each with its reason:
four Sonnet CDB-G04 tries with the old launch wording (terminal opened) and three Sonnet tries that OpenRouter
refused with 402 (out of credits). After the wording changed, those four CDB-G04 trials were run again and the
fifth, `cdb-g04-r5`, ran once, so all five counted Sonnet CDB-G04 trials had the new wording.
- **No screen recordings, sentinel logs or workspaces; a timeline, a server log and an agent view instead.** The
screens that ran these trials were deleted before their recording, `sentinel.jsonl` and final workspace were
copied off. Each trial's `manifest.json` lists them under `missing`, says what stands in for each under
`substitutes`, and their columns in `trials.parquet` are null. What each trial has instead:
- `timeline.json`, in Scale's shape: every tool call with its times, input and result (600 chars), from the
transcript's timestamps. Each call also has `kubi_server`: Kubi's own record of the screen call it made
(time, duration, operation, result, request id, screenshot id). `armed_at`, `disarmed_at`, `user` and
`samples` are null, since they come from the sentinel log.
- `server_log.jsonl`: Kubi's server log for the trial's screen during the trial, as prod's database recorded it
(copied off on 2026-11-23; prod keeps it 30 days). It is written by the screen's host, not by the bench runner
or the agent, so it is a second record of the same calls. Of the 1,581 tool calls in the 100 trials, 1,515
reached the screen and each has its server row; the other 66 are 60 calls the MCP server refused before they
reached the screen (all with an error in the transcript) and 6 that never touch a screen (`list_screens`,
`guide`). Rows by the runner's own key (`eval`) are the runner starting the agent and downloading its files.
- `agent_view.mp4`: the 1,158 screenshots the agents received, each held from when it arrived until the next, on
the trial's clock, with a caption naming the call that returned it. It is not a screen recording: nothing
between two screenshots is seen, and the screen is shown at the 1280x720 the agent saw.
- The sentinel's per-trial summary is in `row.json` (`disturbance`, `background`, `gui_only`, `a22`); the raw
event stream is gone.
- For the final state, `grade.json` has the checker's verdict on each part of it, and the last frame of
`agent_view.mp4` shows the screen when the agent stopped. The files themselves are gone.
- **Field meanings that differ.**
- `computer` is the Kubi screen's id.
- `started_at` and `ended_at` are the bench runner's trial start and end, not a recording's.
- `calls.parquet` and `timeline.json` times (`t0`, `t1`) are seconds from the trial's start, from the
transcript's timestamps, not from a recording. `trials.parquet`'s `timeline` column points to `timeline.json`.
- `a22_*` and `user_undisturbed` are null in `trials.parquet`, as in Scale's foreground rows: foreground trials
don't score them. trycua's runner computed them on our sentinel anyway; `row.json` keeps those values.
- `sentinel_ok` is null: trycua's runner has no "sentinel log covers the whole trial" check.
- `harness_errors` is the number of credit refusals run again (above); Scale's counts rate, server and setup
errors.
- Our grade's `gui_only` is the live guard's verdict; `gui_only_trajectory` is trycua's `scan_events` on the
transcript (Scale's own trajectory check is a port of it).
- CDB tasks have a seed in `trial.json` (the runner draws one) but it changes nothing in those tasks, so
`trials.parquet` leaves it null, as Scale does.
## The tasks
The same ten tasks as Scale's dataset (its "The tasks" section describes them), in the foreground condition only.
`tasks/tasks.parquet` has one row per trial task and prompt setup (76 rows): 35 BenchLab task files and 3 CDB task
files, once without the budget line (Haiku) and once with it (Sonnet).
## How a trial runs
kubi-platform's `api/scripts/cdb-bench.ts --run` calls trycua's runner on the screen for each trial:
`python3 launch/xfce_session.py --task <TASK> --run-index <i> --condition foreground --timeout 360 -- agent-kubi.sh`.
1. The runner resets the task, starts its apps and places their windows at 1920x1080, with trycua's X11 sentinel and
guard.
2. It starts the agent: `claude -p "$(cat brief.md)" --model <model> --effort medium --mcp-config mcp.json
--strict-mcp-config --tools "" --allowed-tools mcp__kubi --permission-mode bypassPermissions --setting-sources
project --max-turns 45 --output-format stream-json --verbose`, through a wrapper that adds the bench's generic
system prompt (and, for Sonnet, the budget line).
3. The guard watches for a way out of the GUI (a terminal, a run dialog, a program on a pseudo-terminal, macro
editor, DevTools) and stops the agent if it sees one. The runner stops it at 360 s.
4. The task's checker runs on the apps' state (BenchLab's `probes/<TASK>/evaluate.py`, or the task pack's evaluator
for the CDB tasks), and trycua's `scan_events` reads the transcript for forbidden tool use.
A trial passes only if the checker passes and there is no GUI-only violation.
## Dataset structure
```
results/board.parquet one row per trial, as Scale's board: OS, driver, model, task, run, the grade's halves, seconds, model calls, cost
results/trials.parquet one row per counted trial, Scale's 50 columns with Scale's Arrow types (concatenates with Scale's table); also results/trials.csv
results/calls.parquet one row per tool call, keyed by os, run and trial_id: times from the trial's start, its input, its result (600 chars)
results/missing.parquet empty: no counted trial is missing
tasks/tasks.parquet one row per trial task and prompt setup: the prompt, system prompt, built-in tools, limits, the runner's command
runs/linux/<run>/
manifest.json the run's bench commit, model, harness, effort, built-in tools, screens and the MCP's tool list
runs/linux/<run>/<trial>/
trial.json the trial's facts, Scale's keys, plus `kubi`: our 0-based run index, source folder, screen, exit code, wording, Scale's model id
grade.json the checker's result and both GUI-only verdicts, in Scale's grade.json shape
trajectory.json Claude Code's stream-json as a JSON list (screenshots included)
attempts.json harness errors and the excluded attempts this trial replaced
row.json trycua's runner's own row for the trial (not in Scale's layout)
timeline.json Scale's timeline shape from the transcript, each call with Kubi's server record of it
server_log.jsonl Kubi's server log for the trial's screen during the trial (not in Scale's layout)
agent_view.mp4 the screenshots the agent received, at trial time, with captions (not a recording)
manifest.json Scale's recording-manifest keys (null), plus `files` (sha256), `missing` and `substitutes`
excluded/<attempt>/<trial>/ the seven attempts not counted, same files, with REASON.txt; see excluded/EXCLUDED.md
assets/comparison.html the comparison with Scale's Linux foreground rows
build.py rebuilds this folder (this README included) from the run folders beside it
validate.py checks the folder: 100 trials, Scale's keys, columns and Arrow types, the pass counts
```
Run names follow Scale's: `kubi-<model>-<date>`, trial folders `<task>-r<run>-foreground` with Scale's 1-based run
index (`trial.json`'s `kubi.run_index_0based` is ours).
## Limitations
- Few trials per cell: 5 per task and model, as in Scale's runs.
- No screen recordings, sentinel logs or workspaces (above): a trial can be followed screenshot by screenshot and
checked call by call against Kubi's server log, but not watched continuously, and its final files can't be opened.
- The prompts are rebuilt, not captured (above).
- Tuned on these tasks, and the Haiku and Sonnet runs had different setups (budget line, launch wording): compare
each model with Scale's runs of it, and the two Kubi runs with care.
## Licence and attribution
The tasks, their apps, prompts, evaluators and scoring are trycua's Cua Driver Bench, © 2026 Cua AI, Inc., under the
[Functional Source License 1.1, MIT Future License](licenses/FSL-1.1-MIT.md). Everything Kubi made (trajectories,
grades, tables, the comparison page's code) is dedicated to the public domain under [CC0 1.0](licenses/CC0-1.0.txt);
Scale's figures in the comparison page are Scale's, under the [Apache License 2.0](licenses/Apache-2.0.txt). See
[LICENSE.md](LICENSE.md). The
layout follows Scale's dataset; this dataset is not Scale's or trycua's, and its results are not theirs.
|