When AI Starts Paying for Itself

marsbit发布于2026-03-04更新于2026-03-04

文章摘要

The article "When AI Starts Paying for Itself" discusses the emergence of the x402 protocol, which enables AI agents to autonomously make micro-payments for services like data and computation. In 2025, Coinbase and Cloudflare revived the long-dormant HTTP 402 status code ("Payment Required") to create a seamless payment layer for the internet. The protocol allows an AI agent to receive a payment request, authorize it with a cryptographic signature, and complete the transaction in under a second—with no human involvement, accounts, or traditional banking infrastructure. Supported by low-cost Layer 2 blockchains and stablecoins, x402 processed over 100 million transactions within months. Its V2 update added multi-chain support and session-based authentication. Google later integrated a similar model into its Agentic Payments Protocol (AP2). However, trust between autonomous agents remains a challenge. ERC-8004, an Ethereum standard, addresses this by providing on-chain identity (via NFT-based IDs), reputation tracking, and task verification systems. The ecosystem faces risks: speculative "x402-themed" meme tokens have surged without real utility, technical vulnerabilities exist, and competing standards from Google and a16z threaten fragmentation. Furthermore, regulatory frameworks for AI-driven transactions are undeveloped. In summary, x402 and ERC-8004 aim to create a trustless, open economic network for AI agents—but must overcome technical, economic, and competitive h...

Author: Clow, Baihua Blockchain

An AI wrote a piece of code and needed data to verify it.

It sent an HTTP request, and the server returned a number: 402.

Then, it paid 0.001 USDC. In less than a second, the data came back.

This transaction had no account, no password, no bank card, no KYC. The entire process involved no human participation.

This is no longer science fiction. By the end of 2025, the x402 protocol had processed over 100 million such transactions; in the first 30 days of this year, another 15 million were added.

The "Payment Code" That Slept for Thirty Years

In 1990, the drafters of the HTTP protocol reserved a specific status code: 402, Payment Required.

The meaning is straightforward—"Payment is required to enter here."

But this status code was never officially used. It just hung there in the protocol documentation, dormant for thirty-four years.

The reason is simple: the first builders of the internet never imagined that machines would one day be the ones paying. Credit cards, bank accounts, KYC verification—these payment infrastructures were designed for humans and are completely ineffective against autonomously running code.

AI Agents need to call APIs, purchase data, and acquire computing power at millisecond speeds. The account registration and fee thresholds of traditional payments are a solid wall.

In 2025, three conditions aligned simultaneously.

The total supply of stablecoins surpassed $300 billion, with L2s like Base reducing single transaction costs to sub-cent levels; the AI Agent ecosystem, led by OpenAI and Anthropic, began large-scale commercialization; Coinbase engineers dug up that dusty 402 and decided to activate it.

In May 2025, Coinbase, jointly with Cloudflare, officially released the x402 protocol. In September, they collaborated with Cloudflare to jointly announce the establishment of the x402 Foundation. A forgotten status code returned to the center of the internet. Cloudflare manages roughly 20% of global web traffic—this meant x402 had no shortage of infrastructure entry points from day one.

Machines, For the First Time, Learned to Pay

The design of x402 is surprisingly simple.

An AI Agent initiates an HTTP request, the server returns a 402 status code along with the payment requirements: how much, which chain, which token. The Agent authorizes the payment using an EIP-712 encrypted signature, stuffs the payment information into the request header, and resends the request. The server verifies it and returns the resource.

The entire process takes less than a second. No account, no subscription, no API Key.

This turns "payment" into part of the internet. Like GET and POST, it's just an HTTP action. Any service can charge machines by adding a single line of middleware.

Data proves this logic works. About seven months after the protocol's release, it processed over 100 million transactions. According to the Cambrian Network Q1 2026 report, over 15 million transactions occurred in the past 30 days, from over 400,000 buyers and over 80,000 sellers. The AI Agent群体 from Virtuals Protocol is the largest single source of transactions; they use the protocol to autonomously settle collaboration fees among Agents.

