The SDK side of all three is in Harbor interoperability.
Import tasks and runs
A Harbor import copies a zip of Harbor task folders and job folders into a taskset. Each task folder becomes a task of the taskset, and each job becomes an evaluation job whose traces replay the trials Harbor recorded, with their rewards. The import is the HUD counterpart ofharbor publish for tasks and harbor upload for jobs.
Each imported task folder is its environment’s source, which HUD does not build on import, so
imported tasks are for browsing and comparing runs until their environment is built. Triggering a
build of that source (POST /v2/builds/trigger with its build_id) adapts
the folder as the SDK’s Harbor adapter does and builds it on Modal; once it succeeds, the task
runs the adapted task. To adapt and deploy folders yourself instead,
run them with the SDK.
Prepare the zip
One zip can hold tasks, jobs, or both, at any depth:- A task folder is any folder holding
task.toml.dataset.tomlmanifests are ignored; the task folders inside a dataset folder import like any other. The zip root itself cannot be a task folder: put each task in its own folder. - A job folder holds
config.jsonandresult.jsonand has a folder per trial, each with its ownresult.json. Include the whole job folder; a trial folder on its own is read past with a warning.
Start an import
There are three ways to start an import. All three upload the zip to your team’s Data store and import it into a taskset you can edit, and every import shows up on the taskset’s Imports tab.- Web app
- CLI
- REST API
Select Import from Harbor on the Tasksets page to create a new
taskset, named after the zip unless you rename it. To add to an existing taskset,
select Import in the taskset’s header, or Import from Harbor on its Imports tab.Drop the zip on the dialog, click to choose it, or pick a zip already in Data with
Choose from Data. The dialog estimates how long the import will take before you start it.
Start import opens the import on the taskset’s Imports tab.

What an import creates
- Tasks. Each task folder becomes an environment named after the folder, created in the taskset’s project on first import and suffixed when your team already has an environment of that name, and a task of the taskset on that environment. The environment’s version is the folder’s Harbor content digest: importing the same content again changes nothing, and changed content becomes the environment’s next version, which its task moves to in every taskset you can edit.
- Jobs. Each job folder becomes a HUD job, marked with a Harbor badge. Each finished trial
becomes a trace of the task it ran: its
agent/trajectory.json(ATIF) becomes the trace’s steps, and itsresult.jsonand verifier reward become the trace’s outcome. Unfinished trials are skipped. - Links between runs and tasks. A trial links to its task by the task digest in its
lock.json, or, for trials from Harbor versions without trial locks, by thetask_checksumin itsresult.json, matched against the task folders in the same zip. A task the zip does not hold is looked up among Harbor environments already in the taskset’s project.
Follow an import
An import isqueued, starting, or running while it works, and cancelling after a cancel
request. It ends in one of four statuses:
The taskset’s Imports tab lists its imports, newest first, with what each added and how many
items it skipped or failed. Cancel a running import from its row.

Read the report
Open an import to read its report: every task, job, and trial in the zip, with its status and, for anything skipped or failed, the reason. Tasks open the taskset’s task, jobs open the job, and trials open their trace. Download saves the original zip or the report as JSON.
A job’s status follows its trials, unless the job folder itself was skipped or HUD refused the job.
Skipped and failed items do not fail the import.
Import again
Importing the same zip again is safe, and resumes an import that stopped: environments, tasks, jobs, and traces are matched by digest and Harbor id instead of being created twice. To update a task, change its folder and import it again; to add runs, import their job folders into the taskset that holds the tasks.Limits and permissions
- The zip is at most 1 GiB, with at most 200,000 entries and 8 GiB unpacked. Import a larger set in
several imports into the same taskset. Each Harbor JSON file the import reads, such as a trial’s
result.json, is at most 8 MiB. - Harbor imports are free.
- You must be able to edit the taskset. Team admins see every import on the team; other members see the imports they started.
- A team holds one Harbor environment per task folder name. A task folder whose environment already exists in another project fails, and two folders in one zip with the same name but different content stop the import.
- A taskset holds one task per name. A task found in HUD joins the taskset only if the taskset has no task of that name, and a trial of another version of a task links only if the taskset’s task has held that version.
- A trial without
lock.jsonlinks only to a task folder in the same zip.
Common skip reasons
Run Harbor tasks on HUD
The SDK’s Harbor adapter turns task folders into HUD environments and tasks that keep the Harbor environment and verifier.adapt() writes one Compose project per environment under
.hud-adapt/, and lists the tasks it could not adapt, with the reason, in result.failures:
runtime.json each
deploy takes and every Harbor feature the adapter supports. Once deployed, the tasks run like any
other: on any model, from the web app or with hud eval, billed as usual.
Export HUD tasks to Harbor
The SDK’sexport() writes HUD tasks as self-contained Harbor task folders, one per task, for
Harbor to run. It reads the tasks from local source: a Python task source, or a JSON or JSONL
taskset, next to the environment’s source and Dockerfile. The web app and the CLI have no export.
instruction.md holds the task’s prompt and asks the agent to write its final answer to
/workspace/answer.txt. Once the agent finishes, tests/test.sh grades that answer with the
task’s own grading and writes the reward where Harbor’s verifier reads it. The agent and the
verifier each time out after 600 seconds; export() takes timeout_sec and answer_file to
change them.
- Only environments whose capabilities are
sshormcpcan be exported. - The task’s setup runs twice, once to write
instruction.mdand once in the container, so it must give the same result for the same arguments. Put randomness in the task arguments. - The image runs
hud serve, so theDockerfilemust install the HUD SDK, as environments built forhud deployalready do. - Exported tasks use Harbor’s same-container verifier; their
task.tomldeclares no[verifier.environment].