Circle's x402 protocol lets AI agents pay for APIs over HTTP with USDC
kleffew94 · x · 2026-12-05
Circle details x402, a standard way for AI agents to pay for APIs and services directly over HTTP.
- Flow: agent requests a resource → server returns HTTP 402 (Payment Required) with pricing → agent authorizes a USDC payment within operator-set spending controls → retries with proof of authorization to access the resource.
- Why it matters: HTTP 402 has existed for decades but nobody defined how the payment itself should work. x402, introduced by Coinbase, removes the need for humans to manually create accounts and configure billing for metered services.
- Example scenario: a coding agent finds a bug reproducible only in a remote browser environment; it can autonomously purchase access to a testing service within its approved budget and complete the verification.
- Safeguards: spending limits and delivery checks keep agent purchases within budget and confirm paid services were actually delivered.
The protocol targets the "agentic economy" — machine-to-machine payments for autonomous agents.
More from coding & agent
- Szegedy runs a three-model team and lets LLMs talk via shared documents — ChrSzegedy · 2026-12-05
- Szegedy: custom harnesses speed up math formalization, but chatting models via docs is more fun — ChrSzegedy · 2026-12-05
- Csaba Szegedy on vibe mathing: capable models fall into exploration rabbit holes, humans must intervene — omarsar0 · 2026-12-05
- Exa called best free search API: 2,500 searches, 10 QPS monthly, no card — yoimnotkesku · 2026-12-05
- GTA 6 on PC could become the most interesting multi-model AI benchmark yet — theteknosaur · 2026-12-05
- A 15-step method to redesign any enterprise role with AI — alex_verem · 2026-12-05