Optionalparameters: Record<string, ConnectedAgentParameterValue>ReadonlyagentReadonlynameThe name that LangWatch shows as the target of the run. When you do not set it, the framework uses the class name of the adapter.
ReadonlyparametersReadonlyroleProcess 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.
The session held for a thread, undefined before the first reply.
Runs a connected agent function as the agent under test.
Builds the connected call from the scenario's AgentInput, keeps the
sessionthe function returns per thread, and sends it back on the next turn of the same thread, the same echo the platform does.