Skip to main content

Module a2a

Module a2a 

Source
Expand description

Agent-to-agent IPC protocol.

The A2ARouter provides direct PID-to-PID messaging with capability-checked routing, per-agent inboxes, and request-response patterns with timeout support. It integrates with the TopicRouter for pub/sub delivery.

§Message Flow

Agent A (PID 1)       A2ARouter          Agent B (PID 7)
     |                    |                    |
     |-- send(msg) ------>|                    |
     |                    |-- check_scope ---->|
     |                    |<-- Ok -------------|
     |                    |-- inbox.send(7) -->|
     |                    |                    |-- recv msg

Structs§

A2ARouter
Agent-to-agent message router.