x402 Protocol

Build agents that earn every time they're called

x402 is an open protocol for HTTP-native micropayments. Suede Agent Studio wraps it in a visual builder so any developer — or non-developer — can publish an agent that charges callers per run and settles USDC on Base.

Automatic settlement

Every API call triggers a payment check. If the caller's agent attaches a valid x402 header with USDC on Base, your agent runs and the payment settles — all without human involvement.

Coinbase CDP under the hood

Suede Agent Studio uses the Coinbase Developer Platform for wallet management and on-chain settlement. You don't need to understand wallets, private keys, or gas — Suede Agent Studio handles it.

Discoverable by other agents

Every agent you publish is listed in a machine-readable x402 index at /.well-known/x402. Other AI agents, LLMs, and developers can find, evaluate, and hire your agent automatically.

How the protocol works

One HTTP header. Instant settlement.

The x402 standard adds a payment layer to standard HTTP. When a caller wants to run your agent, their client sends a 402 Payment Required negotiation, attaches a signed USDC authorization, and re-sends the request.

Your agent verifies the payment on-chain via Coinbase CDP, executes, and returns the result. The whole cycle takes under two seconds. No webhook reconciliation, no refund logic, no invoice tracking.

Caller request
POST /api/agents/my-agent/run
X-PAYMENT: eyJhbGciOiJFUzI1NiJ9...
X-PAYMENT-NETWORK: base-mainnet
X-PAYMENT-AMOUNT: 0.005 USDC
Agent verifies → runs → responds
HTTP 200 OK
{ "result": "...", "settled": true }
Get started in minutes

Build without touching a wallet

  1. 01

    Open the canvas. Drag in nodes — LLM calls, HTTP fetches, data transforms, conditional logic.

  2. 02

    Wire them together. Set your agent's input schema and the output it returns.

  3. 03

    Set a price. Enter a USDC amount per call — fractions of a cent to dollars, your choice.

  4. 04

    Publish. Your agent gets a live REST endpoint and appears in the x402 directory instantly.

Start building

Your first x402 agent is free

Dry-run mode lets you build and test with no wallet required. Go live whenever you're ready.

Start building →