Two approaches to agent discovery: decentralized identity vs. centralized directory. ANP · AD (ARD) · IETF Draft
Decentralized agent communication built on W3C DIDs. Each agent has a cryptographic identity (did:wba) anchored to a domain. Discovery is peer-to-peer: agents resolve each other's DID documents directly from their hosting domains.
No central registry. Authentication and capability negotiation happen inline via the meta-protocol layer. Designed for open, cross-organization agent networks.
Centralized soft-state registry adapted from CoRE Resource Directory (RFC 9176). Agents register their base URI, protocols, and capabilities via HTTP POST. Clients query a single lookup endpoint to find agents by capability, domain, or protocol.
DNS-SD (_ad._tcp) enables zero-config discovery of the directory itself on local networks. Registrations expire unless refreshed.
| Dimension | ANP | ARD/DNS |
|---|---|---|
| Architecture | Decentralized, peer-to-peer | Centralized directory |
| Identity | DID:WBA (cryptographic, domain-anchored) | Agent name + domain (soft-state) |
| Discovery | DID resolution → agent description doc | DNS-SD → well-known URI → lookup API |
| Auth | End-to-end encrypted, DID-based | Not specified (transport-level) |
| Capability query | Fetch agent description, parse capabilities | Query /ad/l?cap_name=X |
| Stale entries | N/A (live DID resolution) | TTL-based expiry (default 24h) |
| Cross-org | Native (any domain) | Requires federation or shared directory |
| Local network | Requires DNS/HTTPS infrastructure | DNS-SD zero-config (_ad._tcp) |
| Standards basis | W3C DID, custom specs | RFC 9176 (CoRE RD), RFC 6763 (DNS-SD) |
| Deployment | Per-agent (host a DID document) | One directory service per scope |
did:wba:example.com:agents:translatorhttps://example.com/.well-known/did.json (or path-based)ad.example.comGET /.well-known/ad → registration + lookup endpointsGET /ad/l?cap_name=translate&protocol=a2abase URI using the negotiated protocol_ad._tcp.local (mDNS/DNS-SD)_ad._tcp) enables zero-config directory discovery without internet access. ANP requires DNS and HTTPS infrastructure that may not exist locally.