CLI Overview
Thecast CLI is the fastest way to deploy and manage agents on Castari.
Installation
Commands
| Command | Description |
|---|---|
cast login | Authenticate with Castari |
cast logout | Clear stored credentials |
cast whoami | Show current user |
cast init | Create a new agent from a template |
cast deploy | Deploy an agent |
cast invoke | Invoke a deployed agent |
cast agents list | List all agents |
cast agents get | Get agent details |
cast agents delete | Delete an agent |
cast secrets list | List secrets for an agent |
cast secrets set | Set a secret |
cast secrets delete | Delete a secret |
Global Options
All commands support these options:| Option | Description |
|---|---|
--help | Show help for a command |
--version | Show CLI version |
--debug | Enable debug output |
Configuration
The CLI stores configuration in~/.castari/:
Environment Variables
| Variable | Description |
|---|---|
CASTARI_API_URL | Override API base URL |
CASTARI_API_KEY | Use API key instead of OAuth |