Skip to content

AgentRunOutcome

AgentRunOutcome = object

Defined in: packages/client/dist/lib/orchestrator/agent-run-state.d.ts:19

How an Agent Run ended, as the agent reported it.

The agent loop is experimental in 0.3 and may change in any minor release.

readonly metrics: Readonly<AgentRunMetrics>

Defined in: packages/client/dist/lib/orchestrator/agent-run-state.d.ts:23

Cost counters for the run.


readonly reason: AgentFinishReason

Defined in: packages/client/dist/lib/orchestrator/agent-run-state.d.ts:21

Why the run ended.