Specification v1.0.0-draft · Apache 2.0

Agent Legal Context

The open protocol for 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 API. The missing legal layer.

What Protocols Handle vs. What They Defer

22+ protocols analyzed. Every category defers the same things.

Protocol CategoryWhat They HandleWhat They Defer
PaymentsMPP, x402, TempoValue 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
AuthorizationVI, Tempo KeychainSpending limits, delegation scopeWhat happens when scope is exceeded

Three Fields. The Entire Legal Layer.

/.well-known/legal-context.json
{
  "version": "1.0",
  "contentHash": "0x7f83b165...d9069",
  "api": "https://api.integraledger.net/v1/records/0xabcdef..."
}

Discover

Any agent fetches legal-context.json from a vendor's domain. One HTTP call reveals the terms hash, the verification API, and whether acceptance is required.

Verify

Every terms document is content-addressed by its SHA-256 hash. The hash is anchored on-chain. Any party can prove a document is authentic and unchanged.

Resolve

When things go wrong, the API provides the dispute process, the contact information, and the evidence anchor. The on-chain record is the ultimate backstop.

Three Acceptance Tiers

Proportional trust for proportional stakes.

Tier 1

Implicit

The transaction itself is the proof. Terms are bound via payment memo. No signature required.

$0.001 API calls, micropayments, high-volume machine commerce

Tier 2

Explicit

Counterparty signs the terms hash via EIP-712 before transacting. Cryptographic proof of affirmative consent.

SaaS agreements, data licenses, enterprise SLAs

Tier 3

Negotiated

Agents dynamically negotiate terms. Both parties sign the final agreement. Full on-chain record with dispute resolution.

Supply chain contracts, financial settlements, joint ventures

Adopt in Four Steps

Part 1

Open Concept

Hash, anchor, reference. No vendor dependency. ~1 hour.

Part 2

Discovery

Serve legal-context.json. Point to the API. ~1 day.

Part 3

Extensions

Protocol-specific integration via existing extension mechanisms.

Part 4

Full Stack

ADR, escrow, compliance, tokenization, negotiation.