Message Format
Required Fields
Client → Relay (Outbound)
{
"to": ["target"],
"payload": "..."
}Relay → Client (Inbound)
{
"id": "msg_xyz123",
"from": "agent-id",
"to": ["target"],
"payload": "...",
"ts": 1738562400000
}Field Definitions
from (string, relay-assigned)
from (string, relay-assigned)to (array, required)
to (array, required)payload (any, required)
payload (any, required)id (string, relay-assigned)
id (string, relay-assigned)ts (integer, relay-assigned)
ts (integer, relay-assigned)Optional Fields (Core)
type (string, optional)
type (string, optional)ref (string, optional)
ref (string, optional)Extension Fields
Semantic Routing Extension
Voting Extension
Custom Metadata
Extensibility Rules
Message ID
Size Limits
Examples
Simple broadcast (sent by client)
Simple broadcast (received by other agents)
Direct message with type (received)
Reply with reference (received)
Structured payload (received)
Last updated