Multi-Agent Networking
August 16, 2026 ยท View on GitHub
Connect and collaborate between agents with automatic reliability and recovery.
Core Concepts
- host.md - Make agents network-accessible with
host() - http-routes.md - Publish public, contacts, and admin HTTP resources
- connect.md - Connect to remote agents with
connect() - remote-call.md - Run a remote agent's tools directly with
remote.call(), gated by the host.yaml whitelist - io.md - Stream events and communicate with clients
- session-reconnect.md - WebSocket reconnection and session recovery
- dashboard.md - Understand and customize your agent's Control Center
Key Features
๐ Automatic Connection Recovery
- WebSocket failures automatically fall back to HTTP polling
- Page refresh doesn't lose your work
- Results recoverable for 24 hours
๐ Built-in Keep-Alive
- Server sends PING every 30 seconds
- Client automatically responds with PONG
- Dead connections detected within 60 seconds
โฑ๏ธ Extended Timeout
- Default 10-minute timeout for long-running tasks
- Configurable per request
- Works even if agent takes hours (via polling)
๐ฆ Session Persistence
- Results stored server-side for 24 hours
- Session ID automatically managed
- localStorage (browser) survives page refreshes
Protocol Specifications
- protocol/agent-relay-protocol.md - Agent relay protocol spec
- protocol/announce-message.md - Service announcement protocol