Home > intention-kernel/testing > createAgentEvaluationAdapter
createAgentEvaluationAdapter() function
Adapt a compiled agent to the shared evaluation runner.
Signature:
typescript
export declare function createAgentEvaluationAdapter(options: AgentEvaluationAdapterOptions): EvaluationAdapter;Parameters
Parameter | Type | Description |
|---|---|---|
options |
Returns:
An adapter usable with runEvaluation, with optional durable resume.
Remarks
Inputs are { text, selection? }. A selection uses exactly one of optionIndex (zero-based), optionLabel or optionId from the preceding interaction. Labels must match exactly one published choice; ambiguity is an error, never an arbitrary first-option fallback. Observations include the full committed result and correlated kernel events. Host context and credentials are not accepted in imported scenario input.