company-agents CLI is the keyboard interface to Company
Agents. Everything the dashboard can do, the CLI can do. It is
also the preferred interface for automation: no browser, no
modal dialogs, stable JSON output, exit codes you can check.
The CLI ships in the same installer as the desktop app and is
also available as a standalone binary for headless servers.
Install
macOS (Homebrew)
macOS / Linux (curl)
Windows (Scoop)
Debian/Ubuntu
Pointing at an instance
The CLI talks to a running orchestrator over the REST API. By default it looks for:login command once and the credentials are stored
at ~/.company-agents/cli/credentials:
0600 permissions.
For multi-environment workflows, use profiles:
Command groups
The CLI is organized into two top-level groups:- Setup commands — one-time install, login, key generation, instance creation, template installation. See Setup commands.
- Control plane commands — everyday operations: create companies, hire agents, run workflows, inspect tasks, watch logs, manage secrets. See Control plane commands.
| Command | Purpose |
|---|---|
company-agents | Opens the dashboard in the browser |
company-agents --version | Prints the CLI version |
company-agents doctor | Runs a health check against your setup |
company-agents help <command> | Detailed help for any command |
Global flags
Every command accepts:| Flag | Purpose |
|---|---|
--profile <name> | Use a named profile instead of the default |
--url <url> | Override the orchestrator URL |
--token <token> | Override the token |
--output <format> | table (default), json, yaml, jsonl |
--quiet | Suppress non-essential output |
--verbose | Verbose diagnostic output |
--no-color | Disable color and formatting |
--help | Show command help |
Output formats
The defaulttable output is for humans. For scripting, prefer
json:
jsonl is useful for streaming (tail-style) output:
Exit codes
- 0 — success
- 1 — generic error
- 2 — bad arguments or usage
- 3 — authentication or permission denied
- 4 — not found
- 5 — conflict (e.g., slug in use)
- 6 — rate limited
- 7 — timeout
- 8 — budget or policy blocked
- 9 — orchestrator unreachable
Config file
The CLI reads an optional config file at~/.company-agents/cli/config.yaml:
Shell completion
Next
- Setup commands — first-time setup and installation
- Control plane commands — day-to-day operations
- API authentication — how the CLI gets its token