Skip to main content
The gauge CLI is built for people and coding agents alike: every command supports --help, and -o json returns machine-readable output for scripts.

Install

The CLI requires Node.js 22.13 or later.
Update it with gauge update. To teach your coding agent how to use the CLI, run gauge install-skill.

Authenticate

One sign-in covers both products. GAUGE_API_TOKEN takes precedence over a saved sign-in; unset it to go back to your login. gauge auth logout signs out the saved login but doesn’t revoke an API key. Create API keys in Gauge Chat under Settings → Integrations → API Keys. See Authenticate with the API for access levels and revoking. Check what you’re using:

Choose an organization

The organization you select applies to both products.
An API key always uses its own organization. An agency key can pass --org to choose a client.

Gauge Chat commands

gauge chat reads categories, brands, sampled answers, cited pages, and reports, and manages tracked topics, prompts, and tags.

Gauge Agents commands

Agents commands run on a local or hosted backend. Local sessions run in Docker, and your coding agent analyzes the results. Hosted sessions run on Gauge compute and are analyzed automatically.

Command reference

CLI guide

Workspaces, backends, local runs, case files, results, JSON output, and exit codes.

Gauge Chat commands

Categories, date ranges, paging, and limits for gauge chat.
Run gauge --help, or --help on any command, for every option in your installed version.