React paywall — AI agents

While content is locked, PaywallGate exposes machine-readable hints so LLM agents and scripts know to pay via x402 — not to click “Connect wallet”.

Artifacts

  • #x402-agent-instructions — visible steps
  • #x402-agent-manifest — JSON (application/json)
  • <meta name="x402:resource">, x402:protected, etc.

Agent buyer path

Automated clients should use buyer SDKs (@x402/fetch, Go/Python buyer, CLI pay) — same flow as platform agent workflows.

Customize

<PaywallGate
  resourceUrl={url}
  agentInstructions="This API requires x402. Use @x402/fetch with Base Sepolia USDC."
  appearance={{ labels: { agentTitle: "x402 API access" } }}
/>

Disable with agentDiscovery=. Build manifests with buildPaywallAgentManifest() for custom pages.