Documentation Index
Fetch the complete documentation index at: https://docs.mutagent.io/llms.txt
Use this file to discover all available pages before exploring further.
CLI Installation
The MutagenT CLI (@mutagent/cli) is available on npm. The current version is 0.1.186.
Install
Verify Installation
Authenticate
Interactive Login
- Browser OAuth (recommended) — opens your browser for secure login
- API Key — enter your
mt_prefixed API key directly
Non-Interactive Login
For CI/CD pipelines, set theMUTAGENT_API_KEY environment variable (no login step needed):
--non-interactive flag or set CI=true to suppress interactive prompts and auto-select browser auth:
Environment Variables
When
MUTAGENT_API_KEY and MUTAGENT_ENDPOINT are set, the CLI uses them automatically — no auth login step is needed. This is the recommended pattern for AI agents and CI/CD pipelines.Check Status
System Requirements
| Requirement | Minimum Version | Notes |
|---|---|---|
| Bun | >= 1.1.0 | Recommended runtime for package install |
| Node.js | >= 18.0.0 | Alternative runtime for package install |
| OS | macOS, Linux, Windows | Supported platforms |
Supported Binary Platforms
Configuration
The CLI uses a configuration hierarchy (highest to lowest priority):Configuration File Example
Create.mutagentrc.json in your project:
mutagent.config.js: