completed/failed/canceled), or comes to rest awaiting input (task-complete/idle/sleeping with nothing queued). Returns a one-line outcome plus the agent’s full status — check its phase.
Equivalent to murmur wait in the CLI.
A resting agent cannot move again without input: a sleeping agent never completes on its own. When wait reports the agent at rest, use queue_add to give it work (it wakes automatically) or kill to end it — re-issuing the same wait just returns the same resting status.
Parameters
Response
Returns a one-line outcome (wait ended: …) followed by the agent’s full status as a JSON object. The status format is identical to status.
Examples
Wait until the agent is done or at rest
Waiting on an agent that went to sleep
A child spawned with the defaulton_idle: sleep parks its VM after the idle timeout and never self-terminates. Wait returns the resting status instead of blocking forever:
Wait for a specific phase, bounded
wait ended: timeout after 600s — agent has not reached its stop condition yet plus the latest status, rather than an error.
Wait on an agent in another workspace
Errors
Related
murmur wait— equivalent CLI commandstatus— check agent state without blockingspawn— create an agentls— list running agentsqueue_add— send follow-up after wait completes