handleBeforeAgentStarted

Handles the logic to be executed before an agent starts.

Parameters

context

The context containing necessary information about the agent, strategy, and feature to be processed before the agent starts.