Introduction
As AI agents become increasingly autonomous and distributed, traditional networking paradigms like static DNS are proving inadequate. Static endpoints fail to scale effectively and do not account for the "context" of a connection—factors such as geographic proximity, security requirements, and real-time resource availability. For example, a mobile robot communicating with a local processing unit should not have its traffic routed through a distant data center simply because of a static URL. The NANDA Adaptive Resolver proposes a "DNS for AI" that understands not just where an agent is, but how it should communicate based on the current network state and agent-specific requirements.
Proposed Architecture
The NANDA framework introduces a microservice-based architecture designed for dynamic, context-aware resolution.
Hierarchical Naming and Registration
The system utilizes Uniform Agent Locators (UALs), such as ual:nanda.mit.edu:lab15:robot42. This hierarchical structure allows for granular delegation of responsibility across different administrative domains. Agents advertise their capabilities and communication requirements through Agent Fact Cards.
As shown in the registration workflow, an intermediate name server registers as the owner of a zone, and the target agent records its name and resources. Finally, the agent registers its functionality and communication requirements into a discovery service, making it searchable by other entities.
Recursive Resolution and Negotiation
Unlike standard DNS, which returns a simple IP address, the NANDA Adaptive Resolver treats resolution as a multi-step negotiation. A Recursive Resolver traverses the hierarchy to locate the Authoritative Name Server for a specific agent.
The resolution process (Steps 0-9) involves querying the name space and intermediate servers until the authoritative server is reached. This server then "tailors" the response based on the requester's context, potentially optimizing for latency or security before returning a final URL.
Key Insights
- Resolution as Negotiation: The system can return different "Tailored Responses" to different requesters for the same target agent, optimizing for factors like Quality of Service (QoS) and trust.
- Agent Mobility: The architecture supports moving a requester's code closer to the target (or vice versa) to minimize latency for high-intensity interactions.
- Separation of Concerns: By distinguishing between Discovery (finding what an agent does) and Resolution (connecting to it), deployment details can remain private until a secure channel is established.
- Leveraging Existing Infrastructure: The proposal integrates with existing DNS registries and REST API standards, ensuring compatibility with current security and hosting frameworks.
Future Work
Currently a conceptual "Request for Comments" (RFC), the Adaptive Resolver requires formal OpenAPI specifications and rigorous scale testing. Future development will focus on defining the specific algorithms for negotiation and optimization to handle the high-velocity traffic expected in agentic ecosystems.
This paper is based on the NANDA Adaptive Resolver architectural proposal (V0.1).
Summary updated