Agentex Output
Use theagentex_output task type to generate outputs from an external Agentex agent for each item in your evaluation.
Example Usage
The following illustrates a complete example in which an Agentex agent is used to generate responses for each evaluation item.For Azure workspace deployments, use the
/api path suffix in the base URL:Output Structure
The task produces the following output for each evaluation item: Successful response: Wheninclude_traces=True, the optional trace field contains the agent’s execution spans. In this example, no spans were captured.
Combining with Other Tasks
Evaluation tasks run according to their item-data dependencies. A judge that referencesitem.agent_response.output waits for the agent_response task; independent tasks can run concurrently. Reference the generated output column in each downstream task to establish the dependency, as in the judge prompt below.