Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
size_categories:
|
| 6 |
+
- n<1K
|
| 7 |
+
task_categories:
|
| 8 |
+
- other
|
| 9 |
+
tags:
|
| 10 |
+
- benchmark
|
| 11 |
+
- computer-use-agent
|
| 12 |
+
- gui
|
| 13 |
+
- cli
|
| 14 |
+
- hybrid-interface
|
| 15 |
+
- long-horizon
|
| 16 |
+
pretty_name: WeaveBench
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# WeaveBench
|
| 20 |
+
|
| 21 |
+
> A long-horizon, real-world benchmark for computer-use agents with **hybrid GUI + CLI + code** interfaces.
|
| 22 |
+
|
| 23 |
+
π **Paper**: [github.com/Wanli-Lee/WeaveBench (paper.pdf)](https://github.com/Wanli-Lee/WeaveBench/blob/main/paper.pdf)
|
| 24 |
+
π» **Code**: [github.com/Wanli-Lee/WeaveBench](https://github.com/Wanli-Lee/WeaveBench)
|
| 25 |
+
|
| 26 |
+
WeaveBench evaluates whether a single agent can orchestrate **visual desktop control, command-line execution, code editing, browsers, and external tools** within one long-horizon workflow. Best observed pairing in the paper: **Claude Opus 4.7 + Claude Code at 41.2 % PassRate** β far from saturation.
|
| 27 |
+
|
| 28 |
+
This HF repository hosts:
|
| 29 |
+
|
| 30 |
+
1. **`tasks/`** β the 114 paper-final tasks across 8 domains, ready to drop into the WeaveBench orchestrator.
|
| 31 |
+
2. **`runtime_assets/`** β pre-built bootstrap tarballs for the 4 supported in-VM agent harnesses (OpenClaw, Codex CLI, Claude Code, Hermes).
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## 1. Layout
|
| 36 |
+
|
| 37 |
+
```
|
| 38 |
+
WeaveBench/
|
| 39 |
+
βββ tasks/
|
| 40 |
+
β βββ batch1/ batch2/ batch3/ batch_gen/ β 4 release batches
|
| 41 |
+
β β βββ DAV/ DES/ DOC/ DSK/ GAM/ OPS/ SPA/ WEB/ β 8 domains
|
| 42 |
+
β β β βββ <DOMAIN>_task_<NN>_<slug>.md β one file per task
|
| 43 |
+
β β βββ workspace/<DOMAIN>/<task_dir>/exec/ β per-task scaffold
|
| 44 |
+
β
|
| 45 |
+
βββ runtime_assets/
|
| 46 |
+
βββ openclaw.tar.gz 491 MB (reference harness)
|
| 47 |
+
βββ codex.tar.gz 125 MB (OpenAI Codex CLI)
|
| 48 |
+
βββ claudecode.tar.gz 69 MB (Anthropic Claude Code)
|
| 49 |
+
βββ hermes.tar.gz 121 MB (Nous Research Hermes)
|
| 50 |
+
βββ hermes_mcp_wheels.tar.gz 9 MB (offline mcp wheels for Hermes)
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
Total: **114 tasks** across 8 domains, ~203 MB of task content + ~815 MB of runtime tarballs.
|
| 54 |
+
|
| 55 |
+
## 2. Quick download
|
| 56 |
+
|
| 57 |
+
```bash
|
| 58 |
+
# Install the code package first:
|
| 59 |
+
pip install git+https://github.com/Wanli-Lee/WeaveBench.git
|
| 60 |
+
|
| 61 |
+
# Then fetch dataset + runtimes:
|
| 62 |
+
weavebench-download-dataset --dest ./cache # tasks/
|
| 63 |
+
weavebench-download-assets --dest ./cache # runtime_assets/
|
| 64 |
+
|
| 65 |
+
# Run one task end-to-end with OpenRouter:
|
| 66 |
+
export OPENROUTER_API_KEY=sk-or-v1-...
|
| 67 |
+
weavebench-run \
|
| 68 |
+
--harness openclaw --transport messages \
|
| 69 |
+
--model anthropic/claude-opus-4 \
|
| 70 |
+
--tasks_root ./cache/tasks \
|
| 71 |
+
--bench_subdirs batch_gen --categories WEB --task_filter task_1 \
|
| 72 |
+
--result_dir ./results/smoke
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
Or download manually from this repo via the HuggingFace web UI.
|
| 76 |
+
|
| 77 |
+
## 3. Per-domain task counts
|
| 78 |
+
|
| 79 |
+
| Domain | Description | Count |
|
| 80 |
+
|---|---|---:|
|
| 81 |
+
| WEB | Web inspection / DevTools / browser auditing | 12 |
|
| 82 |
+
| DAV | Data-analyst / SRE workflows (Jaeger, Streamlit, dbt, β¦) | 13 |
|
| 83 |
+
| DOC | Document / slide / brainstorm editing | 14 |
|
| 84 |
+
| DSK | Desktop / system / IDE tooling | 15 |
|
| 85 |
+
| GAM | Gamedev / Godot scene editing | 17 |
|
| 86 |
+
| OPS | Web-ops, nginx, dashboards | 12 |
|
| 87 |
+
| SPA | SPA / front-end stateful flows | 11 |
|
| 88 |
+
| DES | Inkscape / vector / design | ~10 |
|
| 89 |
+
| **Total** | | **114** |
|
| 90 |
+
|
| 91 |
+
## 4. Task `.md` schema
|
| 92 |
+
|
| 93 |
+
Each task file has these sections in order:
|
| 94 |
+
|
| 95 |
+
```markdown
|
| 96 |
+
# <Human title>
|
| 97 |
+
|
| 98 |
+
## Goal β short user request (what the agent reads as `instruction`)
|
| 99 |
+
## Setup β preconditions assumed to be true in the VM
|
| 100 |
+
## Warmup β bash commands the orchestrator runs before the agent starts
|
| 101 |
+
## Expected Output β files the agent must produce in /tmp_workspace/results/
|
| 102 |
+
## Grader β Python `def grade(workspace_path, transcript) -> dict`
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
The grader returns `{"score": float β [0, 1], "scores": {sub_rubric: float, ...}, "msg": "..."}`.
|
| 106 |
+
**The grader never sees the chat transcript** (`transcript=[]`), so it must be reproducible from artifacts alone. The paper's trajectory-aware judge ([`weavebench/eval/agent_judge`](https://github.com/Wanli-Lee/WeaveBench/tree/main/weavebench/eval/agent_judge)) is the second-pass defense against fabricated visual evidence.
|
| 107 |
+
|
| 108 |
+
## 5. Citation
|
| 109 |
+
|
| 110 |
+
```bibtex
|
| 111 |
+
@article{li2026weavebench,
|
| 112 |
+
title = {WeaveBench: A Long-Horizon, Real-World Benchmark for Computer-Use Agents with Hybrid Interfaces},
|
| 113 |
+
author = {Li, Wanli and Zhou, Bowen and Yang, Yifan and Yu, Yunyao and Li, Dongsheng and Xu, Zhou and Shan, Caihua},
|
| 114 |
+
year = {2026},
|
| 115 |
+
month = {May},
|
| 116 |
+
}
|
| 117 |
+
```
|
| 118 |
+
|
| 119 |
+
## 6. License
|
| 120 |
+
|
| 121 |
+
- **Tasks**: MIT.
|
| 122 |
+
- **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/Wanli-Lee/WeaveBench/blob/main/NOTICE) in the code repo for full attribution.
|