{
 "url": "https://agenticweb.wiki/compare/erc-8004-vs-ans/",
 "title": "ERC-8004 vs ANS: differences & adoption",
 "description": "ERC-8004 vs ANS: architecture differences, wire formats, governance, and verified ecosystem adoption.",
 "markdown_url": "https://agenticweb.wiki/compare/erc-8004-vs-ans/index.md",
 "markdown": "# ERC-8004: Trustless Agents vs Agent Name Service v2 (ANS)\n\n**Domain:** Workload Identity, OAuth Profiles & Cryptographic Signatures · **Relationship:** Related specifications\n\n- **ERC-8004: Trustless Agents** *(peer alternative to Agent Name Service v2 (ANS))*: ERC-8004 identifies an agent with on-chain Identity and Reputation registries and /.well-known/agent-registration.json, while ANS identifies it with a DNSSEC domain, TXT records, and a transparency log. [4][13]\n- **Agent Name Service v2 (ANS)** *(peer alternative to ERC-8004: Trustless Agents)*: ANS publishes `_ans` TXT and `_ans-badge` records; ERC-8004 uses `{namespace}:{chainId}:{identityRegistry}` plus agentId. [4][12]\n\n## Quick facts comparison\n\n| Field | ERC-8004: Trustless Agents | Agent Name Service v2 (ANS) |\n| --- | --- | --- |\n| **Category** | [Identify](/category/identify/) | [Identify](/category/identify/) |\n| **Tier & lifecycle** | Flagship · Active | Spec Brief · Active Draft |\n| **Track** | Community; EIP `type: Standards Track`, `category: ERC`. [4][5] | Linux Foundation open-source specification (`ANS-0`–`ANS-6` at `github.com/agentnameservice`, originated under OWASP) and individual IETF Internet-Draft (`draft-narajala-courtney-ansv2-02`, Intended status: Informational) [12][13][17] |\n| **IETF tracker** | — | `draft-narajala-courtney-ansv2-02` · **Active Internet-Draft** (expires 2027-04-29) · Individual · as of 2026-10-30 ([per IETF Datatracker](https://datatracker.ietf.org/doc/draft-narajala-courtney-ansv2/)) |\n| **Originated by** | Marco De Rossi (@MarcoMetaMask), Davide Crapis (@dcrapis), Jordan Ellis, and Erik Reppel; created 2025-08-13 [4] | Ken Huang, Vineeth Sai Narajala, Idan Habler, and Akram Sheriff under OWASP (`ANS v1.0`, May 2025); ANS v2 led by Scott Courtney (GoDaddy) with the original co-authors [12][13][15] |\n| **Governed by** | Community effort: Marco De Rossi (MetaMask), Davide Crapis (EF), Jordan Ellis (Google), Erik Reppel (Coinbase). [4][5] | Linux Foundation project (announced Nov. 10, 2026): governed by the project's technical steering committee under the Linux Foundation. Individual IETF Internet-Draft (`No stream defined`); open-source specs (`ANS-0`–`ANS-6`) at `github.com/agentnameservice`. [12][13][16][17] |\n| **Status** | Draft (created 2025-08-13). Mainnet Identity and Reputation live since 2026-01-29; Validation Registry unavailable. [4][5][9][10][11] | Active draft (`-02` posted 2026-10-26, expires 2027-04-29; `-01` expired 2026-10-15). GoDaddy calls its service production while its registry page lists \"Publish Agent (Coming Soon)\" and \"Manage Agents (Coming Soon)\". [12][14][18] |\n| **Latest version** | Draft EIP; registration schema `eip-8004#registration-v1` (per-endpoint `version` field is `SHOULD`) [4] | `draft-narajala-courtney-ansv2-02` (`2026-10-26`, expires `2027-04-29`); `ANS-3 v0.1.0` (`2026-06-29`); `agentnameservice/ans` `v0.1.6` (`2026-06-26`) [12][14][18] |\n| **Form** | On-chain registry | DNS record |\n| **Wire / transport** | ERC-721 with URIStorage. `tokenId` is `agentId` and `tokenURI` is `agentURI`. `agentRegistry` is `{namespace}:{chainId}:{identityRegistry}`. [4] | DNS `TXT` (`_ans-badge`, `_ans`, legacy `_ra-badge`), `SVCB` (`ANS_DNSAID`), `HTTPS`, and `TLSA`; X.509 v3 certificates; RFC 9449 DPoP headers; C2SP `c2sp-tlog/v1` checkpoints/tiles; CBOR `COSE_Sign1` (RFC 9052 tag 18, ES256) receipts [13][19][20] |\n| **Found at** | `/.well-known/agent-registration.json` on an HTTPS endpoint domain (optional domain proof) [4][6] | `_ans-badge.{agentHost}` `TXT`, `_ans.{agentHost}` `TXT`, `{agentHost}` `SVCB` / `HTTPS`, `_{port}._tcp.{agentHost}` `TLSA`, RFC 9449 `DPoP` header, and `/v1/log/checkpoint`, `/tile/entries/*`, `/root-keys`, `/v1/agents/{agentId}` [13][19][20] |\n| **Primary specification** | [ERC-8004: Trustless Agents](https://eips.ethereum.org/EIPS/eip-8004) [4][6] | [draft-narajala-courtney-ansv2-02.txt](https://www.ietf.org/archive/id/draft-narajala-courtney-ansv2-02.txt) · [ANS-3 DNS Publication](https://raw.githubusercontent.com/agentnameservice/ans-registry/main/spec/ans-3-dns-publication.md) · [agentnameservice/ans](https://raw.githubusercontent.com/agentnameservice/ans/main/README.md) · [draft-narajala-ans-00.txt](https://www.ietf.org/archive/id/draft-narajala-ans-00.txt) · [draft-dimare-ans-protocol-registry-00.txt](https://www.ietf.org/archive/id/draft-dimare-ans-protocol-registry-00.txt) [13][20][21] |\n| **Last checked** | 2026-11-06 | 2026-11-12 |\n\n## Problem, mechanism & scope\n\n- **ERC-8004: Trustless Agents problem, mechanism & scope boundary:** Model context protocol (MCP) allows servers to list and offer their capabilities (prompts, resources, tools, and completions), while Agent2Agent (A2A) handles agent authentication, skills advertisement via AgentCards, direct messaging, and complete task-lifecycle orchestration. However, these agent communication protocols don't inherently cover agent discovery and trust. [4] ERC-8004 uses blockchains to discover, choose, and interact with agents across organizational boundaries without pre-existing trust. Across its Identity, Reputation, and Validation registries, developers can combine client-feedback reputation, stake-secured re-execution, zero-knowledge machine learning (zkML) proofs, and trusted execution environment (TEE) oracles. [4] Payments are orthogonal to ERC-8004 and not covered by the specification. The `supportedTrust` field is OPTIONAL; if absent or empty, ERC-8004 is used only for discovery, not for trust. On `getSummary`, `clientAddresses` MUST be provided (non-empty); results without filtering by clientAddresses are subject to Sybil/spam attacks. While ERC-8004 cryptographically ensures the registration file corresponds to the on-chain agent, it cannot cryptographically guarantee that advertised capabilities are functional and non-malicious. [4]\n- **Agent Name Service v2 (ANS) problem, mechanism & scope boundary:** A relying party has no interoperable way to bind a discoverable agent endpoint to the holder of its domain (optionally verified as a legal entity), a specific software release, and an auditable issuance history. [13] A TLS server certificate names the hostname, which answers part of the first question. No interoperable record names the release running at the endpoint or its history. [13] ANS v2 composes systems the Internet already runs (the DNS with DNSSEC; the Web PKI, with DANE where operators publish it; and an append-only transparency log) and introduces no new root of trust. [13] This document does not define the wire format of discovery records (DNS-AID does), or the application protocols agents speak (MCP, A2A, and others). [13] ANS tells a verifier who an agent is; whether to trust or transact with that agent is the verifier's own decision, which a separate scoring service that reads ANS records can inform. [13] ANS-3 requires the discovery and trust records to sit in public DNS zones that any third party can query; a private zone or proprietary lookup channel does not conform. [13]\n\n## Overview\n\n### ERC-8004: Trustless Agents\n\n*ERC-8004 defines per-chain singleton identity, reputation, and validation registries; for the multi-registry minimal factory alternative using ERC-6909 and ERC-8048, see [ERC-8122](https://eips.ethereum.org/EIPS/eip-8122); for the job-escrow commerce layer that delegates identity and reputation to ERC-8004, see [ERC-8183](/protocols/erc-8183/); and for multi-dimensional risk-score verification of ERC-8004 agents, see [ERC-8126](/protocols/erc-8126/). [1][2][3]*\n\n**ERC-8004 (Trustless Agents)** is a Standards Track Ethereum Request for Comments (drafted August 13, 2025 by Marco De Rossi, Davide Crapis, Jordan Ellis, and Erik Reppel) that specifies three on-chain singleton registries (`IdentityRegistry`, `ReputationRegistry`, and `ValidationRegistry`) for discovering and evaluating autonomous agents across organizational boundaries without pre-existing trust. [4][5] Each agent is minted via `register(string agentURI)` as an ERC-721 token with `URIStorage` whose `agentURI` resolves to a registration JSON document (`\"type\": \"https://eips.ethereum.org/EIPS/eip-8004#registration-v1\"`) listing `services` entries (such as `A2A`, `MCP`, `OASF`, `ENS`, or `DID`), while binding payment addresses on-chain via `setAgentWallet`, alongside `supportedTrust` models (`reputation`, `crypto-economic`, and `tee-attestation`). Optionally, an agent can verify control of an HTTPS endpoint domain by serving a matching `registrations` entry at `/.well-known/agent-registration.json`. [4] While the EIP specification remains in `Draft` status on `eips.ethereum.org`, deterministic `CREATE2` singleton contracts for the Identity (`0x8004A169...`) and Reputation (`0x8004BAa1...`) registries launched on Ethereum Mainnet on January 29, 2026 and are deployed across peer EVM chains, whereas the Validation Registry remains under active specification update. [5][6][7][8][9]\n\n### Agent Name Service v2 (ANS)\n\n*This page is about the Agent Name Service in draft-narajala-courtney-ansv2, a DNS-anchored identity layer for AI agents, and the OWASP version 1 work it replaces. It is not [DNS-AID](/protocols/dns-aid/), whose SVCB records ANS reuses for discovery; not [AID](/protocols/aid/) or [ARD](/protocols/ard/), which GoDaddy names as separate discovery options; and not the unrelated \"ANS\" naming layer of the AGTP drafts. A companion draft proposes an IANA registry for ANS protocol identifiers. [12]*\n\n`draft-narajala-courtney-ansv2-02` specifies the architecture of Agent Name Service version 2 (ANS v2), an identity layer, anchored in DNS domains, that binds an agent endpoint to its domain holder, its release, and its history. [13] The draft header states intended status Informational. This Internet-Draft will expire on 29 April 2027. [13] Datatracker lists Document Type Active Internet-Draft (individual), last updated 2026-10-26, RFC stream (None), and intended RFC status (None). It states this I-D is not endorsed by the IETF and has no formal standing in the IETF standards process. [12] The registrant publishes a TXT record at `_ans-badge.{agentHost}` with the value `v=ans-badge1; version=v{version}; url={badgeURL}`, where badgeURL is the TL's public record for the registration. [13] A verifier reads the DNS records, certificates, and TL records and decides for itself. [13] ANS began as the Agent Name Service specification by Huang, Narajala, Habler, and Sheriff, which Vineeth Narajala brought to the IETF as I-D.narajala-ans. I-D.narajala-courtney-ansv2 then specified ANS v2. [13] The history table records 2026-10-26 as an uploaded new revision `02`, 2026-10-15 as \"Document has expired\" for revision `01`, and 2026-04-15 as the date this document now replaces `draft-narajala-ans`. [12] The IETF Datatracker document record lists `draft-narajala-courtney-ansv2` at revision `02`, posted on `2026-10-26` and expiring on `2027-04-29`. [14] Changes from `draft-narajala-courtney-ansv2-01` retitled the document from \"Trust Layer\" to \"Identity Layer\": ANS identifies an agent; whether to trust it is the relying party's decision, which a separate scoring service can inform. [13] The same changes adopted DNS-AID SVCB records as the default discovery format; the `_ans` TXT format is now an opt-in profile. [13]\n\n## Adoption and ecosystem\n\n### ERC-8004: Trustless Agents\n\nSee verified implementations and cited ecosystem censuses on the [ERC-8004: Trustless Agents protocol page](/protocols/erc-8004/#adoption-and-ecosystem).\n\n### Agent Name Service v2 (ANS)\n\nSee verified implementations and cited ecosystem censuses on the [Agent Name Service v2 (ANS) protocol page](/protocols/ans/#adoption-and-ecosystem).\n\n## References\n\n1. Prem Makeig (@nxt3d), *ERC-8122: Minimal Agent Registry*, created 2025-12-17 — https://eips.ethereum.org/EIPS/eip-8122\n2. Davide Crapis, Bryan Lim, Tay Weixiong, and Chooi Zuhwa, *ERC-8183: Agentic Commerce*, created 2026-02-25 — https://eips.ethereum.org/EIPS/eip-8183\n3. Leigh Cronian (Cybercentry) and Chris Johnson (Virtuals), *ERC-8126: AI Agent Verification*, created 2026-01-15 — https://eips.ethereum.org/EIPS/eip-8126\n4. Marco De Rossi, Davide Crapis, Jordan Ellis, and Erik Reppel, *ERCS/erc-8004.md (Trustless Agents)*, created 2025-08-13; fetched 2026-10-30 — https://raw.githubusercontent.com/ethereum/ERCs/master/ERCS/erc-8004.md\n5. erc-8004, *ERC-8004 contracts README*, fetched 2026-10-30 — https://raw.githubusercontent.com/erc-8004/erc-8004-contracts/master/README.md\n6. Marco De Rossi, Davide Crapis, Jordan Ellis, and Erik Reppel, *ERC-8004: Trustless Agents*, created 2025-08-13; fetched 2026-10-30 — https://eips.ethereum.org/EIPS/eip-8004\n7. Sudeep (sudeepb02), *Awesome ERC-8004*, fetched 2026-10-30 — https://raw.githubusercontent.com/sudeepb02/awesome-erc8004/main/README.md\n8. AI Rights Institute, *RNWY skill.md*, version 7.5.0; fetched 2026-10-30 — https://rnwy.com/skill.md\n9. ERC-8004 Community, *Welcome to ERC-8004 and the open agentic economy*, published 2026-01-29 — https://www.8004.org/blog/welcome-to-8004\n10. Xihan Xiong, Zelin Li, Wei Wei, Qin Wang, William Knottenbelt, and Zhipeng Wang, *Can Trustless Agents Be Trusted? An Empirical Study of the ERC-8004 Decentralized AI Agent Ecosystem*, submitted 2026-06-24; revised 2026-10-18 (v3) — https://arxiv.org/html/2606.26028\n11. ERC-8004 Community, *8004 Learn*, fetched 2026-10-30 — https://www.8004.org/learn\n12. Scott Courtney, Vineeth Sai Narajala, Ken Huang, Idan Habler, and Akram Sheriff, *draft-narajala-courtney-ansv2 — Agent Name Service v2 (ANS): A Domain-Anchored Trust Layer for Autonomous AI Agent Identity (IETF Datatracker)*, draft-narajala-courtney-ansv2-01; last updated 2026-10-15 — https://datatracker.ietf.org/doc/draft-narajala-courtney-ansv2/\n13. S. Courtney (GoDaddy), V. S. Narajala (OWASP), K. Huang (DistributedApps.ai), I. Habler (OWASP), and A. Sheriff (Cisco Systems), *Agent Name Service v2 (ANS): A Domain-Anchored Identity Layer for Autonomous AI Agents (draft-narajala-courtney-ansv2-02)*, checked 2026-10-30 — https://www.ietf.org/archive/id/draft-narajala-courtney-ansv2-02.txt\n14. IETF Datatracker API, *IETF Datatracker document record for draft-narajala-courtney-ansv2*, fetched 2026-10-30 — https://datatracker.ietf.org/api/v1/doc/document/draft-narajala-courtney-ansv2/?format=json\n15. K. Huang (DistributedApps.ai), V. S. Narajala (AWS), I. Habler (Intuit), and A. Sheriff (Cisco Systems), *Agent Name Service (ANS): A Universal Directory for Secure AI Agent Discovery and Interoperability (draft-narajala-ans-00)*, checked 2026-10-30 — https://www.ietf.org/archive/id/draft-narajala-ans-00.txt\n16. orgs/agentnameservice (GitHub), *agentnameservice — GitHub Organization API*, checked 2026-10-30 — https://github.com/agentnameservice\n17. The Linux Foundation, *Linux Foundation Welcomes Agent Name Service to Bring Verifiable Identity and Discovery to AI Agents*, published 10 November 2026; fetched 2026-11-11 — https://www.linuxfoundation.org/press/linux-foundation-welcomes-agent-name-service-to-bring-verifiable-identity-and-discovery-to-ai-agents\n18. IETF Datatracker API, *Revision events for draft-narajala-courtney-ansv2 (IETF Datatracker API)*, checked 2026-10-29 — https://datatracker.ietf.org/api/v1/doc/newrevisiondocevent/?doc__name=draft-narajala-courtney-ansv2&format=json&limit=50\n19. S. Courtney (GoDaddy), V. S. Narajala (OWASP), K. Huang (DistributedApps.ai), I. Habler (OWASP), and A. Sheriff (Cisco Systems), *Agent Name Service v2 (ANS): A Domain-Anchored Trust Layer for Autonomous AI Agent Identity (draft-narajala-courtney-ansv2-01)*, historical revision (checked 2026-10-30) — https://www.ietf.org/archive/id/draft-narajala-courtney-ansv2-01.txt\n20. Agent Name Service Project (agentnameservice/ans), *ans — Agent Name Service Reference Implementation (README.md)*, checked 2026-10-29 — https://raw.githubusercontent.com/agentnameservice/ans/main/README.md\n21. agentnameservice/ans-registry, *spec/ans-3-dns-publication.md*, checked 2026-10-29 — https://raw.githubusercontent.com/agentnameservice/ans-registry/main/spec/ans-3-dns-publication.md\n"
}