murmur wait in the CLI.
When phase is omitted, waits until the agent reaches any phase that needs attention (e.g. task-complete, idle, failed). When phase is specified, waits for that exact phase.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | yes | Agent task slug to wait on. Use an absolute path like /w/workspace/u/account/slug to target an agent outside your own path. |
phase | string | no | Phase to wait for (e.g. task-complete, running, idle). Defaults to any phase needing attention. |
workspace | string | no | Workspace name. Overrides the session default. |
Response
Returns the agent’s full status as a JSON object when the target phase is reached. The response format is identical tostatus.
| Field | Type | Description |
|---|---|---|
agentId | object | The agent’s identity — tenant, account, workspace, slug path. |
phase | string | Current lifecycle phase (e.g. PHASE_TASK_COMPLETE). |
vm | object | VM instance name, project, zone. |
vmStopped | boolean | true when the VM is stopped (sleeping). |
version | string | The murmur version running on the VM. |
progress | object | Latest progress update — label, detail, timestamp. |
output | object | Agent output — response text, prs array, commits count, cost in USD. |
Examples
Wait for any phase needing attention
Wait for a specific phase
Wait on an agent in another workspace
Errors
| Code | Meaning | What to do |
|---|---|---|
NOT_FOUND | No agent with that slug exists. | Check the slug. Use ls to see running agents. |
INVALID_ARGUMENT | Unknown phase value. | Check the phase string. Valid values: task-complete, running, idle, failed. |
UNAUTHENTICATED | Identity token is missing or expired. | Check credentials. |
Related
murmur wait— equivalent CLI commandstatus— check agent state without blockingspawn— create an agentls— list running agentsqueue_add— send follow-up after wait completes