bt experiments manages Braintrust experiments directly from the CLI.
Subcommands
| Subcommand | Description |
|---|---|
bt experiments list | List all experiments in the current project |
bt experiments view <name> | Display experiment metadata (use compare for summary metrics) |
bt experiments compare <base> <comparison>... | Compare summary metrics for up to eight experiments (alias: summary) |
bt experiments delete <name> | Delete an experiment |
bt experiments list
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. To compare summary metrics across experiments, usebt experiments compare.
Flags
| Flag | Description |
|---|---|
--name, -n <NAME> | Experiment name (alternative to the positional argument) |
--web | Open the experiment in your browser |
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
| Flag | Description |
|---|---|
--base <NAME> | Base experiment name (alternative to the first positional argument) |
--comparison, -c <NAME> | Comparison experiment name. Pass multiple times to compare several experiments |
--url <URL> | Braintrust experiment comparison URL |
--all | Include rows for metrics with zero or no change |
bt experiments delete
Delete an experiment and its results.Flags
| Flag | Description |
|---|---|
--name, -n <NAME> | Experiment name (alternative to the positional argument) |
--force, -f | Skip the confirmation prompt |