Agent Legal Context
Protocol Integration

UCP Integration

Universal Commerce Protocol integration via cryptographic mandate metadata.

This section is advisory.

UCP (Universal Commerce Protocol) has a capability/extension architecture that natively supports additional metadata.


Cryptographic Mandate Metadata

{
  "legalContext": {
    "type": "sha256",
    "value": "0x7f83b165..."
  }
}

The legalContext object is included in the mandate metadata. UCP's extension architecture accepts additional metadata fields without schema changes.


Integration Flow

  1. Checkout object includes legalContext in metadata
  2. Agent reads the reference during the proposal phase
  3. Agent verifies the terms (Level 2+)
  4. Payment confirmation carries the same reference