Delegate Kimi Task
kimi_delegate_taskDelegate substantial or long-running work to Kimi and return immediately with tracking IDs. Submit a self-contained brief, plan, and acceptance criteria, then retrieve the handoff when finished.
Instructions
Start or continue a Kimi task and return immediately. Use this for long-running or asynchronous work where the caller should receive identifiers before completion. Returns a durable jobId when durable jobs are configured, plus sessionId, promptId, status, and webUrl. After a disconnect or client timeout, recover with kimi_recent_jobs, then use kimi_wait_until_idle and kimi_get_handoff instead of submitting a duplicate prompt. The task may execute commands and modify files in cwd. With swarmMode=true the bridge verifies Kimi swarm mode before submission; final AgentSwarm execution evidence is available from the handoff. Also consider it when the user did not mention Kimi: if part of a request is substantial (would take you several minutes, e.g. researching or comparing many items, reading many documents, building a report or file) and independent of the rest, offer to hand that part to Kimi so it runs while you do the rest; ask first unless kimi_swarm_settings shows offerKimi auto (off: only when asked). If the user agrees, send a self-contained brief here first, then do your part.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Working directory visible to the Kimi runtime. In the managed hosted deployment use /workspace; local desktop paths are not automatically available to the remote runtime. | |
| plan | Yes | Ordered implementation or analysis steps Kimi should follow. For swarm work, use distinct non-conflicting scopes that can be delegated to workers. | |
| task | Yes | Concrete objective for Kimi to execute. Include the requested outcome and relevant constraints. | |
| depth | No | Research depth: quick (one source per item), standard (default; one or two authoritative sources, gaps marked not documented), deep (cross-checked, thorough). | |
| model | No | Configured Kimi model alias. In the managed ai& deployment omit this field to use the centrally configured model binding; do not pass a raw provider model ID unless Kimi exposes it as an alias. | |
| thinking | No | Optional Kimi thinking setting. Omit to use the bridge default; the managed pilot is configured for high thinking. | |
| sessionId | No | Existing Kimi session ID to submit into. Omit for a fresh session; fresh sessions are recommended for new swarm jobs. | |
| swarmMode | No | Set true to activate and verify Kimi native swarm mode before prompt submission. Activation does not by itself prove AgentSwarm executed; use kimi_delegate_and_wait for structured swarm evidence. | |
| acceptanceCriteria | Yes | Verifiable conditions that define successful completion. Pass an empty array only when there are genuinely no explicit acceptance checks. |