Mew. Work. Docs

Built-in tools›Agent orchestration

Subagent

agent_spawn
Group
Agent orchestration
Turned on by
Its own switch on the Tools page of Conversation settings.
Approval
Reviewed: writes and open-ended actions ask for approval unless the security level or an earlier “Always allow” covers them.
Profile key
tool.agent_spawn.description

Starts a subagent: a separate model run that works on one task in the background and reports back to this conversation.

By default the subagent sees only the task the model writes, not this conversation. Its result comes back through task_wait or as a message from Mewrk; on a model with Asynchronous tool calls, as this call's own output. See Subagents and workflows.

Once started, a subagent gets nothing more from the model, unless Subagent communication is on (Conversation settings → Advanced tools, off by default). Then the model can message the subagent by its name with send_message, and the subagent can send the main agent short progress notes with subagent_update. A new agent_spawn always starts a fresh subagent with no memory of earlier ones.

When it asks you

Under Manual, each new subagent asks first; the card offers Always allow.

Limits

  • Up to 16 subagents run at once in a conversation. Starting a seventeenth is never refused: it waits, in the order subagents were started, and begins as soon as a running one ends, whether or not its result was collected. Workflow runs and background commands don't count.
  • The result is the subagent's final reply, cut at 64 KiB.

Good to know

  • A subagent has the conversation's tools except agent_spawn, workflow, ask_user, fork, send_message and the plan and handoff tools. Its background commands report to it, and any still running when it gives its final reply are stopped.
  • Stopping the turn does not stop a subagent. Stop it from its row in the Tasks pane (More options → Tasks); the model can stop it with task_stop.

Parameters

ParameterTypeDetails
name required
Name
stringAddress for task_wait, send_message. Unique across this conversation (workflow runs included); a used name is rejected.
prompt required
Prompt
stringChild agents do not see this conversation by default; include all required context in the task.
agent_type
Named agent type
stringRoles unreadable, none listed; the name is checked at spawn.
context
Context
string'conversation': filtered copy of this history.
"none" "conversation"
Default "none"
label
Display name
stringShort name shown in the timeline.
schema
Output schema
objectObject JSON Schema for the result (submitted via structured_output). Keywords: type, properties, required, items, enum, const, additionalProperties, minItems/maxItems, minLength/maxLength, minimum/maximum, annotations; others rejected.