Skip to main content

Synopsis

Place a global option before or after an agentsfleet command.
<COMMAND> comes from agentsfleet --help. GLOBAL_OPTIONS contains any option from the table below.

Example with output

Options

--no-open, --no-input, --force, and --token-name belong to agentsfleet login. Write them after the command name. See Command reference.

Errors

The client returns exit code 0 after success. Authentication and unexpected failures return 1. Most commands return 2 for network failures and 3 for API failures. Login returns 1 for those sign-in failures. Invalid command input returns 4. Local configuration failures return 5. An interrupted browser login returns 130. A command group without a subcommand prints its help and exits 0. For example, agentsfleet workspace shows the same help as agentsfleet workspace --help. JSON errors include the stable product error identifier when the API supplies one. See the error registry.