ReadonlyturnsReadonlystopReadonlyturnsOptional ReadonlytotalAggregated token usage across all turns (sum of per-turn inputs/outputs).
Optional ReadonlytotalReadonlyproviderProvider-id stamp from the underlying IModelAdapter — operators
read this when comparing eval results across providers, since
tool-use fidelity is provider-dependent.
ReadonlymodelModel-id stamp from the underlying IModelAdapter.
ReadonlyadapterStrategy used to drive the loop. native:<providerId> when the
underlying adapter is a known provider whose tool-use API is being
threaded through; wrapper for unknown providers / custom adapters
where the loop relies only on the IModelAdapter contract surface.
Eval harnesses record this so cross-provider runs are auditable.
ReadonlyfinalThe model's final assistant content (the response after the last
tool result, when the model emits no further tool call). Empty
string when the loop ended on turn-budget or cancelled.
Final result of a successful
runAgentcall.stopReason: 'agent-stopped' | 'turn-budget' | 'tool-error' | 'cancelled'is reported via the result, NOT viaResult.err— partial-progress runs are gradable, and the harness inspectsturnsto decide.