> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Outbound Messenger Protocol • AI Agent SDK

> OutboundMessengerProtocol: Protocol for agent-facing proactive message delivery.

# OutboundMessengerProtocol

> Defined in the [**protocols**](../modules/protocols) module.

<Badge color="blue">AI Agent</Badge>

Protocol for agent-facing proactive message delivery.

A concrete implementation is provided by the running gateway/bot (in the
praisonai wrapper) and registered into the per-turn context so the
built-in `send_message` tool can resolve it. It bridges to the existing
delivery stack (DeliveryRouter, HomeChannelRegistry, outbox, mirroring).

Example usage (implementation in praisonai\_bot.gateway)::

messenger = BotOutboundMessenger(bot, resolver, router)
token = register\_outbound\_messenger(messenger)
try:
...  # agent runs; send\_message tool resolves the messenger
finally:
clear\_outbound\_messenger(token)

## Methods

<CardGroup cols={2}>
  <Card title="send()" icon="function" href="../functions/OutboundMessengerProtocol-send">
    Deliver a message to a symbolic target.
  </Card>

  <Card title="list_targets()" icon="function" href="../functions/OutboundMessengerProtocol-list_targets">
    List the targets currently reachable from this runtime.
  </Card>

  <Card title="react()" icon="function" href="../functions/OutboundMessengerProtocol-react">
    Add (or remove) a reaction on a message (Issue #3917).
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L2529">
  `praisonaiagents/gateway/protocols.py` at line 2529
</Card>
