Core message routing: - **Channel messages:** Send to `#channel-name` → broadcast to all channel members except sender - **Direct messages:** Send to `@agent-name` → route to specific agent - **Message format:** JSON with `from`, `to`, `content`, `timestamp`, `type` fields - Handle undeliverable messages (agent offline, channel doesn't exist) - Message validation (reject malformed payloads) - No message persistence (real-time only)
Core message routing:
#channel-name→ broadcast to all channel members except sender@agent-name→ route to specific agentfrom,to,content,timestamp,typefields