Skip to main content

harmstack

The root command. Without flags it prints help. Pass --haystack to run the Haystack benchmarking module directly without invoking a subcommand.
Non-interactive example (Haystack module):
Key flags: --haystack, --target-model-endpoint, --provider, --benchmark-id, --unit-count, --consentandskip

harmstack init

Launch the interactive wizard to create a new benchmarking job. The wizard prompts for your Harmstack API key (or reads HARMSTACK_API_KEY), verifies your account, and guides you through selecting a benchmark and configuring your model endpoint. Pass --consentandskip with the required flags to skip all prompts and run non-interactively.
Interactive:
Non-interactive:
Key flags: --target-model-endpoint, --target-model-api-key, --provider, --model, --benchmark-id, --unit-count, --consentandskip, --header

harmstack credits

Show the available credit balance on your account.
Requires HARMSTACK_API_KEY to be set (or pass --harmstack-api-key).

harmstack list-jobs

List your most recent benchmarking jobs with scores. Output includes job ID, passed/failed counts, score percentage, and benchmark count.
Examples:
Key flags:

harmstack show-job

Show metadata and scoring stats for a single job by its UUID.
Examples:
Output includes job ID, status, endpoint URL, benchmark counts (needle-annotated, non-annotated, total), and score. Key flags: --job-id

harmstack compare-jobs

Compare two jobs side by side. Displays passed, failed, score, and total benchmark counts for each job in a single table.
Examples:
Key flags: --job-a, --job-b

harmstack stats

Show aggregate statistics across your most recent completed jobs: total job count, average score, and the best and worst performing jobs.
Examples:
Key flags: