ck_workspace_agent
Register, update, list, check health, or retire workspace agents with roles like primary, specialized, or ephemeral. Manages budgets, policies, and scope per agent.
Instructions
Manage workspace agent roles: one primary 'super-agent' per workspace maintained by a forward-deployed engineer, specialized agents for specific domains, and ephemeral agents for short-lived tasks. Modes: register (create agent, only one primary per workspace), update (change scope/budget/status), list (all agents for workspace), health (aggregated health indicator), retire (deactivate agent).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Agent identifier. Required for update, health, and retire modes. | |
| agent_type | No | Agent adapter type (e.g., claude-code, cursor, opencode). | |
| budget_cents | No | Budget allocation in cents. | |
| maintainer_id | No | User ID of the human who maintains this agent. | |
| mode | No | Operation mode. Defaults to list. | |
| name | No | Human-readable agent name. | |
| policy_overrides | No | Policy overrides for this agent. | |
| role | No | Agent role. Only one primary per workspace. | |
| scope | No | Scoped capabilities and policies for this agent. | |
| status | No | Agent status. | |
| workspace_id | No | Workspace identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | ||
| agents | No | ||
| health | No | ||
| mode | No | ||
| name | No | ||
| role | No | ||
| status | No |