legato

Benchmarks: is Legato faster or more reliable than the reference computer-use loops?

Short answer. On the same model and the same desktops:

All the numbers, the method and the raw rollouts are below, including where Legato did not win.

Method

H2H-1: Claude and Qwen (24 tasks, 2 attempts each, 0 errors)

arm success agent s (mean) calls/task actions/call model s/call output tokens/call input tokens/call wait s/action $/task
Claude, reference loop 48/48 96.9 10.6 2.20 4.17 339 18,667 1.91 0.137
Claude, Legato 48/48 65.7 14.0 1.40 3.02 225 8,603 0.71 0.126
Qwen, OSWorld agent 26/48 212.5 23.2 3.07 7.90 549 25,852 0.00 0.058
Qwen, Legato 36/48 90.0 18.0 0.74 4.28 343 12,267 0.67 0.034

H2H-2: Qwen again, with the fix, on fresh task data (24 tasks, 2 attempts each, 0 errors)

arm success agent s (mean) calls/task model s/call output tokens/call input tokens/call turns cut off at the token limit
Qwen, OSWorld agent 27/48 121.2 23.0 4.76 169 24,039 0.0%
Qwen, Legato 35/48 115.5 19.7 5.06 257 12,695 0.1% (was 22.5%)

OSWorld tasks on OSWorld's own harness (runtime only)

These 120 OSWorld tasks with Qwen3.5-9B on one H100, 1,560 rollouts, used OSWorld's harness unchanged. Only the runtime underneath changed: Legato's ready-wait and fast reset (legato.rl), against OSWorld's fixed waits.

comparison task time [95% CI] success difference [95% CI]
Legato vs fixed 5 s per action 0.521 [0.425, 0.648] +1.2 [-3.3, +6.2] points
Legato vs fixed 3 s 0.542 [0.451, 0.649] +4.2 [-1.2, +9.6]
Legato vs no wait (0 s) 0.674 [0.523, 0.892] +7.9 [+2.5, +13.8]

Managed desktops: pause, resume and fork (live check)

The managed service keeps desktops on E2B. It can pause one with its memory, resume it, and fork it into a copy that runs independently. Checked on 12 November 2026 against real sandboxes, both directly and through the deployed public API.

step direct (E2B SDK) through the API checked
pause 0.63–0.64 s 0.87 s E2B reports the sandbox paused, still paused 20 s later
resume 0.19–0.40 s 0.48 s a background process and a file both survive
fork 1.71 s 2.04 s the copy has the parent's files and running process; a file written in the copy does not appear in the parent

Times through the API include the round trip from the test machine to the gateway. These are single checks, not a benchmark.

What these results do not show

Raw data

benchmarks/results/h2h-1/ and benchmarks/results/h2h-2/ hold:

Re-run the analysis with legato bench h2h.

Edit this page on GitHub · Markdown