ZeroClaw Multi-Agent Communication Protocol Design
Written on February 26, 2026
Overview
This is a communication protocol design for ZeroClaw’s multi-agent system.
1. Design Goals
- Standardized Message Format - Consistent envelope-based messaging
- Flexible Routing - Direct, broadcast, Pub/Sub patterns
- Sync + Async - Support for blocking and non-blocking communication
- Event-driven Coordination - React to system events
- State Sharing - Safe shared memory and distributed state
2. Message Types (12)
Task, TaskResult, Query, QueryResponse, Stream, Event, Heartbeat, Ack, Error, Control, Sync, SyncResponse
3. Communication Patterns
- Direct (1:1)
- Broadcast (1:N)
- Request-Response
- Pub/Sub
- Streaming
4. Implementation Roadmap
| Phase | Content |
|---|---|
| 1 | Core messaging layer |
| 2 | State store |
| 3 | DelegateTool integration |
| 4 | Pub/Sub and streaming |
| 5 | Distributed environment support |
This document was written through collaboration of the ZeroClaw development team.
Korean Version: 한국어 버전