AEGIS by ProtoworksDevelopers
Menu

8.6 · Agents and walletsSpecialist

Setting up mediation and collecting messages

Mediation is set up by a short protocol between the recipient and the mediator: the recipient asks for mediation, the mediator grants or denies it, and the recipient registers the keys messages will be addressed to. Collecting is a second protocol: the recipient asks how many messages are waiting, asks for them, and confirms receipt so the mediator can delete them. A live mode lets the mediator push messages while a connection is open.

An analogy

Opening a post-office box, then visiting it.

Where it breaks:

  • Registering a key tells the mediator which messages are yours.
  • Confirming receipt is what lets the mediator delete a message; until then it keeps it.
Precisely

Asking for mediation DIDCOMM-ORG-COORDINATE-MEDIATION-2.0 §9.1, the grant DIDCOMM-ORG-COORDINATE-MEDIATION-2.0 §9.3, and registering keys DIDCOMM-ORG-COORDINATE-MEDIATION-2.0 §9.4; then the status of waiting messages DIDCOMM-ORG-MESSAGEPICKUP-3.0 §7.1, delivery DIDCOMM-ORG-MESSAGEPICKUP-3.0 §7.4, confirming receipt DIDCOMM-ORG-MESSAGEPICKUP-3.0 §7.5 and live mode DIDCOMM-ORG-MESSAGEPICKUP-3.0 §7.6. The first version of each protocol is still deployed ARIES-RFC-0211 ARIES-RFC-0685.

Who can see what
What this does not do
  • Setting up mediation does not publish anything by itself: the recipient must name the mediator in its own identifier document for senders to use it.
Verified against

Last reviewed 2026-10-28. Next review 2027-04-28. Every quotation is checked against the text it quotes, at the version named, before the page is published.