company-agents login
Creates or updates a profile in your CLI config.
- Orchestrator URL (default:
http://localhost:3100) - API token (pasted; the CLI masks input)
- Profile name (default:
default)
~/.company-agents/cli/credentials
with 0600 permissions and the profile pointer to
~/.company-agents/cli/config.yaml.
Non-interactive form:
company-agents logout
Removes the credentials for a profile. The profile pointer in
the config file stays (you can log back in later); the token is
wiped.
company-agents new
Create a fresh instance. Used on a new machine or when you want
a second instance alongside an existing one.
- Choose an instance location (default:
~/.company-agents/instances/default/) - Choose a database flavor (PGlite or real Postgres)
- Generate a master key or point at an existing one
- Pick a default adapter
- Start the orchestrator
- Open the dashboard
company-agents open
Opens the dashboard for the current profile in your default
browser.
--url to print the URL instead
of opening it.
company-agents doctor
Runs a health check against the current profile.
- The CLI can reach the orchestrator
- The token is valid and has at least
readscope - The database is responding
- The MCP server is reachable
- Every configured adapter has its binary on PATH
- Every integration has a valid secret
company-agents key
Master key management. These commands are sensitive and require
physical access to the machine or explicit admin scope.
company-agents key generate
Generates a new 32-byte AES-256 master key and writes it to the
configured path:
key rotate.
company-agents key rotate
Rotates the master key: generates a new one, re-encrypts every
row in the secrets table, and archives the old key for the
grace period:
company-agents key export
Exports the master key wrapped with a passphrase:
company-agents key import
Imports a wrapped master key:
company-agents token
API token management.
company-agents token create
company-agents token list
company-agents token rotate
company-agents token revoke
company-agents template
Template management, for installing Clipmart templates or
publishing your own.
company-agents template install
company-agents template list
company-agents template publish
company-agents template update
company-agents backup
Backup and restore.
company-agents backup create
company-agents backup restore
company-agents completion
Shell completion scripts.
Next
- Control plane commands — everyday operations
- CLI overview — global flags, profiles, output formats
- Deploy — where the instance runs that these commands target