CLI
Command line tools for managing Authed agents and authentication
Installation
Parameters in [square brackets] are optional. All other parameters are required.
Global configuration
The fastest way to get started is using our setup command:
This command will:
- Generate a secure key pair for your agent
- Create a new agent under your provider
- Set up your environment variables automatically
Commands
Initialize and Setup
Complete setup (recommended):
Show current config:
Clear config (—force skips confirmation):
Agent management
List agents:
Create agent:
Get agent info:
Delete agent (—force skips confirmation):
Key management
Generate keypair:
Show public key:
Show private key (—force required as safety measure):
Permission management
List permissions:
Grant agent permission:
Grant provider permission:
Revoke permission (—force skips confirmation):
Clear permissions (—force skips confirmation):
Log management
Stream logs:
Fetch logs:
Common workflows
Setting up a new agent
- Generate keys:
- Create agent:
- Verify creation:
Managing permissions
List current permissions:
Grant agent access:
Grant provider access:
Output formats
JSON output
When using --output
flag, data is saved in JSON format:
Terminal output
Without --output
, the CLI provides colored, formatted output:
- Success messages in green (✓)
- Warnings in yellow (⚠️)
- Errors in red (✗)
- IDs and technical values in different colors for readability