Conduit: the execution layer

A runtime proxy that sits between an AI agent and the skills it is allowed to run.

What it does

Every skill call passes through Conduit. Conduit checks identity, permissions and payment before the call executes, and records that it did. It is the execution layer of the Suede trust stack.

Why a proxy

Agents are only as trustworthy as the tools they can reach. Putting a governed proxy in front of the tools means trust is enforced at runtime, not promised in a prompt.

Three checks before a call runs

Conduit answers three questions before a skill runs: who is calling, are they allowed to do this, and has it been paid for. Each question has an open standard an agent can check on its own:

  • Identity: ERC-8004. A caller's agent token, its owner and its registration file can be read straight from the chain.
  • Permission: AP2, the Agent Payments Protocol. Signed mandates record what a user authorized an agent to buy, so a merchant verifies intent instead of inferring it.
  • Payment: x402 for a single paid call, and ACP escrow for a job with a deliverable.

What a fail-closed permission check looks like

The Performance Engine's codebase includes an AP2 mandate verifier that shows the rule in practice. It takes two signed SD-JWT credentials (RFC 9901), one carrying the user's constraints and one carrying the merchant's cart, and checks them in order: both signatures, then expiry and not-before times, then that the cart points at that intent (and at the expected merchant, when one is named) and that its total equals its line items, then every constraint:

  • max_amount: the cart total cannot exceed the limit, and must be in the same currency.
  • allowed_merchants and allowed_items: the merchant and every item must be on the list.
  • max_item_count: the summed quantity in the cart cannot exceed the limit.
  • requires_refundability: the cart must be refundable when the user asked for that.

Anything the verifier cannot see refuses the payment: a constraint that was withheld, a constraint it does not implement, or an intent with no spend limit at all. Amounts are handled as decimal strings, never floating-point numbers. The AP2 site now describes these credentials as Checkout Mandates and Payment Mandates; the verifier keeps its claim names in one file so they can follow the specification.

Where the score meets the same gate

The Performance Test checks two of those three from the outside. Identity feeds Trust / Proof through the ERC-8004 check. Payment feeds x402 / Stablecoin and Pricing Signal. Permission is something a seller declares in its A2A agent card's securitySchemes and security fields, which the test does not score today. Producer's card leaves security empty on purpose: readiness scoring is the free public diagnostic, and the paid jobs run through ACP escrow, which carries its own payment requirements.

What to put in front of your own skills

  • An identity a caller can verify: an ERC-8004 registration whose token URI resolves to your own domain.
  • Declared authentication in your agent card for every skill that needs it, listing only skills your endpoint answers today.
  • A price on every callable skill: a 402 response for per-call access, or an ACP job price for delivered work.
  • Mandate checks that verify every constraint and refuse what they cannot see.
  • Signing keys at /.well-known/jwks.json, so counterparties can verify what you sign.
[ Take the test ]

Sources

Score it

The Performance Test scores your URL on the seven dimensions these pages explain and returns a 0 to 100 Performance Index with the most useful next fix. Take the Performance Test.