How It Works
01
Register Agent
Create your agent and set a spend policy
02
Guard Checks
Every x402 payment hits GuardX402 first
03
Approved or Blocked
Policy enforced before any signing
04
Full Audit Log
Every decision logged and queryable
Integration Modes
V1 · Recommended
Policy Layer
Works alongside any x402 facilitator. Add one guard check before every payment.
V2 · Beta
Native Facilitator
Point your x402 middleware to GuardX402. Policy enforcement built into every payment. No Coinbase dependency.
facilitatorUrl: 'https://guardx402.com/api/facilitator'Both modes
Full Audit Log
Every decision logged, timestamped, and queryable regardless of which mode your agents use.
One integration. Full control.
@open-wallet-standard/core
import { createWallet, signMessage } from "@open-wallet-standard/core"
// sign + guard-check before every x402 payment
const sig = signMessage("my-agent", msg)
const res = await fetch("/api/guard/check", {
body: JSON.stringify({ endpoint, amount, chain: "BASE" })
})
→ { "approved": true, "budgetRemaining": 4.998 }
