Skip to main content
The Mutagent CLI (@mutagent/cli) is published on npm.

Install

Verify

Authenticate

Interactive login

Opens a browser to authorize the CLI. This is the normal path for local development.

Non-interactive (CI / agents)

Set the API key as an environment variable — no login step needed:
Managed keys use the mg_live_ prefix. See API Keys. You can also pass --non-interactive (or set CI=true) to suppress interactive prompts.
With MUTAGENT_API_KEY set, the CLI authenticates without mutagent login. This is the recommended pattern for CI pipelines and AI agents.

Check status

System requirements

Configure

The CLI resolves configuration from flags, then environment variables, then your saved config. Set a default workspace or org to skip repeating them:

Uninstall

To also remove saved credentials, delete ~/.config/mutagent.