CLI: Setup
CLI Authentication Token
Our CLI uses an auth token for secure commands. You can generate this token from your web dashboard (under Security or API Access). Once you have the token:
- Run
agents-cli setup
. - Follow the prompts to paste your token.
- Optionally set a custom API base URL if you want.
Your token is saved in ~/.agents-api/auth_token.txt
(readable only by your user).
Example Setup Flow
BASHagents-cli setup # [Prompts for opening token creation page] # [Paste your token] # [Optionally set a custom base URL] agents-cli info # Shows your account credits and a summary of all commands.