File size: 6,544 Bytes
8ea2c50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cc6a12a
8ea2c50
 
 
 
 
 
 
02f0e3c
 
cc6a12a
8ea2c50
cc6a12a
8ea2c50
cc6a12a
8ea2c50
cc6a12a
 
 
 
 
 
8ea2c50
 
 
 
 
 
 
cc6a12a
 
 
 
 
 
 
 
 
 
 
 
 
 
8ea2c50
cc6a12a
 
8ea2c50
 
cc6a12a
8ea2c50
cc6a12a
8ea2c50
 
cc6a12a
8ea2c50
 
cc6a12a
 
 
 
 
 
8ea2c50
cc6a12a
 
8ea2c50
cc6a12a
8ea2c50
 
 
cc6a12a
 
 
 
 
 
 
 
 
 
8ea2c50
cc6a12a
8ea2c50
cc6a12a
 
 
 
 
 
 
8ea2c50
 
 
 
 
 
 
 
 
cc6a12a
8ea2c50
 
 
 
 
cc6a12a
 
 
 
 
 
 
 
 
8ea2c50
cc6a12a
8ea2c50
 
 
 
 
 
 
 
 
cc6a12a
8ea2c50
 
02f0e3c
cc6a12a
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
---
license: mit
language:
- en
size_categories:
- n<1K
task_categories:
- other
tags:
- benchmark
- computer-use-agent
- gui
- cli
- hybrid-interface
- long-horizon
- agent-as-judge
pretty_name: WeaveBench
---

# WeaveBench

> A long-horizon, real-world benchmark for computer-use agents with **hybrid GUI + CLI + code** interfaces.

