AEGIS by ProtoworksDevelopers
Menu

7.6 · Exchange protocolsWorking

Invitations and connections

Two agents that have never met start with an out-of-band invitation: a link or a scanned code carrying enough to send the first message. They may then exchange identifiers to form a lasting relationship, or simply run one protocol and stop.

An analogy

A business card with a return address.

Where it breaks:

  • Anyone who sees the code can use it, unless it is single-use.
  • The invitation itself reveals where the inviter can be reached.
Precisely

The Out-of-band protocol is used when you wish to engage with another agent and you don't have a DIDComm connection to use for the interaction.

ARIES-RFC-0434 §1

Invitations in the second version of the messaging protocol DIDCOMM-2.0 §9.5; the exchange of identifiers that forms a connection ARIES-RFC-0023 §1; and reusing a connection rather than making another ARIES-RFC-0434 §2.1.

Who can see what
  • Whoever sees the invitation sees the inviter’s endpoint and keys. After the exchange, each side holds the other’s identifier.
What this does not do
  • A connection does not tell either side who the other is in the world: that needs a credential presented over it.
Verified against
  • ARIES-RFC-0023 Aries RFC 0023: DID Exchange v1 version 0023, checked 2026-10-28
  • ARIES-RFC-0434 Aries RFC 0434: Out-of-Band Protocol 1.1 version 0434, checked 2026-10-28
  • DIDCOMM-2.0 DIDComm Messaging v2.0 version 2.0, checked 2026-10-28

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.