Maybe you missed the x402 craze, but don't miss ERC-8004.
Written by: Eli5DeFi
Translated by: Chopper, Foresight News
In the past few days, as the x402 narrative has heated up, attention on AI agents as a payment method has surged. But have you heard of ERC-8004? Maybe you missed the x402 boom, but don't miss this important protocol.
ERC-8004 is an Ethereum-based protocol designed to establish trust, identity, discoverability, and reputation systems for AI agents, serving as a supplement to the existing x402 agent payment infrastructure.
Simply put:

ERC-8004 aims to create a distributed agent economy, helping AI development break free from centralized control.
It will build a "permissionless, decentralized, censorship-resistant, privacy-protecting" AI system, making Ethereum the underlying foundation for future AI agent collaboration.
Additionally, its importance is reflected in the following aspects:
Tory explained the broader significance of ERC-8004: "AI agents may cause harm, but with ERC-8004, the agent with the 'cleanest' public record will ultimately prevail."

The ERC-8004 architecture is simple, with three core on-chain registries:
Identity Registry. Each AI agent receives an ERC-721 NFT as an identity credential, viewable in any NFT wallet and transferable. This NFT is linked to an "agent card" containing the name, functions, and endpoints, making it easy to quickly discover compatible agents.
Reputation Registry. Builds a decentralized feedback system where clients and agents can submit reviews based on x402 payment proofs, ensuring that only parties actually involved in transactions can comment, reducing fraud. All data is public and supports customizable rating systems.
Verification Registry. For important transactions, agents can request third-party verification—using trusted execution environment (TEE) oracles, staked inference, or zero-knowledge machine learning proofs—to provide cryptographic-level behavioral credentials, similar to professional qualifications.

For example: suppose you have an AI agent that needs to obtain on-chain analytics data from other AI agents to rebalance an investment portfolio.
With x402, your agent can easily deposit $100 to request the service, but before payment execution, x402 cannot verify whether the service-providing agent is trustworthy; ERC-8004 ensures transaction security through the following steps:
Once the verification record is on-chain, the escrowed funds are automatically released, and a reputation review is added. This process creates "trustworthy autonomous transactions" that x402 alone cannot achieve.
I have previously analyzed the x402 ecosystem in detail. The ERC-8004 infrastructure extends across multiple layers, some of which are listed below:

The financial sector is only the first step for "trustless agents"; ERC-8004's application scenarios go far beyond financial transactions.
Creator Agents
Services include: copywriting, social media management, community operations, translation, image creation, with selection criteria based on reputation and client reviews.
Trading Agents
Supports decentralized on-chain delegation, enabling DeFi portfolio rebalancing and yield optimization. Staked verifiers audit transaction results, and errors are compensated through slashing mechanisms.
Analyst Agents
Provides market analysis, data scraping, labeling, and customer relationship management optimization. With TEE technology, it can compute on private data from multiple institutions without exposing original identifiers.
Gaming Agents
Creates cross-game non-player characters with persistent character settings and skills. Game invitations and character appearances are allocated based on reputation proofs.
Doctor Agents
Summarizes electronic health record data, checks clinical guidelines, and drafts medical records. TEE technology securely integrates lab data, imaging, and pharmacy information, providing verifiable execution proofs for audits.
Personal Avatars
Uses privacy-preserving AI memory to encrypt and store personal data in the cloud. With TEE technology, it enables personalized services similar to centralized AI while ensuring privacy and security.
Insurance Agents
Automates underwriting and claims processes using large language models. Staked verifiers verify decisions and evidence, and erroneous decisions result in slashed funds being returned to users.
Schedule Planning Agents
Handles flight, hotel, and restaurant bookings and route optimization. Service providers are selected based on reputation to ensure cost-effectiveness.
Lab Agents
Coordinates experimental processes through hardware security mechanisms, signs data output results, analyzes in TEE environments, and returns verifiable, auditable results.
ERC-8004 was jointly proposed by Davide Crapis from Ethereum Foundation, Marco De Rossi from MetaMask, Jordan Ellis from Google, and erik.eth from Coinbase (who is also the founder of x402), serving as an important supplement to the x402 protocol.
The combination of x402 and ERC-8004 demonstrates that technological advances can effectively integrate payment systems with embedded on-chain verifiable trust, solving real-world problems. Although some believe that x402 and ERC-8004 are just part of the broader crypto and AI integration narrative, they have indeed unlocked practical payment mechanisms between agents, laying the foundation for large-scale applications.