
--env boxd and Harbor runs every trial on its own isolated boxd machine with Docker inside, so you can check and score tasks without Docker on your laptop.
Set up
1
Install Repo2RLEnv and Harbor
With Python 3.12 or later:Repo2RLEnv pins Harbor 0.26.0. The
boxd extra installs the boxd Python SDK.2
Create an API key
3
Download a task
Pull one task from a published Repo2RLEnv dataset on the Hugging Face Hub:
pallets__click-3004 is a pr_runtime task: the agent has to make failing tests in Click pass without breaking the passing ones. Drop --task to download the whole dataset.4
Check the task with the controls
The oracle applies the reference solution and should score 1. Nop changes nothing and should score 0.Nop scored 0.000. Each control took under a minute, from creating the machine and building the task’s image to deleting the machine.
5
Run an agent
./jobs/. Repo2RLEnv’s guide explains how to read them.Make tasks from your own repository
Repo2RLEnv generates tasks on your computer, and Harbor runs them on boxd. Thepr_diff pipeline needs no Docker and no model while it generates. It reads merged pull requests with the GitHub CLI, so log in first:
limit caps the candidates, so you can get fewer tasks than that. validate checks the task files only; nothing is built or run. generate reads the newest merged pull requests, so your tasks change as new ones merge. On 27 November 2026 this run gave one task, pallets__click-3919, out of three pull requests: one was docs only and one changed too many files.
A pr_diff task scores the patch against the merged one, partly with a model judge. Pass the judge’s key to the verifier with --ve:
VERIFIER_FAILED. For rewards from tests alone, use pr_runtime or Tasksmith; both need Docker or a remote worker to generate. Choose a pipeline compares them.
How it works
- One machine per trial. Harbor creates a boxd machine, builds or pulls the task’s image with the Docker daemon on it, runs the agent and then the verifier, copies the results back to
./jobs/, and deletes the machine. - Every machine is isolated. It cannot reach your other machines, and it gets none of your connected integrations or agent logins. The machine has outbound internet, so the agent can reach its model API.
- The task’s network rules still apply. Inside the task’s container, Repo2RLEnv’s guard blocks PyPI and GitHub on many tasks,
pallets__click-3004among them, so the agent cannot download the published fix. - You choose what goes in. Values you pass with
--aeand--vereach the agent and the verifier commands. - Harbor’s boxd options work here. Snapshots, region, machine size and the other options are on the Harbor page. Pass them with
--ek.
Limits
- boxd runs the Harbor trials, not the generation. Repo2RLEnv’s own generation runs locally, with local Docker when it executes code. Tasksmith and the research recipes run their workers on Modal or Daytona.
- No GPU. A boxd machine has no GPU. Repo2RLEnv runs its GPU trials on Modal.
- Your machine quota caps concurrency. Each concurrent trial is one machine. Harbor runs 4 at a time unless you set
-n.boxd manage billingshows your quota. - Controls first. A generated task has passed nothing beyond its generator’s checks. Run the oracle and nop on every dataset before you score an agent on it, as Repo2RLEnv’s guide says.