> 来源：https://docs.gumloop.com/core-concepts/agents.md（节选）
> 抓取日期：2026-09-04
> 关联 Spec：spec_subagents.md v1.2 — v10.26.0 Subagents Run in the Background（后台执行与交互监督）

---

## Subagents

Subagents let your agent delegate to other agents. Instead of doing everything in one conversation, it can spin up focused helpers that work in parallel, then collect the results and continue.

<div className="rounded-2xl overflow-hidden border border-pink-200 dark:border-pink-800">
  <iframe src="https://player.vimeo.com/video/1189083032?h=d2642f4b8e&badge=0&autopause=0&player_id=0&app_id=58479" style={{ width: '100%', aspectRatio: '16/9' }} frameBorder="0" allow="autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share" referrerPolicy="strict-origin-when-cross-origin" title="Subagents" allowFullScreen />
</div>

There are two ways an agent delegates, both through the **invoke\_agent** tool:

<Tabs>
  <Tab title="Self-cloning">
    The agent clones itself, keeping the same tools and instructions. Useful for parallel work: spawn several clones, each handling a different subtask. The clone shows up as **"(Me)"** in the list and is enabled by default. Clones cannot clone themselves again (depth limit of 1), and you can scope a clone to a subset of apps.
  </Tab>

  <Tab title="Invoking other agents">
    The agent calls a different, specialized agent by name. Add agents to the **Subagents** list to allow this. Cross-agent chains are not depth-limited, so a coordinator can delegate to a chain of purpose-built agents.
  </Tab>
</Tabs>

Each subagent runs as its own conversation with its own context and sandbox, visible in your chat history. How many can run at once depends on your subscription tier.

Behind the scenes, subagents run as queued background tasks with their own time budget (about half the parent's). For batch invocations a shared progress board tracks each one, and the parent can hand specific files to a subagent before it starts. The parent reads each subagent's results when it finishes.

***



<!-- 相关 UX 先例：同页 Message queue and steering -->

