Agent support · Hooks & Lifecycle

Subagent lifecycle

Hooks for when subagents are spawned and when they complete — observe delegation, aggregate results, enforce policies

Baseline Limited availability Partial in OpenCode. Based on web.dev's Baseline
Lifecycle Hooks Hooks & Lifecycle
Supported
Partial
No
Unknown
Not released
Claude Code Current · Oct 2026
Codex Current · Oct 2026
GitHub Copilot Current · Oct 2026
Cursor Current · Oct 2026
OpenCode Current · Oct 2026
2.0.43 - 2.1.311
0.133.0 - 0.164.0
1.0.7 - 1.0.103
2.4 - 3.27
0.3.114 - 1.19.4
1.0.41 - 2.0.42
0.2.0 - 0.132.0
0.0.401 - 1.0.6
0.45 - 2.0
0.1.30 - 0.3.102
0.2.31 - 1.0.40
—
0.0.374 - 0.0.400
—
—

Supported by all 5 agents.

HoverTap any cell for version details.

Agent event mapping

  • claude-code SubagentStart, SubagentStop, TeammateIdle
  • codex SubagentStart, SubagentStop
  • copilot subagentStart, subagentStop
  • cursor subagentStart, subagentStop
  • opencode session.created (child sessions)

Sub-capabilities

  • Subagent start: observe or veto when a parent agent delegates to a child
  • Subagent stop: receive results, enforce quality gates on delegated work
  • Claude Code: also has TeammateIdle for multi-agent workflows
  • Cursor: subagentStart is blocking (can veto); subagentStop includes summary, duration, modified_files