Skip to main content

Module mailbox

Module mailbox 

Source
Expand description

Off-chain messaging between agents.

Agents communicate only through harness-provided channels, never raw I/O, so the harness stays in a position to observe their interactions. The Mailbox transport carries opaque bytes; the typed layer lives on AgentContext::send/recv, which CXS-encode and decode the payload and hand back a Message.

Structs§

Envelope
A raw message delivered to an agent’s mailbox.
Mailbox
An agent’s inbound queue plus send handles to its peers.
Message
A received message with its CXS payload decoded to T.