Agent demo

Live interactive demo — follow these pages in order on Base Sepolia:

  1. Onboard tool — register + probe + Venice
  2. Payment lab — x402 probe
  3. Permissions — ERC-7715 via MetaMask
  4. Agent clearance — check + pay if cleared
  5. Audit log — proof trail

Clearance402 flow

  1. 1
    clearance402 tools onboardpending

    Register an x402/MCP endpoint, price, and output schema.

  2. 2
    clearance402 tools probepending

    Send an unpaid request and confirm a real 402 challenge.

  3. 3
    clearance402 tools evaluatepending

    Pay with a test wallet, retry, and check output matches the schema.

  4. 4
    clearance402 agents registerpending

    Create the buyer agent with a spend mandate.

  5. 5
    clearance402 clear (under mandate)success

    Ask Clearance402 — cleared tool returns ALLOW, agent pays.

  6. 6
    clearance402 clear (over mandate)unauthorized

    Spend exceeds mandate → HUMAN_APPROVAL_REQUIRED.

  7. 7
    clearance402 clear (bad tool)failed

    Price/output mismatch → BLOCK, payment refused.

Same flow in code

ts
import { createClearance402Client } from "@clearance402/sdk";

const c402 = createClearance402Client({ baseUrl: "http://localhost:8080" });

await c402.onboardTool({ name: "Venice Vision API", endpoint: "https://api.venice.ai/x402/vision", price: "$0.010 USDC" });
await c402.probeEndpoint({ toolId: "venice-vision", pay: true });

const { decision } = await c402.checkBeforePayment({ agentId: "buyer-agent", toolId: "venice-vision", amountUsd: 0.01 });
// Grant ERC-7715 on /permissions, then pay in browser and recordPayment()

Build it with the SDK, CLI, or MCP tools.

402Clearance402

The trust layer for agent payments,
built on x402 & MCP.

Stay in touch!
C
Feeling lucky?

© 2026 Clearance402. All rights reserved.

x402 · MCP · MetaMask · Venice · 1Shot.
clearance402.app

Clearance402 docs
Clearance402