onBeforeAgentStarted

suspend fun onBeforeAgentStarted(runId: String, agent: AIAgent<*, *>, strategy: AIAgentStrategy<*, *>, context: AIAgentContextBase)(source)

Notifies all registered handlers that an agent has started execution.

Parameters

runId

The unique identifier for the agent run

agent

The agent instance for which the execution has started

strategy

The strategy being executed by the agent