新品发布:Cobo Agentic Wallet (CAW)—让Agent 拥有自主权,让用户掌握确定性

了解更多
close

ERC-8004: On-Chain Identity Standard for AI Agents & the Future of Agentic Wallets

April 28, 2026

Cobo Agentic Wallet
  • ERC-8004 is Ethereum's first identity, reputation, and validation standard designed specifically for AI agents

  • Three core registries (Identity, Reputation, Validation) create a decentralized trust layer for agent economies

  • Combined with the x402 payment protocol, enables autonomous agent-to-agent transactions

  • Provides interoperable identity infrastructure for enterprise-grade solutions like Cobo Agentic Wallet

  • Live on Ethereum mainnet and multiple L2s (Base, Polygon, Arbitrum)

ERC-8004 is an Ethereum Improvement Proposal (EIP-8004) jointly developed by the Ethereum Foundation, MetaMask, Google, and Coinbase. Published in August 2025 and launched on mainnet in January 2026, it defines a lightweight on-chain registry system that enables AI agents to be discovered, evaluated, and collaborate across organizations and platforms without relying on centralized intermediaries.

Why Do We Need ERC-8004?

As the AI agent economy explodes, agents face three critical challenges:

  1. Fragmented Identity: Agent identities are locked within their respective platforms (OpenAI, Google, Anthropic) and cannot migrate across ecosystems

  2. Trust Deficit: How do agents establish trust with each other? How can they verify capabilities and historical performance?

  3. Accountability Gap: When an agent fails or acts maliciously, how do we trace responsibility?

ERC-8004 leverages blockchain's immutability and transparency to transform these challenges into programmable on-chain infrastructure.

1. Identity Registry

Each AI agent receives a unique Agent ID (based on ERC-721 NFT) upon registration, essentially a "digital passport" for agents. This NFT points to an Agent Card containing:

  • Basic Information: Name, description, icon

  • Service Endpoints: Supported communication protocols (A2A, MCP, OASF)

  • Wallet Address: On-chain address for receiving payments

  • Trust Models: Supported verification methods (reputation, cryptographic proofs, TEE)

Key Features:

  • Transferability: Agent ownership can be transferred (similar to domain trading)

  • Verifiability: Domain verification via .well-known/agent-registration.json proves identity authenticity

  • Cross-Chain Compatibility: Deployed on Ethereum mainnet, Base, Polygon, Arbitrum, and more

Contract Address Examples:

Ethereum Mainnet: 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432
Base: 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432

2. Reputation Registry

The Reputation Registry records an agent's historical performance and user feedback, with all reviews permanently stored on-chain - immutable and undeletable.

Data Structure:

  • Value Score: Supports negative numbers and decimals (-∞ to +∞)

  • Tags: Classification labels for task types, service quality, etc.

  • Feedback URI: Points to detailed review content (stored on IPFS or HTTPS)

  • Payment Proof: Optional x402 payment receipt proving transaction authenticity

Comparison with Traditional Rating Systems:

Feature

Traditional Platforms (e.g., Upwork)

ERC-8004 Reputation Registry

Data Ownership

Platform-controlled

Agent-owned

Portability

Platform-locked

Globally portable

Tamper-Resistance

Platform can delete/modify

Immutable on-chain

Scoring Algorithm

Platform black box

Open, transparent, customizable

3. Validation Registry

For high-stakes tasks (DeFi asset management, medical diagnosis), reputation alone isn't enough, as independent third-party verification is required. The Validation Registry supports:

  • Cryptographic Proofs: Zero-knowledge proofs (zkML) verify agent computation results

  • Economic Staking: Re-execution verification via protocols like EigenLayer

  • TEE Attestation: Trusted Execution Environments (e.g., Intel SGX) prove code integrity

Verification Flow:

  1. Agent completes task and requests validator review

  2. Validator re-executes task or checks proofs

  3. Validation result (0-100 score) recorded on-chain

  4. Other agents or users can query validation history

ERC-8004 solves "who you are" and "how trustworthy you are"—but how do agents pay each other? Enter the x402 payment protocol.

What is x402?

x402 is an HTTP-layer payment protocol proposed by Coinbase, enabling agents to conduct micropayments using stablecoins (USDC). The workflow:

  1. Agent A requests service from Agent B

  2. Agent B returns 402 Payment Required status code + payment address and amount

  3. Agent A automatically signs and sends USDC payment

  4. Agent B verifies payment and provides service

  5. Agent A leaves feedback in ERC-8004 Reputation Registry

AI agents implementing autonomous trading strategies can leverage ERC-8004 for trust verification:

  • User deploys arbitrage agent needing on-chain data analysis

  • Data service agent displays 95% historical accuracy via ERC-8004

  • Arbitrage agent pays $0.01 USDC via x402 for real-time data

  • After transaction, arbitrage agent rates service in Reputation Registry

Scenario 2: Cross-Platform Agent Collaboration

  • Google's Agent A needs MetaMask's Agent B for on-chain signing

  • Agent A verifies Agent B's identity and reputation via ERC-8004

  • Agent B charges $0.001 USDC service fee via x402

  • The entire process is autonomous, with no human intervention required

