# ERC-8004

> Trustless agent discovery and trust infrastructure using onchain identity, reputation, and validation registries for autonomous agents.

- Readiness score: **78/100** (score.v2)
- Integration difficulty: medium
- Chains: ethereum, base, base-sepolia, arbitrum-one, arbitrum-sepolia, avalanche, bsc, optimism, optimism-sepolia, polygon
- Categories: agents, identity, reputation, validation
- Last verified: 2026-06-03 by composewith.eth research (8004scan, EIP-8004, and erc-8004 contracts live-verified via WebFetch 2026-06-03) (confidence: high)

## Resources

- docs: https://eips.ethereum.org/EIPS/eip-8004
- sdk: https://github.com/erc-8004/erc-8004-contracts
- template: https://github.com/erc-8004/erc-8004-contracts
- support: https://8004scan.io/

## Good for

- agent discovery
- agent identity registries
- agent reputation signals
- validation records for autonomous agents

## Avoid for

- payment processing by itself; pair with x402 or another payment rail
- private agent directories that should not expose onchain identity or feedback signals

## Capabilities

### Agent identity registry (beta)
Best for: portable agent identities, agent registration files, A2A, MCP, ENS, DID, and service endpoint discovery
- ERC-8004 is still a draft ERC; production users should track spec and contract updates.

### Reputation and validation registries (beta)
Best for: public feedback signals, trust scoring inputs, agent validation records
- Reputation aggregation, Sybil resistance, and validator incentives need separate design.

## Composes with

- **x402** (payments_and_commerce; supports) — x402 supplies the paid HTTP request/payment rail that ERC-8004-registered agents can use for monetized services.
- **the-graph** (indexing_and_data; supports) — The Graph can index agent registry, feedback, and validation events for discovery surfaces.
- **goldsky** (indexing_and_data; supports) — Goldsky can stream agent registration, reputation, validation, and marketplace events.

## Known issues

- **ERC-8004 is a draft standard and does not include payment rails** (medium, confirmed) — workaround: Use ERC-8004 for agent identity, reputation, and validation; use x402 or another payment layer for settlement; monitor the EIP and contract repository for changes.
  - source: https://eips.ethereum.org/EIPS/eip-8004 (retrieved 2026-06-03, high)

---
Canonical: https://composewith.eth/protocols/erc-8004 · JSON: https://composewith.eth/protocols/erc-8004.json
