beforeAgentStartedHandler

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.

The handler is triggered with the context of the agent start process. It is intended to allow for feature-specific setup or preparation.