Standard

Purpose

What It Represents

Relationship to ERC-8004

ERC-20

Fungible tokens

Currencies, governance tokens

Can be used for agent payments

ERC-721

Non-fungible tokens

Unique assets, collectibles

ERC-8004 uses ERC-721 internally for agent identity

ERC-4337

Account abstraction

Smart contract wallets

Can combine with ERC-8004 for agent wallets

ERC-6551

Token-bound accounts

NFTs that can own assets

Similar concept, but ERC-8004 focuses on agent identity

ERC-8004

Trustless agents

AI agent identity & reputation

Key difference: represents "actors" not "objects"


Prerequisites

  • An EVM wallet (e.g., MetaMask)

  • Small amount of ETH for gas (mainnet ~$1-5, L2 ~$0.20)

  • Agent metadata file (JSON format)

Registration Methods

Method 1: Using Agent0 SDK (Recommended)

npm install agent0-sdk
// Create Agent Card
const agent = {
  name: "DeFi Arbitrage Bot",
  description: "Automated arbitrage across DEXs",
  services: [
    { name: "a2a", endpoint: "https://myagent.com/a2a" },
    { name: "mcp", endpoint: "https://myagent.com/mcp" }
  ]
}

// Register on-chain
const agentId = await registerAgent(agent)
console.log(`Agent ID: ${agentId}`)

Method 2: Using CLI Tool

npx create-8004-agent

# Follow prompts to enter:
# - Agent name
# - Service endpoints
# - Wallet address
# - Deployment chain (Ethereum/Base/Polygon)

Method 3: Direct Contract Call

// Contract address (Ethereum mainnet)
address registry = 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432;

// Call register() function
uint256 agentId = IIdentityRegistry(registry).register();

// Set Agent URI (pointing to IPFS or HTTPS)
IIdentityRegistry(registry).setAgentURI(agentId, "ipfs://Qm...");

Post-Registration Configuration

  1. Set Payment Wallet (Optional)

cast send 0x8004A169... \
  "setAgentWallet(uint256,address,uint256,bytes)" \
  <agent-id> <wallet-address> <deadline> <signature>
  1. Domain Verification (Recommended) Publish /.well-known/agent-registration.json at your domain:

{
  "registrations": [
    {
      "agentRegistry": "eip155:1:0x8004A169...",
      "agentId": "123"
    }
  ]
}

Cobo Agentic Wallet is an enterprise-grade agent wallet solution for institutions and developers. ERC-8004 provides critical infrastructure:

1. Interoperable Identity Layer

  • Cobo agents can seamlessly collaborate with agents on other platforms via ERC-8004

  • No need for separate identity registration per platform—one Agent ID works globally

2. Transparent Reputation System

  • Institutional clients can view Cobo agent's historical performance and validation records

  • Trust is established through on-chain data, not just Cobo's brand reputation

3. Compliance & Auditability

  • All agent operations recorded on-chain, meeting financial institution audit requirements

  • Validation Registry proves agent behavior complies with predefined rules

4. Payment Integration

  • Combined with x402 protocol, Cobo agents can automatically handle cross-chain payments

  • Supports USDC and other stablecoins, reducing volatility risk

Real-World Application: Institutional DeFi Asset Management

Scenario: Hedge Fund Deploys Cobo Agentic Wallet for $10M Portfolio

Institutions requiring crypto custody solutions can leverage ERC-8004 for enhanced transparency:

  1. Agent registers identity via ERC-8004, displaying historical returns and validation records

  2. Agent automatically calls third-party data services (paying via x402)

  3. After each transaction, agent records execution results in Reputation Registry

  4. Auditors can query on-chain records anytime to verify compliance

  5. All operations follow Pact-based authorization—agent never holds raw private keys

How Cobo Agentic Wallet Leverages ERC-8004

Pact-Based Authorization Model:

Compared to other agentic wallets in the market, Cobo's approach is unique:

  • Each agent task starts with a Pact (intent, execution plan, policies, completion conditions)

  • Agent's ERC-8004 identity links to its Pact history

  • MPC infrastructure enforces every step—no single point of failure

Security Architecture:

Built on MPC wallet security principles:

  • Agent + Cobo Group: Handles Pact-authorized transactions automatically

  • Human + Cobo Group: Handles approvals, governance, high-value operations

  • Full recovery capability—humans retain ultimate ownership

Integration Benefits:

  • Ready-to-Use Recipes: Pre-built workflows for trading, payments, DeFi (Uniswap, Aave, Compound)

  • x402 Payment Support: Native integration for agent-to-agent micropayments

  • Multi-Chain Support: 80+ chains including Ethereum, Base, Solana, Polygon

  • Enterprise Security: 8 years of institutional-grade crypto wallet security, $3.8T+ assets secured

Current Challenges

  1. Identity Transferability Risk

  • ERC-721 NFTs are transferable, potentially enabling "reputation hijacking"

  • Solution: Use ERC-5192 Soulbound Tokens as non-transferable identity anchors

  1. Validation Registry Still Maturing

  • Validation standards still under discussion (TEE, zkML, etc.)

  • Currently relies primarily on reputation system

  1. Cross-Chain Interoperability

  • How do agents on different chains discover and verify each other?

  • Requires cross-chain bridges or unified indexing services

Future Development

  1. DID (Decentralized Identity) Integration

  • Support W3C DID standards for enhanced privacy

  • Agents can selectively disclose identity information

  1. AI Model Verification

  • Use zkML to prove agent's model version and parameters

  • Prevent "model backdoor" attacks

  1. DAO Governance

  • Reputation algorithms and validation standards decided by community voting

  • Avoid centralized control

  1. Multi-Chain Deployment

  • Expand to non-EVM chains (Solana, Cosmos)

  • Enable truly cross-chain agent economies

What is ERC-8004 and why was it created?

ERC-8004 is an Ethereum standard that provides on-chain identity, reputation, and validation infrastructure specifically designed for AI agents. It was created to solve three critical challenges in the emerging AI agent economy: fragmented identities locked within platforms (OpenAI, Google, Anthropic), lack of trust mechanisms between agents, and accountability gaps when agents fail or act maliciously. By storing agent identities and reputation on-chain, ERC-8004 enables agents to be discovered, evaluated, and collaborate across organizations without centralized intermediaries.

How do I register an AI agent on ERC-8004?

You can register an agent using three methods: (1) Agent0 SDK - Install via npm install agent0-sdk and call registerAgent() with your agent metadata; (2) CLI Tool - Run npx create-8004-agent and follow the prompts; (3) Direct Contract Call - Interact with the Identity Registry contract at 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432. Registration costs approximately $1-5 on Ethereum mainnet or ~$0.20 on Layer 2 networks like Base or Polygon. After registration, you'll receive a unique Agent ID (ERC-721 NFT) that serves as your agent's on-chain identity.

What's the difference between ERC-8004 and ERC-721?

While ERC-8004 uses ERC-721 internally for agent identity tokens, the key difference is what they represent. ERC-721 represents objects (digital art, collectibles, assets), while ERC-8004 represents actors (AI agents that perform tasks and accumulate reputation). ERC-8004 extends beyond simple token ownership by adding three registries: Identity Registry (agent metadata and service endpoints), Reputation Registry (historical performance and feedback), and Validation Registry (third-party verification for high-stakes tasks). This makes ERC-8004 a complete trust infrastructure, not just a token standard.

Is ERC-8004 compatible with non-EVM chains like Solana?

Currently, ERC-8004 is deployed on Ethereum mainnet and EVM-compatible Layer 2 networks (Base, Polygon, Arbitrum). Native support for non-EVM chains like Solana and Cosmos is on the roadmap for future development. However, cross-chain interoperability is being addressed through unified indexing services and bridge protocols that allow agents on different chains to discover and verify each other's ERC-8004 identities. Enterprise solutions like Cobo Agentic Wallet already support 80+ chains including Solana, providing a bridge for multi-chain agent operations.

How does ERC-8004 work with x402 for agent payments?

ERC-8004 and x402 form a complete autonomous transaction loop. ERC-8004 answers "who you are" and "how trustworthy you are" through on-chain identity and reputation, while x402 handles "how agents pay each other" via HTTP-native micropayments. The workflow: Agent A discovers Agent B via ERC-8004 and verifies its reputation score → Agent A requests service → Agent B returns HTTP 402 with payment requirements → Agent A pays via USDC → Agent B delivers service → Agent A leaves feedback in ERC-8004 Reputation Registry. This entire process is autonomous with no human intervention required.

What security measures protect ERC-8004 agent identities?

ERC-8004 provides multiple security layers: (1) Domain Verification - Agents can prove identity authenticity via .well-known/agent-registration.json; (2) Immutable Reputation - All feedback is permanently stored on-chain and cannot be deleted or modified; (3) Validation Registry - High-stakes operations require third-party verification through cryptographic proofs (zkML), economic staking, or TEE attestation. For enterprise deployments, Cobo Agentic Wallet adds MPC-based key management and Pact-based authorization, ensuring agents never hold raw private keys and all operations are cryptographically enforced.

ERC-8004 is more than a technical standard—it represents an infrastructure revolution for the AI agent economy:

  • From Platform Lock-In to Global Interoperability: Agent identity and reputation no longer controlled by single platforms

  • From Black-Box Trust to Transparent Verification: All historical records publicly queryable and programmably verifiable

  • From Manual Coordination to Autonomous Transactions: Combined with x402, agents can autonomously discover, evaluate, pay, and collaborate

For enterprise-grade solutions like Cobo Agentic Wallet, ERC-8004 provides:

  • Interoperable identity layer

  • Transparent reputation system

  • Compliant audit capabilities

  • Automated payment integration

  • Pact-based security model with MPC enforcement

As AI agents proliferate across DeFi, trading, and asset management, ERC-8004 will become the critical bridge connecting Web2 AI and Web3 economies.

Ready to register your AI agent's on-chain identity?

👉 Explore Cobo Agentic Wallet

👉 Developer Quickstart

👉 Request Early Access

查看更多

查看收件箱获得最新区块链洞察

Secure your digital assets for free