Specification v1.0.0-draft · Apache 2.0

Legal Context Protocol

The open standard for discovering legal context in agentic commerce.

Every commerce protocol handles payments. None handle what happens when a transaction goes wrong — terms enforcement, dispute resolution, agreement recording, or legal enforceability. One file. One required field. The missing legal layer.

What Protocols Handle vs. What They Defer

Every major agentic commerce protocol defers the same things.

Protocol CategoryWhat They HandleWhat They Defer
PaymentsMPP, x402Value transfer, micropayments, stablecoinsTerms binding, identity, enforceability
CommerceACP, UCP, AP2Checkout, payment delegation, cartDispute resolution, terms enforcement
IdentityVisa TAP, Mastercard Agent PayAgent verification, PKI, authorizationAgreement context, dispute resolution
AuthorizationVisa TAP, Mastercard VI, AP2Consumer authorization, spending limits, delegation scopeMerchant terms, mutual agreement, dispute resolution

One Field. The Entire Legal Layer.

/.well-known/legal-context.json
{
  "terms": "https://example.com/terms/v3.pdf"
}

Discover

Any agent fetches legal-context.json from a vendor's domain. One HTTP call reveals the terms. Legal context is always in the same place.

Verify

At Level 2+, terms are content-addressed by a SHA-256 hash. Any party can prove a document is authentic and unchanged. The hash is optional — discoverability alone has value.

Resolve

At Level 4, the standard hooks into dispute resolution, escrow, compliance, and returns. The standard provides the hook; implementations provide the capability.

Four Levels of Trust

Each independently valuable. None required. Proportional to the stakes.

Level 1

Informational

Agent finds the terms. Proceeding = implicit consent. No hash, no blockchain, no signature.

Level 2

Provable

Content hash proves exactly what the terms were and that they haven't changed.

Level 3

Signed

Digital signature binds a specific party to specific terms. Proof of explicit intent.

Level 4

Integrated

Hooks to dispute resolution, escrow, compliance, private terms, and legal infrastructure.