CLICommands
agent
snug agent <COMMAND>Agent registry (create, list, resolve, update, delete agents).
Subcommands
| Command | What it does |
|---|---|
create | Create a new agent (from config directory or individual flags) |
get | Get agent details by ID |
resolve | Resolve agent by key |
batch-resolve | Resolve multiple agent keys in a single request |
list | List your agents |
update | Update an agent |
delete | Delete an agent |
Run snug agent <command> --help for that command's own options.
The global options apply everywhere.
Examples
snug agent create --config-dir ./agents/morning-agent/
snug agent create --config-dir ./agents/support/ --visibility organization --org-id <org>
snug agent create --key my-bot --name "My Bot" --prompt "You help." --toml 'key = "my-bot"'
snug agent resolve --key morning-agent
snug agent batch-resolve --key morning-agent --key support-agent
snug agent get --agent-id <id>
snug agent get --agent-id <id> --summary
snug agent list
snug agent list --status active --page-size 10
snug agent list --visibility organization --query support
snug agent update --agent-id <id> --name "Updated" --status disabled
snug agent update --agent-id <id> --config-dir ./agents/morning-agent/
snug agent delete --agent-id <id>Next
- agent guide - what the service does and when to reach for it.
- API reference - every endpoint these commands call.
- CLI reference - global options, output modes, and exit codes.