subagent_spawning
Whether agents can spawn, delegate to, or resume other agents. Enables multi-agent coordination patterns.
Type: bool Content type: agents
Provider Support
Section titled “Provider Support”| Provider | Supported | Mechanism |
|---|---|---|
| claude-code | ✓ | main-thread agents spawn subagents via Agent tool; subagents cannot spawn further subagents; Agent(type) in tools allowlist restricts which subagent types are allowed |
| codex | ✓ | multi-agent V2 feature flag; max_threads controls concurrent agent count, max_depth controls nesting depth; spawn-agent tool initiates delegation |
| copilot-cli | ✓ | agents run as subagents with isolated context windows; Git-SHA-based versioning ensures consistency across PR interactions |
| factory-droid | ✓ | droids exposed as subagent_type targets for Task tool delegation; /import-subagent converts Claude Code .claude/agents/*.md to droid format |
| opencode | ✓ | Agents with mode: subagent (or mode: all) can be invoked from other agents; delegation is driven by the callee's description field. |
| crush | ✗ | not documented |
| cursor | ✗ | Cursor custom agent files do not document spawning additional subagents from a user-defined agent; the three built-in subagents (Explore, Bash, Browser) are harness-provided, not file-overridable. |
| kiro | ✗ | no subagent spawning mechanism documented for Kiro custom agents |
| roo-code | ✗ | Custom modes are switched-to by the user rather than spawned as subagents; Roo Code's orchestrator mode delegates to other modes at runtime but mode files themselves do not spawn peers |
| windsurf | ✗ | not documented |
| zed | ✗ | not documented |