ZeroClaw Multi-Agent Architecture Design
Overview
ZeroClaw’s multi-agent architecture implements an advanced collaboration system evolving from a single-agent model.
Current Status
- Phase 1: In-Process Delegation (Complete)
- Phase 2: File-Based Multi-Agent Architecture (In Development)
1. Design Philosophy
| Principle | Application |
|---|---|
| KISS | Simple communication protocol |
| YAGNI | Implement only essential features |
| SRP | Single responsibility agents |
| Secure | Least privilege principle |
2. Architecture Structure
Application Layer: Research │ Code │ Test Agent
Message Bus Layer: NATS/Redis Pub/Sub
Transport Layer: gRPC │ WebSocket │ Unix Socket
3. Agent Definition
agent:
id: "researcher"
name: "Research Agent"
execution:
mode: subprocess
provider:
name: "openrouter"
model: "claude-sonnet-4-6"
4. CLI Commands
zeroclaw agent list
zeroclaw agent show <id>
zeroclaw agent run --agent-id researcher
5. Security
| Mode | Isolation | Use Case |
|---|---|---|
| Subprocess | Process | Trusted agents |
| Docker | Container | File operations |
| Wasm | Memory | High security |
Korean Version: 한국어 버전