execute
Executes the AI agent's strategy using the provided context and input.
This method processes the given input data within the specified context, leveraging the AI agent's internal logic and strategy to produce an output. The concrete decision-making, stateful operations, and any execution-pipeline specifics are fully determined by the implementing strategy.
Return
The output produced by the AI agent's strategy, or null if no output is generated. The output type is defined by the strategy's implementation.
Parameters
The execution context in which the AI agent operates. It provides access to the agent's configuration, pipeline, environment, and other components required for execution in a graph-based structure.
The input data to be processed by the AI agent's strategy. The type of input is defined by the strategy's implementation and is used to derive the resulting output.