Agent Termination

Domain: Agent Fundamentals

🎯 Motivation

How and when an agent stops: goal achieved, max steps, error, timeout, or human stop command.

πŸ“‹ Concrete Example

Goal achieved: β€˜Task complete, exiting.’ Max steps: β€˜50/50 steps used, stopping.’ Error: β€˜Critical error, cannot continue.’ Timeout: β€˜30-minute limit reached.’ Human: user clicks Stop.

πŸ”— Analogy

A train reaching its final station - it stops because it arrived (goal), ran out of track (max steps), had a breakdown (error), or the operator stopped it (human). Termination conditions are the station stops for agents.