{
  "schema_version": "protocol.v1",
  "slug": "erc-8004",
  "name": "ERC-8004",
  "status": "beta",
  "website": "https://8004scan.io/",
  "summary": "Trustless agent discovery and trust infrastructure using onchain identity, reputation, and validation registries for autonomous agents.",
  "categories": [
    "agents",
    "identity",
    "reputation",
    "validation"
  ],
  "chains": [
    "ethereum",
    "base",
    "base-sepolia",
    "arbitrum-one",
    "arbitrum-sepolia",
    "avalanche",
    "bsc",
    "optimism",
    "optimism-sepolia",
    "polygon"
  ],
  "best_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"
  ],
  "integration_difficulty": "medium",
  "tags": [
    "erc-8004",
    "agents",
    "identity-registry",
    "reputation",
    "validation"
  ],
  "composition": [
    {
      "slug": "x402",
      "role": "payments_and_commerce",
      "direction": "supports",
      "relationship": "x402 supplies the paid HTTP request/payment rail that ERC-8004-registered agents can use for monetized services.",
      "best_for": [
        "agent service discovery plus per-request payments"
      ]
    },
    {
      "slug": "the-graph",
      "role": "indexing_and_data",
      "direction": "supports",
      "relationship": "The Graph can index agent registry, feedback, and validation events for discovery surfaces."
    },
    {
      "slug": "goldsky",
      "role": "indexing_and_data",
      "direction": "supports",
      "relationship": "Goldsky can stream agent registration, reputation, validation, and marketplace events."
    }
  ],
  "docs": {
    "url": "https://eips.ethereum.org/EIPS/eip-8004",
    "verified_at": "2026-06-03"
  },
  "sdk": {
    "url": "https://github.com/erc-8004/erc-8004-contracts",
    "verified_at": "2026-06-03"
  },
  "template": {
    "url": "https://github.com/erc-8004/erc-8004-contracts",
    "verified_at": "2026-06-03"
  },
  "support": {
    "url": "https://8004scan.io/",
    "verified_at": "2026-06-03"
  },
  "grant": {
    "url": null,
    "verified_at": "2026-06-03"
  },
  "capabilities": [
    {
      "name": "Agent identity registry",
      "status": "beta",
      "type": "ecosystem_primitive",
      "best_for": [
        "portable agent identities",
        "agent registration files",
        "A2A, MCP, ENS, DID, and service endpoint discovery"
      ],
      "known_issues": [
        "ERC-8004 is still a draft ERC; production users should track spec and contract updates."
      ],
      "agent_actions": [
        "recommend_agent_identity_layer",
        "generate_agent_registration_plan"
      ]
    },
    {
      "name": "Reputation and validation registries",
      "status": "beta",
      "type": "integration_workflow",
      "best_for": [
        "public feedback signals",
        "trust scoring inputs",
        "agent validation records"
      ],
      "known_issues": [
        "Reputation aggregation, Sybil resistance, and validator incentives need separate design."
      ],
      "agent_actions": [
        "generate_agent_trust_checks",
        "recommend_reputation_indexing"
      ]
    }
  ],
  "known_issues": [
    {
      "id": "erc-8004-draft-status",
      "title": "ERC-8004 is a draft standard and does not include payment rails",
      "description": "ERC-8004 is useful for discovering and trusting agents, but payments are explicitly out of scope and the ERC remains draft status. Builders should pair it with x402 for payment flows and track spec changes before production.",
      "severity": "medium",
      "status": "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.",
      "citations": [
        {
          "url": "https://eips.ethereum.org/EIPS/eip-8004",
          "quote": "Payments are orthogonal to this protocol and not covered here. However, examples are provided showing how x402 payments can enrich feedback signals.",
          "retrieved_at": "2026-06-03",
          "confidence": "high",
          "algo": "sha256",
          "content_sha256": "bf9c5d8071e10f416d369cd38f099c37dbe5719b83fc7bc0c588f384806f4557"
        }
      ]
    }
  ],
  "sources": [
    {
      "label": "8004scan explorer",
      "url": "https://8004scan.io/",
      "type": "website"
    },
    {
      "label": "ERC-8004 specification",
      "url": "https://eips.ethereum.org/EIPS/eip-8004",
      "type": "docs"
    },
    {
      "label": "ERC-8004 contracts",
      "url": "https://github.com/erc-8004/erc-8004-contracts",
      "type": "github"
    },
    {
      "label": "ERC-8004 website",
      "url": "https://8004.org/",
      "type": "docs"
    }
  ],
  "provenance": {
    "verified_at": "2026-06-03",
    "verified_by": "composewith.eth research (8004scan, EIP-8004, and erc-8004 contracts live-verified via WebFetch 2026-06-03)",
    "confidence": "high"
  },
  "readiness_score": 78,
  "readiness_factors": [
    {
      "key": "docs_present",
      "points": 10,
      "max": 10,
      "detail": "Docs URL present"
    },
    {
      "key": "sdk_present",
      "points": 8,
      "max": 8,
      "detail": "SDK URL present"
    },
    {
      "key": "template_present",
      "points": 6,
      "max": 6,
      "detail": "Template/quickstart present"
    },
    {
      "key": "support_present",
      "points": 6,
      "max": 6,
      "detail": "Support channel present"
    },
    {
      "key": "capability_depth",
      "points": 13,
      "max": 20,
      "detail": "Agent identity registry: ecosystem_primitive; Reputation and validation registries: integration_workflow"
    },
    {
      "key": "production_capability",
      "points": 0,
      "max": 15,
      "detail": "No production-ready capability"
    },
    {
      "key": "provenance_confidence",
      "points": 5,
      "max": 5,
      "detail": "Protocol provenance confidence is high"
    },
    {
      "key": "chain_coverage",
      "points": 10,
      "max": 10,
      "detail": "5 chain(s) (capped at 5)"
    },
    {
      "key": "freshness",
      "points": 10,
      "max": 10,
      "detail": "Last verified 7 day(s) ago"
    },
    {
      "key": "no_open_critical",
      "points": 10,
      "max": 10,
      "detail": "No open critical issues"
    }
  ],
  "readiness_caps": [],
  "scoring_version": "score.v2"
}