On December 11, 2025, x402 V2 launched. This upgrade pushed the protocol from "usable" to "user-friendly": support for multiple chains like Base, Solana, and Avalanche operating in parallel; introduction of a Session mechanism (wallet becomes an identity credential, allowing repeated access without on-chain interaction each time); integration with ACH bank transfers and credit card networks—the payment systems of Web2 and Web3 were connected for the first time within this protocol.

Google subsequently integrated x402 into its Agent2Agent (A2A) protocol, releasing the Agentic Payments Protocol (AP2); machines paying is becoming an infrastructure consensus among large tech companies.

Trust is the First Hurdle of the Agent Economy

The payment problem is solved, but an even more fundamental question remains unanswered.

"Commerce can’t happen if people don't trust each other."

Davide Crapis, AI Lead at the Ethereum Foundation and one of the co-drafters of ERC-8004, directly pointed out the core obstacle of the Agent economy: When an AI Agent needs to hire another Agent to complete a task, how does it know the other party isn't a scammer? Where is the transaction record? How is reputation transferred?

ERC-8004 is Ethereum's answer to this question. Drafted in August 2025, it officially launched on the Ethereum mainnet on January 29, 2026. It establishes three lightweight registries on-chain:

  • Identity Registry: Each Agent gets an on-chain ID based on an ERC-721 NFT, portable, transferable, and verifiable across chains. An AgentCard (JSON format) records capabilities, endpoints, and x402 payment support status;
  • Reputation Registry: Feedback signals between Agents are archived on-chain—accuracy, timeliness, reliability scores. Only indices are kept on-chain, with data hashes pointing to off-chain storage to reduce Gas costs;
  • Verification Registry: After task completion, the result data hash is put on-chain requesting verification, giving "whether the task was truly completed" cryptographic provability.

The drafting team spanned four major crypto ecosystems: Marco De Rossi from MetaMask, Davide Crapis from the Ethereum Foundation, Jordan Ellis from Google, and Erik Reppel from Coinbase. EigenLayer, ENS, The Graph, and Taiko have all expressed support. Less than a month after the mainnet launch, registered Agents on Ethereum mainnet surpassed 24,000, with about 49,000 across all EVM chains combined.

A typical workflow looks like this: Agent A discovers a service provider through the ERC-8004 identity registry, filters the reputation registry to choose a high-scoring Agent B, completes the payment using x402, and attaches payment records with reputation feedback after the task ends—payment history becomes an anchor of credit. This chain is what Cambrian Network calls the "Agent Economy Operating System": payment + identity + reputation, three layers combined.

How Deep Are These Waters?

The data looks good, but a few things need clarification.

Tokens and protocols are two different things.

The ecosystem token related to x402 reached a market cap of over $9 billion on CoinGecko, with daily trading volume exceeding $230 million. But many of these "x402 concept tokens" are Meme tokens with no substantive binding to the protocol itself. Buying an x402-related Token is not the same as buying into the growth of the x402 protocol. This market has always been good at mixing narrative and reality, and this time is no exception.

Technical risks remain unresolved.

x402's EIP-712 signature mechanism requires continuous security audits. The ERC-8004 reputation registry faces the threat of Sybil attacks—batch registration of fake identities—and the current economic incentive mechanisms are not yet perfect. There is an economic tension between high-frequency micropayments (e.g., $0.0001 per transaction) and L2 fees (which can still reach $0.05); extremely small transactions can still be eaten up by fees at this stage.

The protocol war is not over.

x402, Google's AP2, and a16z's ecosystem ACP, three sets of protocols coexist. If developers split between these three standards, network effects will be significantly diluted. Furthermore, OpenAI and Anthropic could completely bypass on-chain protocols and build their own closed-loop payment systems—they have users, data, and scale advantages, which is competitive pressure x402 cannot ignore.

The regulatory landscape is another blank slate. For a payment autonomously initiated by an AI Agent, who is the transaction主体? Where is the trigger point for KYC/AML responsibility? No major jurisdiction has provided a definitive answer.

Summary

Someone once said something fitting to quote here: "Inscriptions in 2023 allowed humans to engrave value onto the chain; x402 in 2025 allowed machines to autonomously pay for value on the network for the first time."

If HTTP connected global computers into an information network, the combination of x402 and ERC-8004 attempts to connect billions of Agents into an open service and data market—no account needed, no approval needed, just one request, one payment, one result.

However, whether the protocol can prevail in fragmented competition, whether the trust mechanism can be truly perfected, whether the Agent economy can move from demo to real business... these are still open questions.

Before the narrative lands, distinguishing between "the value of the protocol" and "the tokens炒作 around the protocol" is perhaps the most important thing for every participant to figure out.

热门币种推荐

相关问答

QWhat is the x402 protocol and what problem does it solve?

AThe x402 protocol is a system that enables AI agents to autonomously make micropayments for services like data access or computational resources via HTTP requests. It solves the problem of traditional payment systems (requiring accounts, passwords, credit cards, KYC) being incompatible with machine-to-machine transactions by integrating payment as a native HTTP action, allowing for seamless, account-less transactions in under a second.

QWhat historical internet standard did the x402 protocol revive and why was it unused for decades?

AThe x402 protocol revived the HTTP 402 status code, 'Payment Required,' which was defined in 1990 but never officially used. It remained dormant for over three decades because the early internet was built for human users, and the existing payment infrastructure (credit cards, bank accounts, KYC) was not designed for autonomous machines or AI agents.

QHow does the ERC-8004 standard complement the x402 protocol in the AI agent economy?

AERC-8004 establishes a trust layer for the AI agent economy by providing on-chain registries for agent identity (via NFT-based IDs), reputation (storing performance metrics and feedback), and task verification (cryptographic proof of completion). It complements x402 by enabling agents to discover reliable service providers, verify their credibility, and use x402 for payment, creating a combined system for payment, identity, and reputation.

QWhat are some challenges and risks associated with the x402 protocol and ERC-8004?

AChallenges include technical risks like the need for ongoing security audits of EIP-712 signatures, susceptibility to Sybil attacks on reputation systems, and the economic tension between micropayment values (e.g., $0.0001) and layer-2 transaction fees (e.g., $0.05). Additionally, there is protocol competition (e.g., from Google's AP2 and a16z's ACP), potential fragmentation among developers, and unresolved regulatory questions regarding KYC/AML responsibilities for autonomous AI transactions.

QWhat real-world adoption and transaction volume has the x402 protocol achieved according to the article?

ABy the end of 2025, the x402 protocol processed over 100 million transactions. In the first 30 days of 2026, it handled an additional 15 million transactions, with over 400,000 buyers and 80,000 sellers. Virtuals Protocol's AI agents were the largest single source of transactions, using x402 for autonomous settlement of collaboration fees among agents.

你可能也喜欢

如何让自己变得让人工智能永远也无法取代

面对人工智能的冲击,许多人担心工作被取代。然而,真正的威胁在于个人对他人和系统的依赖,以及由此产生的“薪资奴役”——即为生存而从事无意义、枯燥的工作。摆脱这种困境的关键,不是抵制技术,而是成为拥有高自主性的“不可受雇”个体。 文章提出了成功抵御AI替代的五个核心要素:自主性(主动行动的能力)、品味(判断事物价值的经验)、说服力(让他人关注你工作的能力)、毅力(坚持并从错误中学习)和迭代(根据反馈持续改进)。这些能力无法仅通过理论学习获得,必须通过实践来培养。 要启动转变,首先要彻底改变环境,重塑身份认同。其次,应选择一个能获得真实、快速反馈的实践领域,例如创业。在众多技能中,内容创作(媒体)比编写代码更具优势,因为其价值是主观的,需要独特的审美和判断力,这正是AI目前难以完全复制的。 具体行动上,可以从三个步骤开始: 1. **挖掘原始素材**:反思自己长期痴迷的知识领域、轻松解决的难题或童年被压抑的兴趣,找到独特的个人经验。 2. **确立反向思考主轴**:找出你坚信但主流观点错误的地方,或行业内普遍忽视的“皇帝新衣”,形成独特的批判性视角。 3. **立即发布**:将前两步的思考融合,撰写并发布第一个核心内容(如帖子、视频),勇敢接受真实世界的反馈,并在此基础上持续学习和迭代。 最终,抵御AI的关键在于构建一份与自身身份深度契合的毕生事业,通过持续的内容创作和真实互动,建立无法被自动化取代的独特价值和影响力。行动,从今天发布第一个想法开始。

