onBeforeAgentStarted

Deprecated

Use onAgentStarting instead

Replace with

import ai.koog.agents.core.feature.handler.AgentStartingContext
onAgentStarting(handler)

Append handler called when an agent is started.