Abstract
Abstract
callProcess the input and generate a response.
This is the main method that your agent implementation must provide. It receives structured information about the current conversation state and must return a response in one of the supported formats.
AgentInput containing conversation history, thread context, and scenario state.
The agent's response.
Abstract base class for integrating custom agents with the Scenario framework.
This adapter pattern allows you to wrap any existing agent implementation (LLM calls, agent frameworks, or complex multi-step systems) to work with the Scenario testing framework. The adapter receives structured input about the conversation state and returns responses in a standardized format.
Example