Skip to content
GitHub

Images and containers

Goal 2 / 4

Diagrams

How harnesses and task environments plug in

Harnesses by scenarioHostTask environments by typeSingle-turn QAdirect-apiInteractive agent loopcomposed-agent, terminal-loop, desktop-loopOff-the-shelf agents in containerscontainer-agent, coding-cliHostCapability matching, budgetcaps, isolation and cleanup,journal resumeOffline grader containerCode, Code (numpy)Rule-based gradingComposed, Instruction following,LiveBench reasoning, Math, Mathexpression, Multiple choice,Multiple choice with imagesDesktop VMDesktopTask containerHarbor task, Repository patch,TerminalJudge modelJudged QAGPU runtime layerPlannedBrowser / agent runtime layerPlanned
Harnesses plug in on the left by scenario, task environments on the right by type; the host only matches, budgets and isolates. An attempt reads and writes files through the harness/v1 container, and grading happens in an offline container.

Layers of a desktop backbone

OS and runtimeRead-only base layerAdapter layerPer runTask adaptersLinuxosworld-qemu; 4 CPU, 4 GBRAM, 50 GB disklinux-baseRead-only baselayerTemporaryoverlayOne layer perrun, discardedafterwardsosworld10 tasksWindowsdockur-windows; 4 CPU, 6 GBRAM, 48 GB diskwin-baseRead-only baselayerTemporaryoverlayOne layer perrun, discardedafterwardswaa14 taskswin-desktopAdapter layermacOSdocker-osx; 4 CPU, 8 GBRAM, 128 GB diskmac-baseRead-only baselayerTemporaryoverlayOne layer perrun, discardedafterwardsmacos-ported8 tasksmac-desktopAdapter layerA new backboneSame layers: read-only base layer, an optional adapter layer, a runtime image, registered in desktop.json
One read-only base layer per OS, adapter layers stacked as needed, and a temporary overlay per run that is thrown away afterwards. A benchmark's adapter is mounted only on the layer it needs.

To do 7

  • Every run injects and initializes the harness correctly in the task container: image pinned by digest, version and config hash written to the result row, timing starts only after the health check passes
  • Official Dockerfiles and image builds; reproducible desktop images
  • Smaller base images and prebuilt caches
  • Dedicated runners for code, browsers and more, with hard timeouts and isolation
  • GPU runtime layer
  • Reconcile actual prices with bills; per-step billing for judges and tools
  • Real runner acceptance with Docker Desktop on Windows and macOS

Done 5

  • Grader containers default to --network none, a read-only root filesystem and dropped capabilities, with CPU, memory, PID and time limits
  • Images pinned by digest, one images.lock.json per host
  • 3 desktop backbones: read-only base layer, adapter layer and a temporary overlay per run, all reclaimed afterwards
  • Journal resume: an interrupted run does not pay twice
  • For each run the host issues a temporary gateway key (limited to a model and budget); the container only gets the gateway address and that key, and real credentials stay on the host

Related docs