gauge CLI is a typed client for the Gauge API. Use it for interactive work, repeatable scripts, and CI jobs. Agent execution stays in Gauge; the CLI only configures and launches work.
Install the CLI
The CLI requires Node.js 22.12 or later.Sign in
For a local terminal, use the browser flow:~/.config/gauge/credentials with permissions limited to your user. The GAUGE_API_TOKEN environment variable takes precedence over stored credentials.
Select an organization
One token can access every organization where you are a member.gauge orgs use writes the default organization to ~/.config/gauge/config.json. Override it for one command with --org:
Common workflows
Measure Agent Experience
An eval set defines a task and its judging criteria. A run preset supplies the repository and agent configuration.--yes only in automation where you have reviewed the configuration.
Measure Agent Preference
Agent Preference prompts measure which brands agents recommend or adopt.gauge preference --help to create prompts, attach presets, manage markets, and inspect run history.
Configure runs
Run presets are reusable combinations of repositories, agents, models, personas, skills, and MCP servers.Watch a run
watch follows the live event stream. logs prints the events available so far and exits. diff writes the run’s working-tree diff to standard output.
Apply a declarative configuration
Usegauge apply to launch work from a JSON specification.
Query analytics
Discover the available datasets and fields before you build a report.--explain to print the compiled query to standard error.
Script with JSON output
Read commands support--output json or -o json.
Environment and config
Manage local values with
gauge config get, gauge config set, and gauge config unset.