# AgentInputMessage
Source: https://docs.maelstrom-ai.co/0.2/reference/protocol/interfaces/agentinputmessage/
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/envelope.ts:139

A `client.agent.input` frame: carries one [AgentInput](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/agentinput/) from a client to the Agent Session of `sessionId`. The inner input keeps its own `type` discriminator, which cannot collide with transport frame types.

## Properties

### id

> **id**: [`MessageId`](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/messageid/)

Defined in: packages/protocol/src/lib/envelope.ts:146

Identifies this frame on the transport. Agent correlation uses the inner `inputId` and `changeId` fields.

* * *

### input

> **input**: [`AgentInput`](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/agentinput/)

Defined in: packages/protocol/src/lib/envelope.ts:150

The agent input carried by this frame.

* * *

### sessionId

> **sessionId**: [`SessionId`](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/sessionid/)

Defined in: packages/protocol/src/lib/envelope.ts:148

Session whose Agent Session receives the input.

* * *

### type

> **type**: `"client.agent.input"`

Defined in: packages/protocol/src/lib/envelope.ts:141

Frame discriminator.