marsbit3小时前

如何让自己变得让人工智能永远也无法取代

marsbit3小时前

通过掷骰子离线保管比特币密钥:并非人人愿意为之

文章探讨了通过投掷骰子生成比特币钱包种子短语的安全方法及其现实挑战。核心观点如下: **1. 骰子提供物理熵源** 骰子结果由众多微小变量决定,理论上虽可预测,但实践中无法被攻击者复制或计算,从而提供高质量的随机性。每个六面骰子投掷约产生2.585比特熵,50次投掷即可满足典型12词助记词(128比特熵)的安全需求。 **2. Coldcard漏洞事件凸显手工熵源的价值** 近期Coldcard硬件钱包因固件漏洞导致其内部随机数生成器存在缺陷,致使约1128枚比特币被盗。但那些**完全**通过足量骰子投掷生成种子短语的用户未受此漏洞影响,因为他们的主密钥未使用有缺陷的生成器。 **3. 重要警示:手工种子并非万能保护** 安全研究员指出,即使用户使用骰子生成了安全的种子,若他们使用了Coldcard的其他功能(如生成纸钱包、克隆密钥、共享签名密钥、密码等),这些**衍生密钥**仍可能调用有漏洞的随机数生成器,从而存在风险。安全种子不保证设备生成的所有秘密都安全。 **4. 手工生成熵源的现实局限性** 尽管数学上可靠,但该方法对大多数用户并不友好: * **过程繁琐易错**:需投掷50-99次,精确记录,任何输入错误都会导致钱包完全不同。 * **引入新风险**:用户可能在记录、转换过程中泄露信息,或使用有偏的骰子/投掷方式。 * **用户体验差**:难以想象大规模推广需要用户手动投掷近百次骰子。安全措施需适应现实生活场景和普通用户的知识水平。 **5. 给用户的建议** 受影响的Coldcard用户应: * 更新固件至最新版。 * 检查是否使用过有漏洞的功能生成了次级密钥或密码,如有则需立即更换。 * 考虑采用多签方案,使用不同厂商的设备分散风险。 **结论**:手工投掷骰子生成熵源是技术娴熟用户的一个有效安全选项,但其过程复杂、容易出错,不适合作为主流用户的默认方法。长远目标是依赖安全、透明且无需专业知识的硬件/软件随机数生成方案。

cryptonews.ru6小时前

通过掷骰子离线保管比特币密钥:并非人人愿意为之

cryptonews.ru6小时前

交易

现货

热门文章

从H2A到A2A:AI Agent经济体与Crypto新机遇

6月17日,哈佛大学独立研究员、美国AI科学院(NAAI)通讯院士、比特币基金会终身会员韩锋做客火币HTX《大咖讲堂》第三期,以《从H2A到A2A》为主题,分享了其对Agent经济、Crypto基础设施及数字社会未来发展的思考。

533人学过发布于 2026.07.01更新于 2026.07.01

从H2A到A2A:AI Agent经济体与Crypto新机遇

美股TradFi:传统金融在AI IPO浪潮下的稳健锚点

2026年,美股IPO市场重回高热度。本文梳理即将上线或受关注的热门赛道龙头,分析具备投资潜力的交易标的及其逻辑,并探讨宏观趋势与相关风险。

2.5k人学过发布于 2026.07.08更新于 2026.07.08

美股TradFi:传统金融在AI IPO浪潮下的稳健锚点

相关讨论

欢迎来到HTX社区。在这里,您可以了解最新的平台发展动态并获得专业的市场意见。以下是用户对AI(AI)币价的意见。

活动图片