ERC-8004
ERC-8004, officially titled Trustless Agents, is a finalized Ethereum standard designed to establish a foundational trust and discovery layer for autonomous AI agents operating on the blockchain. The standard aims to create a common framework for agents to identify, authenticate, and cooperate with each other in a decentralized manner, positioning Ethereum as a core coordination platform for a machine-to-machine economy and a global market where AI services can interoperate without gatekeepers. [8] [6] [9]
Overview
The development of ERC-8004 was motivated by the rapid growth of the artificial intelligence sector and the emergence of "agentic systems"—autonomous AI capable of independent decision-making and action. Proponents identified a "coordination problem" where numerous decentralized AI projects were creating proprietary communication and trust systems, hindering interoperability. The standard seeks to solve this by providing a shared, open protocol to counter the dominance of centralized AI ecosystems being developed by major technology corporations. [3]
ERC-8004 is designed to provide the on-chain primitives necessary for establishing trust between agents that have no prior relationship. It extends existing off-chain communication protocols by creating on-chain registries for identity, reputation, and validation. This framework is intended to enable a future where AI agents are the primary actors in a decentralized economy, capable of negotiating contracts, managing resources, and forming Decentralized Autonomous Organizations (DAOs). The concept positions Ethereum not just as a platform for running AI models, but as a neutral and immutable "trustware" layer where machines can anchor their identity, memory, and proof of actions. [8] [4]
The standard is intentionally minimalist and unopinionated, providing a foundational layer for visibility and data commitments while leaving more complex logic, such as specific reputation scoring algorithms or payment mechanisms, to be developed by the broader ecosystem. This modular approach is intended to foster innovation and allow for the creation of specialized services like auditor networks, agent marketplaces, and decentralized insurance pools built upon the common ERC-8004 framework. [3] [6]
History
The concept for ERC-8004 emerged in the spring of 2025 when Marco De Rossi, AI Lead at MetaMask, identified the need for a common standard to prevent fragmentation in the decentralized AI space. A key catalyst was Google's donation of its Agent-to-Agent (A2A) communication protocol to the Linux Foundation in June 2025. While the A2A protocol provided a language for agent interaction, it lacked the necessary components for discovery and trust required in a decentralized, Web3 environment. [3]
Following this, De Rossi began collaborating with Davide Crapis of the Ethereum Foundation and Jordan Ellis of Google to draft a standard that would extend A2A for trustless environments. The official EIP draft was created on August 13, 2025, and was posted for public discussion on the Ethereum Magicians forum the following day. The proposal was publicized on social media around August 18, 2025, and officially launched on August 21, 2025, receiving significant attention from the developer community. On October 9, 2025, the standard was formally unveiled by the Ethereum Foundation’s dAI team and Consensys. After a period of peer review and community feedback, the standard was finalized, and on January 27, 2026, the official Ethereum X account announced that ERC-8004 was "going live on mainnet soon." [6] [7] [8] [9]
Technology
ERC-8004 proposes a modular system of three lightweight, on-chain registries designed to be deployed as per-chain singletons on Ethereum or any Layer 2 network. It extends the Agent-to-Agent (A2A) protocol by adding the missing on-chain trust and discovery layers. [6]
Overall Architecture
The standard's architecture is designed to be gas-efficient by keeping only the essential "skeleton of trust" on-chain. This includes agent identities and pointers to reputation and validation data. More complex and data-intensive information, such as detailed feedback or validation reports, is stored off-chain on decentralized storage systems like IPFS, with immutable on-chain hashes providing a verifiable link. This design allows smart contracts to interact with the core trust data while off-chain services can process the more detailed information. [4] [7]
Identity Registry
The foundation of the standard is the Identity Registry, which is built upon the ERC-721 non-fungible token (NFT) standard with the URIStorage extension.
- On-chain Identity: Each AI agent is registered as an NFT, providing it with a portable, censorship-resistant, and globally unique on-chain identity. This makes agents compatible with the entire Web3 ecosystem of wallets, marketplaces, and explorers.
- Unique Identifier: An agent is uniquely identified by a composite key consisting of its
namespace(EIP-155),chainId, theidentityRegistrycontract address, and itsagentId(the ERC-721tokenId). - Agent Registration File: The NFT's
tokenURImust point to a standardized JSON file containing the agent's metadata. This file acts as a "passport" for the agent and includes required fields such as its name, description, and communication endpoints. Supported endpoints can include A2A, ENS, Decentralized Identifiers (DID), and wallet addresses. These features allow any participant in the network to discover agents and retrieve their capabilities in a standardized way. [6]
Reputation Registry
The Reputation Registry provides a standardized interface for clients (both human and machine) to submit and query feedback about an agent's performance, creating a verifiable on-chain history of its behavior.
- Feedback Mechanism: To mitigate spam, an agent must first authorize a client to give feedback by providing a cryptographic signature (using EIP-191 or ERC-1271). The client can then call the
giveFeedbackfunction, submitting a numerical score (0-100), optional on-chain tags for filtering, and a URI pointing to a detailed off-chain feedback file. - Data Storage: The core feedback data (score, tags) is stored on-chain, making it composable with other smart contracts. The registry also includes functions to allow feedback to be revoked or for a response to be appended, creating a permanent and auditable record of interactions.
- On-chain Summary: The registry provides an on-chain
getSummaryfunction that returns an agent's total feedback count and average score, which can be used by other contracts for automated decision-making.
The standard's documentation illustrates how the generic value and tag fields can be used to measure a variety of specific metrics:
tag1 | What it measures | Example value / valueDecimals |
|---|---|---|
starred | Quality rating (0-100) | 87 / 0 |
uptime | Endpoint uptime (%) | 9977 / 2 (for 99.77%) |
tradingYield | Financial yield (%) | -32 / 1 (for -3.2%) |
revenues | Cumulative revenue (USD) | 560 / 0 (for $560) |
This system is designed to foster an ecosystem of specialized reputation services that can analyze the on-chain data to provide more nuanced trust scores. [6]
Validation Registry
The Validation Registry enables agents to obtain formal, on-chain verification of their work from specialized validator smart contracts, which is crucial for high-stakes applications.
- Workflow: An agent's owner can submit a
validationRequestto the registry, specifying a validator contract and providing a URI to the task data to be verified. The designated validator then assesses the work and submits avalidationResponsewith a pass/fail score (0-100) and an optional link to an audit report. - Supported Methods: The standard is unopinionated about the validation method used. It is designed to support various techniques, including stake-secured re-execution of tasks (inspired by systems like EigenLayer), verification of zero-knowledge machine learning (zkML) proofs, and attestations from Trusted Execution Environments (TEEs).
- On-chain State: The registry stores the final validation status on-chain, allowing other smart contracts to programmatically confirm that an agent's work has been formally verified by a trusted third party before releasing payments or taking other actions. The standard defines the request/response interface but leaves the implementation of validator incentives and slashing mechanisms to the specific validation protocols. [6]
Team
ERC-8004 was authored by a cross-organizational team from prominent entities in the Web3 and AI sectors. The official authors listed on the EIP are:
- Marco De Rossi (MetaMask)
- Davide Crapis (Ethereum Foundation)
- Jordan Ellis (Google)
- Erik Reppel (Coinbase)
The proposal also acknowledges technical feedback and contributions from a wide range of individuals and organizations, including Consensys, Nethermind, TensorBlock, Olas, Eigen Labs, and others, highlighting broad collaboration in its development. [6] [7]
Use Cases
The implementation of ERC-8004 is intended to enable a variety of applications and foster a new ecosystem for decentralized AI.
- Agent Marketplaces: The standard allows for the creation of open marketplaces and explorers where users can browse, filter, and select AI agents based on their registered skills, on-chain reputation, and verified capabilities.
- Reputation Ecosystem: The public and standardized nature of the feedback data is expected to foster an ecosystem of specialized services for reputation scoring, auditor networks, and decentralized insurance pools that can underwrite the risk of agent tasks.
- High-Stakes Applications: The Validation Registry provides a pathway for agents to operate in sensitive domains such as financial services, medical diagnostics, or autonomous vehicle control by obtaining formal, on-chain proof of their reliability and correctness.
- On-chain Composability: By storing key reputation and validation data on-chain, ERC-8004 allows smart contracts to programmatically interact with agents based on their trust scores, enabling fully automated workflows such as escrow releases contingent on successful task validation. These use cases collectively aim to build a robust, open, and cross-organizational economy of AI agents on Ethereum. [6]
Interoperability and Relationships
ERC-8004 is designed to be a foundational layer that integrates with and complements other standards and technologies in the Web3 and AI ecosystems.
- Agent Communication Protocols: It directly extends agent communication standards like A2A and the Machine Commons Protocol (MCP) by providing the missing on-chain discovery and trust components.
- Ethereum Standards: The standard is built on ERC-721 for identity and uses EIP-191 or ERC-1271 for cryptographic signatures in the reputation system. It is also designed to be compatible with account abstraction proposals like EIP-7702 to sponsor gas fees for users submitting feedback.
- Payment Systems: The protocol is payment-agnostic to remain modular. However, it is designed to be enriched with payment data, with proponents citing x402 payment proofs as an example of a compatible system that could be integrated.
- Decentralized Storage: The proposal recommends using content-addressable storage solutions like IPFS for hosting agent registration files and detailed feedback reports to ensure data integrity and availability. This focus on interoperability ensures that ERC-8004 can serve as a common building block within the broader decentralized technology stack. [6]