lucidAGENTS
Protocols

Protocols

The exact wire, identity, discovery, and authorization contracts Lucid composes.

Lucid is an application runtime above payment and agent protocols. It adds the typed entrypoint, policy, idempotency, storage, task, and adapter transaction that the protocols do not provide on their own.

Compatibility at a glance

ProtocolUpstream status at verificationLucid implementationImportant boundary
x402v2HTTP seller for EVM/Solana exact; EVM buyerNo upto, batch, Bazaar, MCP transport, or Solana buyer
SIWXx402 extension familyWallet proof plus Lucid-managed nonce and entitlement reuseWallet control is not application authorization
MPPActive individual Internet-Draft draft-ryan-httpauth-payment-01Next-only Payment-Auth integration through mppx 0.4.11Native charge or application verifier; not the full MPP surface
A2Av1.0.1; v1.0 is the first stable lineAgent Card-shaped discovery plus Lucid HTTP invocation, SSE, and owned tasksLucid routes and task model are not an official A2A v1 binding
ERC-8004Ethereum DraftEVM identity/reputation clients, registration metadata, OASFValidation is experimental; registration does not prove trust
AP2v0.2v0.1 role descriptor onlyNo mandates, authorization, credentials, checkout, or settlement

This matrix is a product contract, not a claim that every upstream feature is implemented. Pin it to a release and rerun interoperability tests before using one protocol name in procurement, compliance, or partner documentation.

How the layers compose

Agent Card / ERC-8004       discovery and public identity evidence

Lucid entrypoint            typed application operation

x402 or MPP (+ optional SIWX) payment/authentication gate

Lucid policy + idempotency  budgets, sender rules, reservations, replay scope

Handler or owned task       fulfillment

Settlement + accounting    receipt, durable record, operational reconciliation

AP2 sits beside this flow as authorization and evidence metadata in the wider agent-commerce ecosystem. The current Lucid AP2 package does not execute that authorization flow.

Product-owned versus protocol-owned behavior

ConcernOwner
Header and credential formatsx402 or MPP
On-chain identity/reputation data modelERC-8004
Agent Card schema and official bindingsA2A
Human-present/absent mandates and commerce evidenceAP2
Typed entrypoints and adapter-neutral route planLucid
Spending/incoming limits and sender/recipient policyLucid
Atomic policy reservations and staged settlement accountingLucid
Idempotent application replayLucid plus application-defined keys
Durable payment, SIWX, task, and scheduler storesLucid ports and your infrastructure
Refunds, disputes, tax, invoicing, and business reconciliationYour application and payment provider

Selecting a payment protocol

Use x402 when the counterparty supports x402 v2 HTTP exact payments on one of Lucid's supported networks. Use MPP only from the Next channel when its Payment-Auth credential model and one of the implemented verifiers matches the commercial contract. If both extensions are installed, every priced entrypoint must set paymentProtocol explicitly.

Do not infer compatibility from HTTP 402 alone. x402 and MPP use different challenge, credential, verification, and receipt formats.

Before claiming conformance

For every integration, record:

  1. the upstream protocol/draft version and Lucid package versions;
  2. the binding or transport, scheme/intent, network, asset, and provider;
  3. supported and explicitly unsupported extension features;
  4. test vectors, peer implementations, and conformance tooling exercised;
  5. replay, key, storage, failure, settlement, and recovery behavior;
  6. migration ownership when either side upgrades.

Lucid currently makes a narrow interoperability claim for each page below. It does not claim blanket A2A, AP2, ERC-8004, MPP, or x402 ecosystem conformance.

Primary specifications

These sources define the upstream contract. The Lucid pages define which subset this repository implements.

On this page