Skip to main content

Creating an experiment

The -c flag is required and points to the experiment config file. The experiment name is specified inside the YAML via the experiment_name field. Adding a - suffix to experiment_name appends a random unique ID — we recommend this to avoid name clashes. You can override config values without editing the file by passing key=value arguments:

Listing experiments

Experiments progress through these phases:

Viewing experiment details

Output sections:
  • name: Experiment identifier
  • spec: Experiment specification
    • repo: Source code repository configuration
    • runtime: Execution settings (agents shows ready/total, e.g., 10/10)
    • sandbox: Container environment and resources
  • status: Current state
    • created: Creation timestamp and age
    • phase: Current lifecycle phase
    • message: Condition message (if available)

Streaming logs

Stream logs for a running experiment with hive logs. The --source flag selects where the logs come from:
To inspect a specific sandbox worker, use --source sandbox together with --worker (0-based):
By default logs are followed live. Pass --no-follow to print the existing logs and exit:

Stopping experiments

To stop multiple experiments at once:
When stopping more than one experiment you’ll be asked to confirm. Add --yes (or -y) to skip the confirmation prompt:

Viewing the dashboard

The experiment dashboard, which contains detailed information about all Hive experiments launched by your team, can be accessed by using:
Use --no-browser to print the URL without opening a browser.