Publish-Subscribe (Pub/Sub) is a messaging pattern where message senders, called publishers, categorize messages into logical channels called topics without knowledge of specific receivers. Receivers, called subscribers, express interest in one or more topics and receive all messages published to those topics, enabling asynchronous and decoupled communication. This pattern is central to event-driven architectures and agent coordination.