πŸ“„ **Paper**: [github.com/weavebench/WeaveBench (paper.pdf)](https://github.com/weavebench/WeaveBench/blob/main/paper.pdf)
πŸ’» **Code**: [github.com/weavebench/WeaveBench](https://github.com/weavebench/WeaveBench)
🌐 **Website**: [weavebench.github.io](https://weavebench.github.io)

**114 long-horizon, real-world tasks** across 8 work domains, where every task requires the agent to **interleave GUI clicks with shell/code** in one trajectory. Scored by a **trajectory-aware Agent-as-Judge** that reads chat trace + deliverables and emits per-clause evidence β€” much harder to spoof than file-existence checks. Best observed pairing in the paper: **Claude Opus 4.7 + Claude Code at 41.2 % PassRate** β€” far from saturation.

This HF repository hosts everything needed to run the benchmark end-to-end:

1. **`tasks/`** β€” 114 paper-final tasks + workspace assets (~207 MB)
2. **`runtime_assets/`** β€” pre-built bootstrap tarballs for the 4 in-VM agent harnesses (~852 MB)
3. **`vm/Ubuntu.qcow2`** β€” the paper-canonical Ubuntu VM image (28.46 GB)
4. **`judge/judge_template.tar.gz`** β€” host-side OpenClaw judge profile template (~7 KB)

> πŸ‡¨πŸ‡³ **Users in China**: `export HF_ENDPOINT=https://hf-mirror.com` β€” all `weavebench-download-*` commands honor it automatically.

---

## 1. Layout

```
WeaveBench/
β”œβ”€β”€ tasks/                                ← 207 MB
β”‚   β”œβ”€β”€ DAV/  DES/  DOC/  DSK/  GAM/  OPS/  SPA/  WEB/    ← 8 domains
β”‚   β”‚   └── <DOMAIN>_task_<NN>_<slug>.md  ← 114 task .md files
β”‚   └── workspace/<DOMAIN>/<task_dir>/    ← 951 supporting files (gt/, exec/, …)
β”‚
β”œβ”€β”€ runtime_assets/                       ← 852 MB total
β”‚   β”œβ”€β”€ openclaw.tar.gz                   514 MB   (reference harness)
β”‚   β”œβ”€β”€ codex.tar.gz                      131 MB   (OpenAI Codex CLI)
β”‚   β”œβ”€β”€ claudecode.tar.gz                  72 MB   (Anthropic Claude Code)
β”‚   β”œβ”€β”€ hermes.tar.gz                     127 MB   (Nous Research Hermes)
β”‚   └── hermes_mcp_wheels.tar.gz            9 MB   (offline mcp wheels for Hermes)
β”‚
β”œβ”€β”€ vm/
β”‚   └── Ubuntu.qcow2                      28.46 GB (v3_eyeson_apps, paper-canonical)
β”‚
└── judge/
    └── judge_template.tar.gz             ~7 KB    (OpenClaw judge profile)
```

**Total**: ~29.5 GB. See the [README Β§Resource budget](https://github.com/weavebench/WeaveBench#resource-budget-read-before-you-commit) on the code repo for what to allocate.

## 2. One-command download + run

```bash
git clone https://github.com/weavebench/WeaveBench.git && cd WeaveBench

export OPENROUTER_API_KEY=sk-or-v1-...
# Optional: export HF_ENDPOINT=https://hf-mirror.com   # if in China

# bash scripts/setup.sh does all four downloads + npm install -g openclaw + judge bootstrap
bash scripts/setup.sh

# Smoke test (default model: openai/gpt-5.5)
weavebench-run \
    --harness openclaw \
    --model openai/gpt-5.5 \
    --tasks_root ./cache/tasks \
    --domains WEB --task_filter task_1_ \
    --result_dir ./results/smoke
```

Or fetch individual assets:

```bash
weavebench-download-dataset --dest ./cache         # tasks/             207 MB
weavebench-download-assets  --dest ./cache         # runtime_assets/    852 MB total
weavebench-download-vm      --dest ./cache         # vm/Ubuntu.qcow2    28.46 GB
weavebench-download-judge                          # judge/ β†’ ~/judge_agent_test/
```

## 3. Try it in 30 seconds (no VM, no API key)

If you just want to see what `score.json` from the Agent-as-Judge looks like:

```bash
git clone https://github.com/weavebench/WeaveBench.git && cd WeaveBench
pip install -e .
weavebench-demo
```

This prints a real paper-canonical Claude Opus 4.7 rollout's score with per-artifact / per-clause judge evidence in <1 second β€” no network calls, no tokens.

## 4. Task `.md` schema

Each task file has these sections in order:

```markdown
# <Human title>

## Goal             β€” short user request (what the agent reads as `instruction`)
## Setup            β€” preconditions assumed true in the VM
## Warmup           β€” bash commands the orchestrator runs before the agent starts
## Expected Output  β€” files the agent must produce in /tmp_workspace/results/
## Grader           β€” Python `def grade(workspace_path, transcript) -> dict`
```

The embedded `grade(...)` function returns `{"score": float ∈ [0, 1], "scores": {sub_rubric: float, ...}, "msg": "..."}` β€” but in the **trajectory-aware judge pipeline** (the only scoring path in `weavebench-run`), this is documentation only. Scoring is done by a host-side OpenClaw judge ([`weavebench/eval/agent_judge`](https://github.com/weavebench/WeaveBench/tree/main/weavebench/eval/agent_judge)) that reads chat trace + deliverables and emits per-clause evidence-based scores. See [docs/AGENT_JUDGE.md](https://github.com/weavebench/WeaveBench/blob/main/docs/AGENT_JUDGE.md).

## 5. Pinned revision for paper reproduction

OpenRouter aliases drift over time. To reproduce paper numbers, pin both the dataset SHA and the model snapshot ids β€” see [`docs/REPRODUCE.md`](https://github.com/weavebench/WeaveBench/blob/main/docs/REPRODUCE.md) in the code repo for the canonical SHA, per-table model ids, and per-table commands.

```bash
export WEAVEBENCH_DATASET_REVISION=<full sha from docs/REPRODUCE.md>
```

## 6. Citation

```bibtex
@article{li2026weavebench,
  title  = {WeaveBench: A Long-Horizon, Real-World Benchmark for Computer-Use Agents with Hybrid Interfaces},
  author = {Li, Wanli and Zhou, Bowen and Yang, Yifan and Yu, Yunyao and Li, Dongsheng and Xu, Zhou and Shan, Caihua},
  year   = {2026},
}
```

## 7. License

- **Tasks**: MIT.
- **Runtime tarballs**: each tarball repackages third-party software (Codex CLI is Apache-2.0; Claude Code, Hermes, OpenClaw retain their upstream terms). See [NOTICE](https://github.com/weavebench/WeaveBench/blob/main/NOTICE) in the code repo for full attribution.
- **VM image**: derived from OSWorld upstream Ubuntu image (MIT), patched to bake in app snapshots for paper reproducibility β€” full provenance in [docs/REPRODUCE.md](https://github.com/weavebench/WeaveBench/blob/main/docs/REPRODUCE.md).