AgentEvent

sealed interface AgentEvent

Known direct subclasses
AgentEvent.FunctionCall

Emitted immediately before a function is invoked by the runner.

AgentEvent.FunctionResponse

Emitted immediately after a function invocation completes.

AgentEvent.TextMessage

The text message generated by the agent for the user.


Events emitted by the Agent during an execution session.

Summary

Nested types

Emitted immediately before a function is invoked by the runner.

Emitted immediately after a function invocation completes.

The text message generated by the agent for the user.