# AgentRunFinished
Source: https://docs.maelstrom-ai.co/dev/reference/react/type-aliases/agentrunfinished/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

> **AgentRunFinished** = [`AgentRunBase`](https://docs.maelstrom-ai.co/dev/reference/react/type-aliases/agentrunbase/) &amp; [`AgentRunAccepted`](https://docs.maelstrom-ai.co/dev/reference/react/type-aliases/agentrunaccepted/) &amp; `object`

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

The Agent Run ended as intended. Its UI changes may still be applying, and a failed loop-driven UI change can still arrive in `changeErrors`.

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

> [!WARNING]
> Experimental
> 
> This API should not be used in production and may be trimmed from a public release.

## Type Declaration

### outcome

> `readonly` **outcome**: [`AgentRunOutcome`](https://docs.maelstrom-ai.co/dev/reference/react/type-aliases/agentrunoutcome/)

How the run ended.

### status

> `readonly` **status**: `"finished"`

Discriminant, always `'finished'`.
