Skip to content

Subagents

For a long, self-contained job, such as comparing two large tables or reading many files, the agent can start a Subagent. A Subagent is a child agent that works on one task in a context of its own and hands back a final report. The steps in between stay with the Subagent, so a long investigation doesn’t fill your Conversation, and the agent carries on with just the conclusion.

You don’t ask for a Subagent, and you can’t choose one: the agent decides when a task is worth handing over.

In the Turn, the whole run is one card. Select it to open the Task the agent gave the Subagent and, below it, the Report that came back. While the Subagent works, the card says so and shows a placeholder where the report will be. The Subagent’s own steps aren’t shown.

The Subagent doesn’t see your Conversation. It knows only the task the agent wrote for it.

A Subagent works with exactly what the Turn can reach: the Data Sources, Integrations, Skills and Mounts of the Turn, and what the agent remembers about you. It never gets more, and it acts under your identity and in your Tenant, like the agent does.

  • Anything that needs an Approval. A Subagent uses only tools that need no Approval. A tool that changes something in an Integration, for example, is missing from it. The agent does that step itself, where you can accept, edit or reject it.
  • Save or forget Memory. Because you don’t see a Subagent’s steps, it can’t change what the agent remembers about you. See What the agent remembers.
  • Ask you anything. Nobody answers while it works, so it makes reasonable assumptions and says in its report what it assumed.
  • Start a Subagent of its own. A Subagent works one level deep.

To keep the cost and the load in check, the agent is limited in how many Subagents it uses:

  • At most 6 Subagents in one Turn.
  • At most 3 Subagents at the same time.
  • At most 20 model calls for each Subagent.

When a limit is hit, the agent gets a message that names it instead of a report, and the card shows it as failed, with what the agent got back. A Subagent that reaches its 20 model calls ends without a report. The agent then does the rest itself or tells you what is missing.

Select Stop while a Subagent works, and it ends together with the Turn. The card shows it as cancelled and says there is no report, because the Turn was stopped before the Subagent reported.