ck_delegate
Transfers governance context to another AI agent for task or session delegation, with modes for auto, embedded, handoff, or runtime execution.
Instructions
Hand off a governed task or session to another AI agent, transferring governance context (findings, budget, proofs) to the target. Mutates session state to reflect the delegation. Four modes: auto (ControlKeel picks the best agent), embedded (inline sub-agent), handoff (transfer session ownership), runtime (delegate to a pre-configured runtime agent). agent is the target agent ID (e.g., claude, opencode, cursor). Call ck_route first to identify the best agent, then ck_delegate to transfer. Prefer ck_route when you only need a recommendation without transferring; prefer ck_delegate when you are ready to hand off execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Target agent identifier for delegation (e.g., claude, opencode). | |
| mode | No | Operation mode that determines the tool behavior and return shape. | |
| project_root | No | ||
| session_id | No | Unique session identifier for correlating findings, proofs, budget, and audit trail. | |
| task_id | No | Task identifier within the session for scoped operations. |