AgentHandler
Feature implementation for agent and strategy interception.
Parameters
The type of feature
Properties
A handler that is triggered before an agent is closed.
Defines a handler invoked when an agent execution is completed. This handler processes the outcome of the agent's operation, allowing for custom behavior upon completion.
A handler invoked when an error occurs during an agent's execution. This handler allows custom logic to be executed in response to execution errors.
A handler invoked before an agent is started. This can be used to perform custom logic such as initialization or validation before the agent begins execution.
Configurable transformer used to manipulate or modify an instance of AgentEnvironment. Allows customization of the environment during agent creation or updates by applying the provided transformation logic.
Functions
Handles the logic to be executed before an agent starts.
Handles preliminary processes required before an agent is started, using an unsafe context cast.
Transforms the provided AgentEnvironment using the configured environment transformer.