Skip to main content
bt experiments manages Braintrust experiments directly from the CLI. Running bt experiments without a subcommand is equivalent to running bt experiments list.

Subcommands

bt experiments list

Lists all experiments in the current project.

bt experiments view

Display an experiment’s metadata, including description, creation time, commit, dataset, visibility, and tags, along with a link to view results in the browser. If you omit the experiment name in an interactive terminal, bt prompts you to select one. To compare summary metrics across experiments, use bt experiments compare.
Flags

bt experiments compare

Compare summary metrics for up to eight experiments side by side: one base experiment and up to seven comparisons. Pass experiment names, or a Braintrust experiment comparison URL copied from the app.
Flags

bt experiments delete

Delete an experiment and its results. If you omit the experiment name in an interactive terminal, bt prompts you to select one.
Flags Use the shared --org, --project, and --profile global flags to select the Braintrust context. The list, view, and compare subcommands also support --json output.