terminateAgent

abstract fun terminateAgent(reason: String)

Request graceful termination of the entire agent process. The agent will terminate at the next natural checkpoint (before next tick).

Parameters

reason

Human-readable explanation for termination

See also

for immediate termination