onAgentStarting

expect open suspend override fun <TInput, TOutput> onAgentStarting(eventId: String, executionInfo: AgentExecutionInfo, agent: AIAgent<*, *>, context: AIAgentContext, runId: String)(source)

Notifies all registered handlers that an agent has started execution.

Parameters

eventId

The unique identifier for the event group;

executionInfo

The execution information for the agent environment transformation event;

agent

The agent instance for which the execution has started;

context

The context of the agent execution, providing access to the agent environment and context features;

runId

The unique identifier for the agent run.