Skip to main content
Please ensure you have either logged in with harbor auth login or minted an API key (see Harbor Hub API key)

Launching a Job

The command harbor run --launch will attempt to launch a job under your personal organization The --launch flag can be combined with a singular agent/model combination (e.g. harbor run --launch -a claude-code -m anthropic/fable-5 -d harbor/hello-world). Agent/model sweeps must be launched using a config file (e.g. harbor run --launch -c config.yaml)

Injecting Secrets

There are two methods of injecting secrets into the hosted job: flags --stored-secret <ENV_VAR_NAME> and --one-off-secret ENV_VAR_NAME=secret_value, and config fields job_secrets and secrets. When using flags, --stored-secret will pull <ENV_VAR_NAME> from the organization’s stored credentials on the hub. --one-off-secret will encrypt the secret value and ensure that the value is not persisted in any job config files. The secret will be decrypted only when necessary and marked revoked after the job finishes. Flags apply secrets to every agent/model combination in the job config. In other words, if I launch with the following command: harbor run --launch -c simple_config.yaml --stored-secret TEST_VAR where simple_config.yaml is
The final resolved config would be as follows:
--launch and --upload are mutually exclusive, so the upload-side flags do not apply to a hosted launch: --upload, --public / --private, and --share.

Regrading

Add --launch to regrade recorded Hub results with an updated verifier. This creates a new private job without rerunning the agent or changing the source. Specify --org for the launch organization’s credits, permissions, and credentials. It must match the source organization, and you must have permission to launch there; shared read access alone is insufficient.

Regrade a job

Use -d for datasets, -p for local task directories, or -t for registry tasks. These options are repeatable and can be combined. Verifiers match by task name. Harbor selects the latest trial attempts with recorded archives.

Regrade a trial

Use exactly one -t or -p; for -p, provide a single task directory. Local verifier tasks are uploaded as temporary private packages. Add --yes to accept launch and upload without prompting.

Requirements

Hosted regrade currently supports single-step trials with separate verifiers. Source trials must have finished, and the replacement task must have the same name and be able to grade from the recorded artifacts. Sources must be Hub UUIDs. Use --dry-run to validate without creating a job. With local verifier tasks, it checks inputs without uploading; full source validation happens on launch.

Options

These options apply with --launch. See the secret options for credential details.

Listing Jobs

Using the command harbor hub job list you can print out a list of all jobs visible to your user on the hub.

Job Overview

Use the command harbor hub job show JOB_ID JOB_ID_2 ... to print an overview similar to the one provided on the hub. The overview reports the number of trials, errors, and retries, the average return on each metric, the cost in USD, and token usage.

Per-Task Job Breakdown

Use the command harbor hub job tasks JOB_ID to see a per-task breakdown of a job.

Trials Overview

Use the command harbor hub job trials JOB_ID JOB_ID_2 ... to list trials across one or more jobs. In interactive terminals, you can switch pages to audit all trials without running a second command.

Comparing 2 or More Jobs

Use command harbor hub job compare JOB_ID JOB_ID_2 ... to get the side-by-side grid for performance on tasks

Job Visibility

Use command harbor hub job shares JOB_ID to see who a job is shared with. This returns orgs and users

Renaming Jobs

Use harbor hub job rename JOB_ID "NEW NAME" to change the name displayed on the Hub. This does not change the job ID, artifact identity, or submitted configuration. Add --json to print the rename RPC response.

Transferring Job Ownership

Use harbor hub job transfer JOB_ID ORGANIZATION to transfer a completed job and all of its trials to another organization you own. Job and trial IDs do not change. The destination must already have access to every execution dependency used by the job. The command prompts for confirmation; pass --yes / -y when scripting. By default, the source organization keeps shared read access and job-specific secrets are permanently removed. Use --drop-source-access to remove the source grant or --keep-job-credentials to retain and reauthorize secrets you originally supplied.

Deleting Jobs

Use command harbor hub job delete JOB_ID JOB_ID_2 ... to permanently delete jobs you own from the hub, including all of their trials and shares. The command prompts for confirmation before deleting anything; pass --yes / -y to skip the prompt (required when scripting or piping). Only the job’s owner can delete a job. Jobs linked to a leaderboard submission and hosted jobs that are still running cannot be deleted.

Hosted Job Status

Use command harbor hub job status JOB_ID to get your job status. Returns counts of pending, running, failed, and completed trials.

Trial Show

Use command harbor hub trial show TRIAL_ID to show a single trial’s metadata

Downloading a Trial

Use command harbor hub trial download TRIAL_ID to download a particular trial

Retrying a Hosted Trial

For a trial in a job that was launched remotely, you can use the command harbor hub trial retry TRIAL_ID to retry those trials. These flags are cumulative filters. harbor hub trial retry --job JOB_ID --failed-only selects every trial in the job, then narrows to the ones that failed.

Canceling a Hosted Trial

To cancel a hosted trial, use command harbor hub trial cancel TRIAL_ID The selection filters from trial retry apply here too.

Adding Secrets

Use command harbor hub secrets add NAME to upload a secret to the Hub.

Listing Secrets

Use command harbor hub secrets list to list the names and metadata of your uploaded secrets.

Deleting Secrets

Use command harbor hub secrets delete to revoke a secret.

Adding an Image Registry Secret

Use command harbor hub secrets registry add to add an image registry secret. Also supports secrets registry list and secrets registry delete.

Shared Flags

The listing commands above also accept these: