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

Observation Hooks Hooks & Lifecycle
Supported
Partial
No
Unknown
Claude Code Current · Jun 2026
Cline CLI Current · Jun 2026
Codex CLI Current · Jun 2026
GitHub Copilot CLI Current · Jun 2026
Cursor Current · Jun 2026
2.1.140 - 2.1.197
3.0.0 - 3.0.34
0.131.0 - 0.142.4
1.0.46 - 1.0.66
3.7 - 3.9
2.1.73 - 2.1.139
0.114.0 - 0.130.0
1.0.4 - 1.0.45
3.0 - 3.2
2.1.30 - 2.1.72
0.95.0 - 0.113.0
0.0.401 - 1.0.3
2.5
2.1.16 - 2.1.29
0.89.0 - 0.94.0
0.0.389 - 0.0.400
2.4
1.0.38 - 2.1.15
0.2.0 - 0.88.0
0.0.374 - 0.0.388
1.2 - 2.0
0.2.31 - 1.0.37
0.45 - 1.0

Supported by all 5 agents.

HoverTap any cell for version details.

Agent event mapping

  • claude-code Stop, StopFailure
  • cline TaskComplete, TaskCancel
  • codex-cli Stop
  • cursor stop

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
  • Cline: TaskComplete on success, TaskCancel when user stops a running task