EXPERIMENTALIETF (Internet-Draft)

Agent Name Service (ANS)

1 min read

DNS-based discovery system for AI agents with PKI trust.

Overview

As AI agents proliferate, how do you find the right agent for a task? ANS proposes using DNS—the same system that resolves domain names—for agent discovery.

Key Innovation

ANS combines two proven technologies:

  • DNS: Scalable, distributed name resolution
  • PKI (X.509 Certificates): Cryptographic identity verification

How It Works

  1. Agent Registration: Agents register DNS records with their capabilities
  2. Discovery Query: Clients query DNS for agents matching criteria
  3. Identity Verification: PKI certificates prove agent authenticity
  4. Connection: Client connects to verified agent endpoint

Protocol-Agnostic

ANS focuses only on discovery. Once agents are found, they can communicate via any protocol (A2A, ANP, MCP, etc.).

Relationship to Other Standards

  • Complements A2A: Can discover A2A-compatible agents
  • Alternative to Agent Cards: Decentralized instead of well-known paths
  • Works with BANDAID: Part of broader IETF agent discovery work
Quick Info
Architecturedistributed
Message FormatDNS Records
TransportDNS
Agent-to-Agent Features
Discovery
Negotiation
Streaming
Bidirectional
Multi-Agent
Stay Updated

Get notified when protocols evolve.

Subscribe
Strengths
  • Leverages existing DNS infrastructure
  • Cryptographic identity via PKI
  • Scalable and decentralized
  • Protocol-agnostic
Considerations
  • Early draft stage
  • Requires PKI infrastructure
  • DNS propagation delays
Tags
discoverydnsietfpki

Compare with Other Protocols

Compare against:(2/2)
Agent Name Service (ANS)(current)
Strengths
Agent Name Service (ANS)
experimental
  • Leverages existing DNS infrastructure
  • Cryptographic identity via PKI
  • Scalable and decentralized
AG-UI Protocol
beta
  • Purpose-built for frontend integration
  • Human-in-the-loop patterns built-in
  • Framework-agnostic design
Agent Network Protocol (ANP)
experimental
  • Fully decentralized—no central authority
  • Strong privacy through DID-based identity
  • Semantic interoperability
Considerations
Agent Name Service (ANS)
  • Early draft stage
  • Requires PKI infrastructure
  • DNS propagation delays
AG-UI Protocol
  • Frontend-specific scope
  • No agent discovery
  • Smaller community than MCP/A2A
Agent Network Protocol (ANP)
  • Early stage (experimental)
  • Smaller ecosystem
  • Complex implementation
Best For
Agent Name Service (ANS)
Finding agents by capabilityVerifying agent identityCross-platform discovery
AG-UI Protocol
AI-powered chat interfacesCollaborative document editingApproval workflow UIsReal-time agent dashboards
Agent Network Protocol (ANP)
Decentralized agent marketplacesCross-organizational collaborationPrivacy-preserving networksFederated research systems
Technical Details
Agent Name Service (ANS)AG-UI ProtocolAgent Network Protocol (ANP)
Architecturedistributedevent-drivendecentralized
Message FormatDNS RecordsJSON EventsJSON-LD
TransportDNSSSE, WebSocket, HTTP WebhooksHTTP/HTTPS, WebSocket, DIDComm
Versiondraft-001.00.1
SDKsTypeScript, Python, ReactPython, TypeScript
Architecture
Agent Name Service (ANS)distributed
AG-UI Protocolevent-driven
Agent Network Protocol (ANP)decentralized
Message Format
Agent Name Service (ANS)DNS Records
AG-UI ProtocolJSON Events
Agent Network Protocol (ANP)JSON-LD
Transport
Agent Name Service (ANS)DNS
AG-UI ProtocolSSE, WebSocket, HTTP Webhooks
Agent Network Protocol (ANP)HTTP/HTTPS, WebSocket, DIDComm
Version
Agent Name Service (ANS)draft-00
AG-UI Protocol1.0
Agent Network Protocol (ANP)0.1
SDKs
Agent Name Service (ANS)
AG-UI ProtocolTypeScript, Python, React
Agent Network Protocol (ANP)Python, TypeScript