Implement hard turn limits (max iterations/steps), wall-clock timeouts, and explicit stop conditions within the agent's harness to force termination, preventing endless resource consumption and ensuring progress.
Open the full topic