# Interface AgentMessage

Message between agents.

interface AgentMessage {
id: string;
from: string;
to: string;
type: AgentMessageType;
payload: unknown;
timestamp: string;
}

- Defined in packages/nexus-agents/src/core/types/agent.ts:150

##### Index

### Properties

id
from
to
type
payload
timestamp

## Properties

### id

id: string

Unique message identifier

- Defined in packages/nexus-agents/src/core/types/agent.ts:152

### from

from: string

Sender agent ID

- Defined in packages/nexus-agents/src/core/types/agent.ts:154

### to

to: string

Recipient agent ID

- Defined in packages/nexus-agents/src/core/types/agent.ts:156

### type

type: AgentMessageType

Message type

- Defined in packages/nexus-agents/src/core/types/agent.ts:158

### payload

payload: unknown

Message payload

- Defined in packages/nexus-agents/src/core/types/agent.ts:160

### timestamp

timestamp: string

Timestamp

- Defined in packages/nexus-agents/src/core/types/agent.ts:162