Multi-Agent Communication
Keep-Alive Mode
Enable keep-alive to keep the session alive for peer messaging:
- Requires
--keep-aliveflag orkeep_alive: truein session build options - Must specify a
comms_namefor peer identification
Message Patterns
Fire-and-forget
Use comms_send for one-way messages that don't need a response.
Request/Response
Use comms_request to send and wait for a response.
Use comms_response to reply to incoming requests.
Peer Discovery
- Use
comms_peersto see connected peers - Peers must be in the trust configuration to communicate
Transport Selection
- UDS (Unix Domain Socket): Same machine, lowest latency
- TCP: Cross-machine communication
- inproc: In-process, for peers in the same runtime
Converted and distributed by TomeVault — claim your Tome and manage your conversions.