Skip to content

AgentRunFailed

AgentRunFailed = AgentRunBase & AgentRunAccepted | AgentRunNotAccepted & object

Defined in: packages/client/src/lib/orchestrator/agent-run-state.ts:203

The agent rejected the input or its Agent Run ended without reaching its goal. A rejected input was never accepted.

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

readonly error: AgentRunError

Why the input or run failed.

readonly outcome: AgentRunOutcome | null

How the run ended, when the agent reported a run ending. null when the agent rejected the input.

readonly status: "failed"

Discriminant, always 'failed'.