Agent support · Hooks & Lifecycle

Agent complete (stop)

Hook that fires when the agent finishes a turn — implement quality gates, force continuation, or trigger follow-up workflows

Baseline Limited availability Partial in OpenCode. Based on web.dev's Baseline
Observation 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
1.0.38 - 2.1.311
0.114.0 - 0.164.0
0.0.401 - 1.0.103
2.4 - 3.27
0.3.114 - 1.19.4
0.2.31 - 1.0.37
0.2.0 - 0.113.0
0.0.374 - 0.0.400
0.45 - 2.0
0.1.148 - 0.3.102
—
—
—
—
0.1.30 - 0.1.146

Supported by all 5 agents.

HoverTap any cell for version details.

Agent event mapping

  • claude-code Stop, StopFailure
  • codex Stop
  • copilot agentStop
  • cursor stop
  • opencode session.idle

Sub-capabilities

  • Force the agent to keep working by returning a continuation signal
  • Implement quality checks before accepting the agent's work
  • Claude Code: StopFailure fires on API errors
  • Cursor: followup_message for auto-continue with configurable loop_limit