Abstract
Base class for creating AI agents with standardized input/output handling, tool management, and model integration.
The type of input the agent accepts
The type of output the agent produces
Runs the agent with the given input and returns the output.
The input (user prompt) to process
Promise resolving to the processed output
If input validation fails or processing errors occur
Base class for creating AI agents with standardized input/output handling, tool management, and model integration.