# AgentMessageEvent
Source: https://docs.maelstrom-ai.co/0.2/reference/protocol/interfaces/agentmessageevent/
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.

Defined in: packages/protocol/src/lib/agent-wire.ts:260

A streamed fragment of the loop model’s text.

## Properties

### delta

> **delta**: `string`

Defined in: packages/protocol/src/lib/agent-wire.ts:270

Next fragment of text.

* * *

### runId

> **runId**: [`RunId`](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/runid/)

Defined in: packages/protocol/src/lib/agent-wire.ts:266

The Agent Run producing the text.

* * *

### turnId

> **turnId**: `string`

Defined in: packages/protocol/src/lib/agent-wire.ts:268

The model turn this fragment belongs to.

* * *

### type

> **type**: `"message"`

Defined in: packages/protocol/src/lib/agent-wire.ts:262

Member discriminator.

* * *

### version

> **version**: `1`

Defined in: packages/protocol/src/lib/agent-wire.ts:264

Agent wire version, always [AGENT\_WIRE\_VERSION](https://docs.maelstrom-ai.co/0.2/reference/protocol/variables/agent_wire_version/).
