{"version":"2.1.75","anchor":"agent-message-queuing-to-running-agents","canonical_anchor":"agent-message-queuing-to-running-agents","heading":"Agent Message Queuing to Running Agents","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.75\/e\/agent-message-queuing-to-running-agents","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.75","markdown":"### Agent Message Queuing to Running Agents\n\n**What**\n\nWhen resuming a running agent via `Agent({resume: id})`, the prompt is now queued for delivery instead of throwing an error. Coordinators can also send messages to running agents via `SendMessage`.\n\n**Details**\n\n- If an agent is already running, calling `Agent({resume: id})` queues the prompt and returns a `queued_to_running` status\n- The agent receives the queued message at its next tool-round boundary\n- `SendMessage({to: \"<name>\", message: \"...\"})` can also queue messages to running local agents\n- A coordinator message is rendered with: \"The coordinator sent a message while you were working: [...] Address this before completing your current task.\"\n\n**Evidence**\n\nAgent message queue system (search for `\"queued_to_running\"`, `\"Message queued for delivery\"`, `\"pendingMessages\"`)"}