Installation & Setup
1. Install the plugin
bash
composer require klick/agents:^0.21.11
php craft plugin/install agents2. Run migrations (if needed)
bash
php craft upThis creates plugin tables for:
- managed accounts
- internal control policies
- approvals
- execution ledger
- audit log
- webhook test sink captures (dev-only)
3. Open the Control Panel
Primary route:
admin/agents/status
Navigation entry points:
- Sidebar:
Agents - Plugin settings page (
admin/settings/plugins) redirects toStatus
4. Validate key endpoints
API:
GET /agents/v1/healthGET /agents/v1/schemaGET /agents/v1/capabilitiesGET /agents/v1/auth/whoami(requires token +auth:read)GET /capabilities(alias to/agents/v1/capabilities)GET /openapi.json(alias to/agents/v1/openapi.json)
5. Configure auth before production
By default, API token auth is required.
Set at least one credential source:
PLUGIN_AGENTS_API_TOKENPLUGIN_AGENTS_API_CREDENTIALS- Managed key from CP
Agents -> Accounts