Class AgentCommunicationBus

Implementation of the Agent Communication Bus.

Features:

  • Point-to-point messaging between agents
  • Broadcast to agencies
  • Request-response pattern
  • Topic-based pub/sub
  • Task handoff protocol
  • Message persistence and history
  • Delivery tracking and retries

Implements

Implements

Constructors

Methods

  • Retries delivery of a failed message. The retry is counted on the message's status before the re-send, the status the re-send stores keeps the count, and once routingConfig.maxRetries retries have been made this throws without sending.

    Parameters

    • messageId: string

    Returns Promise<DeliveryStatus>