Skip to main content
Please ensure you have either logged in with harbor auth login or minted an API key (see Creating a 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, --share-org, and --share-user.

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

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: