run
Executes the agent's main functionality, coordinating with various components such as pipelines and strategies. Ensures the agent is run in a thread-safe manner using locking mechanisms.
Return
The output generated by the agent's execution, produced as a result of applying the strategy to the provided input.
Parameters
agentInput
The input required to execute the agent's strategy. This includes any data necessary for processing.
Throws
if the agent was already started.
if any exception occurs during the execution process.