Skip to main content
Agents can use publish-subscribe messaging to communicate with each other and external systems.

Quick Start

1

Simple Usage

2

With Configuration


User Interaction Flow


Configuration Levels


Use Cases


API Reference

EventEmitterPubSub

PubSub implementation

Best Practices

user.created is clearer than event1.
Subscribers should handle their own errors.
Prevent memory leaks by cleaning up.

Events

Event system

Teams

Multi-agent teams