Communication Protocols (Message Buses)
Decouple agents with a message bus (Redis, NATS, Kafka) so they can scale and fail independently.
Beyond In-Process Conversations
For small systems, agents call each other in-process. For larger systems, decouple them via a message bus — Redis, NATS, or Kafka.
Why Decouple?
- Agents can scale independently
- Failures isolated per agent
- Async workflows (no need to wait for slow agents inline)
- Replay messages for debugging
- Cross-language: a Python agent and a Go agent can both subscribe
All lessons in this course
- Conversation-Based Multi-Agent (AutoGen)
- Hierarchical Supervisors (Orchestrator + Workers)
- Agent Roles and Specialisations
- Communication Protocols (Message Buses)