Skip to content

Peer-to-Peer (A2A) ​

Configured abTARS instances can communicate through an authenticated peer connection. The Agent API listens on port 7100 by default.

Choose the interaction ​

NeedToolBehavior
Discussion or follow-up questionspeer_sessionCardless conversation without tools or side effects
Durable delegated workpeer_ask_helpThe receiving instance can accept or decline, then return a terminal result

Both tools require a configured peer connection. For the persistent WebSocket route, one configured side initiates the connection; disconnected peers are not discovered automatically.

Authentication and transport ​

Peer requests use Ed25519 signatures, and the Agent API uses TLS. Each configured peer entry includes its address and public verification key. Keep each instance's private identity material on that instance.

Configuration ​

Configure each peer in the local abTARS settings. The peer entry uses:

FieldPurpose
peer nameName chosen for this entry in the local peer configuration
hostPeer address reachable from this instance
portPeer Agent API port; defaults to 7100
verifyKeyPeer's public key used to verify its identity and signed requests
trustLocal access level for the peer
maxClassOptional ceiling for memory classes shared with that peer

Configure the other instance with the corresponding public verification key and a reachable address. Use a private network or firewall rules that expose only the connections you intend to allow.

See Secure Peer Connections for connection checks.