AgentPay — x402 payment rails for AI agents

mode: ?

1. Agent tries to invoke without paying (expect HTTP 402)

(not run)

2. Full agent flow: 402 -> pay -> retry with header -> result

(not run)

3. Prepaid agent wallet (balance-based payment)

USD
(not run)

4. AI self-onboarding (agents read this)

(not run)

5. Marketplace: sell your API to agents

USD
(not run)

6. Local ledger

(not loaded)