ComputeWise
gpu-harness is a plugin for Claude Code and Codex. When your agent runs several GPU jobs to reach an answer, the
harness runs the jobs for it. It starts the jobs that decide the answer first, refills a GPU as soon as a job ends,
and stops a candidate's jobs as soon as the agent rejects it under your rule, so the answer comes sooner. It installs with
plugin commands; there is nothing to clone or pip install. ComputeWise is the research project behind it: a
benchmark that measures how much GPU time AI agents waste, with the paper's code and data.
| You want to… | Go to |
|---|
| Add the gpu-harness to your own Claude Code or Codex | Install |
| See it work in five minutes, with or without GPUs | The demo |
| Reproduce or extend the paper's benchmark | The benchmark |
| Test GPU agents on a machine without GPUs | Simulated GPUs |
Use the gpu-harness in your own agent
When a coding agent runs a sweep, an ablation, an evaluation table, or a "which of these setups passes the bar"
study, it tends to leave GPUs idle between jobs and to keep them busy with runs the answer never needed. With the
gpu-harness, the agent still plans the work and makes every judgement. The harness runs the jobs: the deciding ones
first, a new job on a GPU the moment one ends, and none for a candidate the agent has rejected under your rule.
How much it helps
The paper measured this on a simulated node that replays recorded GPU jobs, mostly run on H100s. Each agent's time to its answer is
compared with a reference schedule of the same work. That schedule follows the task's rule, knows each job's length,
and is within 10% of the best possible schedule. "Time over the reference" is the extra time: an agent that takes
14.4 hours where the reference takes 10 has 4.4 hours over it.
- With no help, the typical agent run took 1.44 times as long as the reference.
- Claude Haiku 5.5, Sonnet 5.5 and Opus 5.5 with the harness:
- 25 of their 26 model-and-task pairs improved: the three models on nine tasks, less one pair with no run without
help;
- their summed time over the reference fell by about 90%;
- pairs taking at least 1.25 times as long as the reference went from 25 of 26 to 3.
- Cost against saving: a harness run cost $0.17 to $0.42 in model tokens with Haiku, $2.28 to $7.16 with Sonnet
and $4.60 to $14.89 with Opus. It saved 1.2 to 57 GPU-hours, $8 to $394 at $6.88 per H100-hour, on 25 of the 26
pairs.
- The Codex edition:
- GPT-6 Astra improved on 7 of 9 tasks and cut its time over the reference by 63%;
- GPT-6.1 Sol was run without help on fewer tasks. It improved on 3 of the 4 tasks with such a run, and cut its
time over the reference by 48%.
The harness starts each job as an ordinary process with CUDA_VISIBLE_DEVICES set. In the paper those processes ran
on the simulated node. This release has been tried there and on pretend GPUs, not yet on real GPUs.
All nine of the paper's tasks can be built and run from this release; The benchmark says how. The
dataset holds the scored runs on the modded-nanogpt tasks.
Is it a fit?