AgentStartingHandler

Functional interface to define a handler that is invoked before an agent starts. This handler allows custom pre-start logic to be executed with access to the provided agent start context.

Functions

Link copied to clipboard
abstract suspend fun handle(context: AgentStartingContext)

Handles operations to be performed before an agent is started. Provides access to the context containing information about the agent's strategy, feature, and related configurations.