<?xml version="1.0" encoding="UTF-8"?>
<rfc ipr="trust200902" docName="draft-zhang-dawn-agent-discovery-framework-06" category="info"
     consensus="no">
    <front>
        <title>A Framework for Agent Discovery in DAWN</title>
        <author initials="B." surname="Zhang" fullname="Bin Zhang" role="editor">
            <organization>Pengcheng Laboratory</organization>
            <address>
                <postal>
                    <street>Sibilong Street</street>
                    <city>Shenzhen</city>
                    <country>CN</country>
                </postal>
                <email>zhangb@pcl.ac.cn</email>
            </address>
        </author>
        <author fullname="Linda Dunbar" initials="L. " surname="Dunbar">
        <organization>Futurewei</organization>
        <address>
        <postal>
        <city>Dallas, TX</city>
        <country>USA</country>
        </postal>
        <email>ldunbar@futurewei.com</email>
        </address>
        </author>
        <author fullname="Yixuan Yang" initials="Y." surname="Yang" role="editor">
            <organization>Sun Yat-sen University</organization>
            <address>
                <postal>
                    <street>Gongchang Street</street>
                    <city>Shenzhen</city>
                    <region>Guangdong</region>
                    <code>518055</code>
                    <country>CN</country>
                </postal>
                <email>yangyx277@mail2.sysu.edu.cn</email>
            </address>
        </author>
        <date year="2026" month="October" day="15" />
        <abstract>
            <t>The IETF DAWN (Discovery of Agents With Names) working group is chartered to enable a client to discover the minimum public discovery information about AI resources (e.g., AI agents) before interacting with them, within the local network, within an organization, and between cooperating parties over the public Internet.  Existing DAWN contributions include terminology, use cases, requirements, gap analysis, a discovery mechanism survey, and an information model for Minimum Discoverable Information (MDI).</t>
            <t>This document, the DAWN Discovery Architecture deliverable, describes a two-layer federated reference architecture for this initial discovery.  The first layer, the Local Discovery Plane, performs zero-configuration advertisement and collection of the minimum public discovery information inside each local site, without mandating a specific link-local protocol.  The second layer, the Federation Plane, builds a federation among site gateways to exchange lightweight Federation Metadata Records (FMRs) — a concrete binding of the minimum public discovery information — across independent administrative domains, and provides integrity for all exchanged discovery information.</t>
            <t>The architecture emphasizes data sovereignty through an Export Policy Engine, supports iterative discovery via referrals, delegation, and indirection, and allows organizations to publish their discovery information independently.  The Federation Plane is preferably realized over DNS (Mode A, DNS Delegation Model), in which each site publishes its FMRs as resource records in its own authoritative zone and other sites' validating resolvers obtain and verify them with DNSSEC, with delegation and referral between authoritative zones providing the primary means of inter-organizational interaction.  Alternatively, the Federation Plane MAY be realized over non-DNS synchronization modes (Mode B), selected according to the number and scale of participating organizations and the deployment scenario from BGP-like structured peering, gossip-based epidemic dissemination, and trusted directory publication; the modes may be combined.  The architecture supports multiple federation synchronization strategies and builds on existing IETF protocols such as DNS and mDNS.  This document is informational: it does not define normative protocol formats, nor does it compete with existing DAWN proposals such as ACAP, Agent Directory, or ARDP; rather, it provides a deployment framework showing how these mechanisms may be composed at administrative boundaries.  Consistent with the DAWN charter, open-ended search, semantic matchmaking, ranking, selection based on capabilities, capability catalogs, and communication beyond the initial discovery process are out of scope.</t>
        </abstract>
    </front>

    <middle>
        <section title="Introduction">
            <t>The IETF DAWN working group <xref target="I-D.akhavain-moussa-dawn-problem-statement"/> is chartered to enable a client to discover the minimum public discovery information about AI resources before interacting with them, covering the local network, an organization, and cooperating parties with trust relationships over the public Internet.  Its problem statement identifies that no single existing mechanism satisfies all discovery scenarios, particularly when crossing trust and administrative boundaries <xref target="I-D.moussa-dawn-gap-analysis"/>.  DAWN requirements <xref target="I-D.king-dawn-requirements"/> and use cases <xref target="I-D.kay-dawn-use-cases"/> scope discovery to obtaining the minimum public discovery information needed to reach and communicate with a resource: type, reachability information, communication protocol, and services.</t>
            <t>A growing number of individual submissions propose concrete mechanisms within this space: DNS-based naming extensions (DNS-AID <xref target="I-D.mozleywilliams-dnsop-dnsaid"/>, DN-ANR <xref target="I-D.cui-dns-native-agent-naming-resolution"/>); DNS-like hierarchical architectures (Agent Root, Agent Registry, Agent Resolver <xref target="I-D.yao-dawn-agent-discovery-architect"/>); mDNS/DNS-SD-based two-phase discovery <xref target="I-D.jakab-dawn-agent-discovery-mdns"/>; host-level self-description (A2A Agent Cards, ACAP <xref target="I-D.zahed-acap"/>, ANP agent-descriptions, api-catalog <xref target="RFC9727"/>); and registry protocols (Agent Directory <xref target="I-D.jimenez-agent-directory"/>, AGNTCY ADS <xref target="I-D.mp-agntcy-ads"/>).  A survey by Jimenez et al. <xref target="I-D.jimenez-dawn-discovery-landscape"/> compares these mechanisms and identifies gaps, including the lack of interoperable federation across administrative boundaries.</t>
            <t>Cui <xref target="I-D.cui-dawn-mdi-model"/> proposes an encoding-neutral information model for Minimum Discoverable Information (MDI) — a common header that any discovery response may carry, independent of transport or format.  MDI defines three mandatory elements (Entity Identifier, Entity Type, Endpoint) and a short set of recommended elements (Capability Summary, Authentication Hint, Trust Reference, Freshness).</t>
            <t>At the IETF 126 BoF, the discussion converged on a minimal set of building blocks for a workable solution: establishing initial context with a known and trusted party, a directory server holding registration records, and a data format for those records.  This architecture maps directly onto these three elements: the Federation Gateway (FGW) realizes the initial context and trust boundary with a remote party; the Federated Agent Directory (FAD) is the local store for accepted discovery records, serving as an on-demand cache for remote DNS results in Mode A; and the FMR is the data format, itself a concrete binding of MDI <xref target="I-D.cui-dawn-mdi-model"/>.</t>
            <t>This document complements the above work by defining a reference architecture for the initial discovery of the minimum public discovery information across the DAWN deployment contexts.  It addresses the "Administrative Scope Extensions" use case <xref target="I-D.kay-dawn-use-cases"/>, where discovery must cross organizational boundaries while preserving data sovereignty.  The architecture introduces a Federation Gateway (FGW) as the boundary component between a local site and external domains, and an Export Policy Engine that controls which agent metadata may leave the site.  It binds the minimum public discovery information into a lightweight Federation Metadata Record (FMR) for inter-gateway exchange.  Discovery may be iterative: a returned record may refer the client to a catalog or to another discovery endpoint via referral, delegation, or indirection, rather than returning a complete answer in a single step.</t>
            <t>This document does not define a new discovery protocol competing with ACAP, Agent Directory, or ARDP.  Instead, it shows how a site may deploy a gateway that federates with peer gateways, using existing or future DAWN protocols as the synchronization substrate.  The FGW concept fills a gap not yet addressed by existing proposals: the explicit modeling of the administrative boundary and per-peer export policy.  Consistent with the DAWN charter's orientation toward DNS and mDNS as mechanisms, the Federation Plane is preferably realized over DNS (Mode A, DNS Delegation Model): each site publishes its FMRs as resource records in its own authoritative zone, and other sites' validating resolvers obtain and verify them (e.g., with DNSSEC), with delegation and referral between authoritative zones providing the primary means of inter-organizational interaction.  Non-DNS synchronization modes (Mode B) — BGP-like structured peering, gossip-based epidemic dissemination, and trusted directory publication — remain alternatives selected according to federation scale and scenario, and the modes may be combined.</t>

            <section title="Document Scope">
                <t>This document defines a reference architecture for the initial discovery of the minimum public discovery information about AI resources within the DAWN deployment contexts: the local network, an organization, and cooperating parties with trust relationships over the public Internet.  It specifies logical layers, functional components, data flow, an integrity model, and deployment considerations for this discovery.</t>
            </section>

            <section title="Out of Scope">
                <t>The following items are explicitly out of scope for this informational document, consistent with the DAWN charter:</t>
                <t><list style="symbols">
                    <t>Normative protocol message formats, encodings, or state machines.  These are addressed in separate protocol specifications that may be developed based on this architecture.</t>
                    <t>Mandatory cryptographic algorithms or cipher suites.  The architecture requires transport security and metadata integrity, but specific algorithm selection is deferred to protocol documents.</t>
                    <t>A global root trust authority or certificate hierarchy.  The architecture supports federation-local trust models, consistent with DAWN's initial scope <xref target="CSA-DAWN-Note"/>.</t>
                    <t>Exchange of capability information beyond the minimum public discovery information; in particular, catalogs of capabilities are out of scope.  The FMR carries only the minimum public discovery information (type, reachability, communication protocol, services).</t>
                    <t>All communication beyond the initial discovery process, including any interaction, invocation, or selection that follows discovery.</t>
                    <t>Open-ended search, semantic matchmaking, ranking, or the selection of an AI resource based on capabilities or user intent.</t>
                    <t>Identity management of AI agents, tools, and skills.</t>
                    <t>Trust management and trust evaluation methods beyond secure content exchange between DAWN parties.  The architecture provides integrity for exchanged discovery information but does not define a general trust framework.</t>
                    <t>Agent runtime execution, task scheduling, or inter-agent communication protocols beyond discovery.</t>
                    <t>Business-level service level agreements or commercial federation governance rules.</t>
                    <t>Open-Internet-scale agent indexing — the "AI resource indexing across the wider Internet" case excluded by the DAWN charter — is out of scope.  Trusted directory publication (Section 7.2.3) is limited to publication to trusted or semi-public directories under explicit operator policy, and does not constitute open-Internet indexing.</t>
                </list></t>
            </section>

            <section title="Document Organization">
                <t>Section 2 defines terminology, aligned with DAWN <xref target="I-D.farrel-dawn-terminology"/>.  Section 3 states architectural requirements and maps them to DAWN requirements.  Section 4 positions this architecture relative to existing DAWN family protocols.  Section 5 provides a state-of-the-art review and gap analysis.  Section 6 defines the two-layer reference architecture and functional components.  Section 7 describes the inter-organizational interaction modes: Mode A (DNS delegation, preferred) and Mode B (non-DNS alternatives selected according to federation scale and scenario).  Section 8 presents the layered security model.  Section 9 covers resilience and operational considerations.  Section 10 describes the relationship between this architecture and normative protocol documents.  Section 11 is IANA considerations.  Appendix A provides detailed considerations for the federation synchronization modes: <xref target="appendix-dns"/> describes the preferred DNS delegation model (Mode A); <xref target="appendix-modeb"/> introduces the non-DNS alternatives (Mode B), with <xref target="appendix-peering"/>, <xref target="appendix-gossip"/>, and <xref target="appendix-directory"/> describing BGP-like structured peering, gossip-based epidemic dissemination, and trusted directory publication respectively.</t>
            </section>
        </section>

        <section title="Terminology">
            <t>This document uses terms defined in <xref target="I-D.farrel-dawn-terminology"/>, including Entity, Discovery, Discovery Information, Discoverable Object, Minimum Discoverable Information (MDI), Capability Card, and Trust Indicator.  The following additional terms are defined for the purpose of this architecture:</t>
            <t><list style="symbols">
                <t><strong>Agent</strong>: An autonomous network-resident entity that can execute tasks, expose service interfaces, and advertise capability metadata.  Aligns with the DAWN definition of Entity when the entity type is "agent".</t>
                <t><strong>Administrative Domain</strong>: A network or set of networks under a single organizational authority, with its own security and operational policies.  Equivalent to the DAWN scope concept.</t>
                <t><strong>Federation Metadata Record (FMR)</strong>: A lightweight, sanitized descriptive record of an AI resource, exchanged among Federation Gateways in the Federation Plane.  An FMR carries the minimum public discovery information for cross-domain transport, including Entity Identifier, Entity Type, reachability/locator, communication protocol, services, status, and time-to-live. This information MAY be represented using the DAWN Minimum Discoverable Information (MDI) model <xref target="I-D.cui-dawn-mdi-model"/> or derived from resource information supplied through the Resource Publication Hook <xref target="I-D.dunbar-dawn-infra-assisted-discovery"/>. An FMR does not carry capability information beyond the minimum public discovery information. The concrete TLV encoding of an FMR is left to the synchronization protocol specifications that may be developed based on this architecture.</t>
                <t><strong>Capability Card</strong>: A fuller description of an agent's capabilities.  Exchange of capability information beyond the minimum public discovery information is out of scope for DAWN's initial phase (see Section 1.2); this architecture does not distribute or retrieve Capability Cards as part of discovery.  ACAP's Agent Capability Document (ACD) <xref target="I-D.zahed-acap"/> and A2A Agent Cards are examples of such fuller descriptions.</t>
                <t><strong>Site / Local Domain</strong>: An independent administrative area, typically one local-area network or a single tenant namespace, where agents run.</t>
                <t><strong>Federation Gateway (FGW)</strong>: A network component deployed at the boundary of a local site.  It obtains agent discovery information collected through LAN-based discovery, infrastructure-assisted discovery, or both, applies export policy, constructs FMRs, and participates in cross-domain federation. A local infrastructure gateway MAY be implemented separately from, or integrated with, the FGW.  The FGW realizes the boundary function between DAWN's local discovery and cross-domain registry planes.  In the preferred DNS realization (Mode A), the FGW acts as an authoritative publisher in the site's zone -- publishing its FMRs as resource records or, in the pointer-only form, bootstrap records advertising the FGW discovery directory endpoint -- and as a validating resolver that queries and verifies peer zones (e.g., with DNSSEC); in the non-DNS realization (Mode B), it instead participates in the selected synchronization mechanism (e.g., BGP-like peering, gossip, or directory publication).</t>
                <t><strong>Federation</strong>: A trust group formed by multiple federation gateways from different administrative domains, for exchanging agent discovery metadata.</t>
                <t><strong>Federation Peer</strong>: A remote FGW with which a local FGW has established an authenticated control relationship.</t>
                <t><strong>DNS Delegation Mode (Mode A)</strong>: The preferred realization of the Federation Plane for inter-organizational interaction.  Each site publishes its FMRs as resource records in its own authoritative zone, and other sites' validating resolvers query those zones directly; delegation and referral between authoritative zones provide the discovery path without requiring persistent gateway-to-gateway sessions.  Detailed considerations are provided in <xref target="appendix-dns"/>.</t>
                <t><strong>Non-DNS Synchronization Mode (Mode B)</strong>: The alternative realization of the Federation Plane when the DNS delegation model (Mode A) does not meet operational requirements.  Mode B offers three synchronization mechanisms, selected according to the number and scale of participating organizations and the deployment scenario: BGP-like structured peering (Appendix A.2.1), gossip-based epidemic dissemination (Appendix A.2.2), and trusted directory publication (Appendix A.2.3).</t>
                <t><strong>Minimum Public Discovery Information</strong>: The set of public properties a client needs before interacting with an AI resource: its type, reachability information, communication protocol, and services.  This information MAY be represented using the DAWN MDI model <xref target="I-D.cui-dawn-mdi-model"/> and MAY be obtained through agent advertisement or the Resource Publication Hook <xref target="I-D.dunbar-dawn-infra-assisted-discovery"/>. An FMR carries this information together with the identifier, status, and time-to-live described in its definition; capability information beyond this minimum remains out of scope.</t>
                <t><strong>Iterative Discovery / Referral</strong>: A discovery process in which a returned record refers the client to a catalog or to another discovery endpoint (referral, delegation, or indirection), continuing until the client obtains the minimum public discovery information it needs.</t>
                <t><strong>Federated Agent Directory (FAD)</strong>: The local discovery-information store maintained by an FGW. In Mode A, remote agent discovery information is not pre-populated or synchronized into the FAD by default. A cross-domain discovery request triggers DNS retrieval when no valid matching cached record exists; validated results are then cached in the FAD for their remaining permitted lifetime. In Mode B, the FAD also holds accepted records obtained through the selected synchronization or directory mechanism. Locally originated FMRs MAY be maintained separately or within the same store.</t>
                <t><strong>Export Policy Engine</strong>: A functional module on the FGW that filters, redacts, and controls which agent metadata may be shared with which federation peers.  This is the core mechanism for data sovereignty.</t>
                <t><strong>Local Discovery Plane</strong>: The first architectural layer, operating within a single site, responsible for collecting and maintaining lightweight agent discovery information. It supports two complementary modes: LAN-Based Discovery and Infrastructure-Assisted Discovery (IAD). The modes MAY coexist within the same administrative domain, and the architecture does not mandate a specific local discovery protocol.</t>
                <t><strong>LAN-Based Discovery</strong>: A local discovery mode in which an agent or an authorized entity advertises lightweight agent discovery information through a site-local mechanism, such as link-local multicast mDNS/DNS-SD. Local peers and discovery components obtain the advertised information through that mechanism.</t>
                <t><strong>Infrastructure-Assisted Discovery (IAD)</strong>: A local discovery mode primarily intended for organization-level agent discovery in managed environments. Authorized deployment infrastructure collects and maintains agent discovery information using its knowledge of current deployments. When the local infrastructure gateway is separate from the FGW, it advertises the collected information and subsequent updates or withdrawals to the FGW. When integrated, the FGW primarily obtains this information from registration records maintained within the managed infrastructure. This mode uses the Resource Publication Hook described in <xref target="I-D.dunbar-dawn-infra-assisted-discovery"/>.</t>
                <t><strong>Local Infrastructure Gateway</strong>: An authorized orchestration, placement, hosting, or management system that collects and maintains discovery information on behalf of agents deployed within a managed organizational environment. It MAY be implemented separately from, or integrated with, the FGW. When implemented separately, it advertises the collected agent discovery information to the FGW and provides updates as deployment state changes. When integrated, the FGW primarily obtains agent discovery information from registration records maintained within the managed infrastructure. Its local discovery role does not itself imply participation in cross-domain federation.</t>
                <t><strong>Resource Publication Hook</strong>: The infrastructure-assisted mechanism described in <xref target="I-D.dunbar-dawn-infra-assisted-discovery"/> through which deployment infrastructure supplies resource discovery information for local registration and maintenance. In this architecture, the FGW MAY use the supplied information to construct FMRs after applying export policy.</t>
                <t><strong>Attachment Context Hook</strong>: An infrastructure integration point through which trusted network infrastructure provides the requester's current Attachment Scope to the discovery mechanism, as described in <xref target="I-D.dunbar-dawn-infra-assisted-discovery"/>. This context complements published resource information when identifying applicable discovery domains and reachable agent endpoints. Its detailed realization is outside the scope of this document.</t>
                <t><strong>Attachment Scope</strong>: An abstract network-derived context representing the attachment or reachability domain applicable to a requester or discoverable resource. It may reflect a tenant, VPN, access network, or edge domain. Attachment Scope indicates network applicability; it does not itself provide agent load measurements or runtime endpoint addresses.</t>
                <t><strong>Federation Plane</strong>: The second architectural layer, operating across administrative domains, responsible for FMR exchange among FGWs.</t>
            </list></t>
        </section>

        <section title="Architectural Requirements">
            <t>This section defines high-level architectural requirements for the two-layer agent-discovery architecture.  These requirements are derived from the DAWN working group's problem statement <xref target="I-D.akhavain-moussa-dawn-problem-statement"/>, requirements <xref target="I-D.king-dawn-requirements"/>, and use cases <xref target="I-D.kay-dawn-use-cases"/>.  They are non-normative for this informational document.</t>

            <section title="Functional Requirements">
                <t><list style="numbers">
                    <t><strong>F-1: Cross-Domain Discovery</strong> -- The architecture MUST enable discovery of the minimum public discovery information about resources that reside in administrative domains different from the requester's domain, i.e., between cooperating parties with trust relationships over the public Internet.  Satisfies DAWN use case "Administrative Scope Extensions" <xref target="I-D.kay-dawn-use-cases"/>.</t>
                    <t><strong>F-2: Zero-Configuration Local Discovery</strong> -- Agents MUST be capable of advertising themselves on the local network without pre-provisioned discovery server addresses.  Satisfies DAWN requirements for local-context discovery <xref target="I-D.king-dawn-requirements"/>.</t>
                    <t><strong>F-3: Data Sovereignty</strong> -- Each site administrator MUST retain full control over which agent metadata records can be shared outside its local domain, including per-record filtering, field redaction, and per-peer access policy.  Addresses the gap identified in <xref target="I-D.moussa-dawn-gap-analysis"/> regarding lack of interoperable federation with per-domain policy control.</t>
                    <t><strong>F-4: Decentralized Federation</strong> -- The architecture MUST NOT require a mandatory global centralized directory.  Federation participants MUST be able to operate without submitting data to a third-party central authority.  Aligns with DAWN's emphasis on avoiding single points of failure <xref target="I-D.king-dawn-requirements"/>.</t>
                    <t><strong>F-5: Minimum Public Discovery Information Only</strong> -- The architecture MUST exchange only the minimum public discovery information (type, reachability, communication protocol, services) in the federation plane, and MUST NOT distribute or retrieve capability information beyond this minimum.  This instantiates the DAWN MDI principle of a thin, encoding-neutral record <xref target="I-D.cui-dawn-mdi-model"/>.</t>
                    <t><strong>F-6: Dynamic Agent Lifecycle</strong> -- The architecture MUST support changes in agent availability, deployment state, reachable endpoints, and export permission. After detecting a relevant change, the responsible publisher MUST promptly update or withdraw the affected authoritative publication or federation advertisement. In Mode A, authoritative updates do not immediately invalidate previously cached copies; resolver caches and remote FAD entries remain subject to their established validity limits. In Mode B, updates, withdrawals, and expiration follow the selected mechanism. These procedures support dynamic updates and freshness <xref target="I-D.king-dawn-requirements"/>.</t>
                    <t><strong>F-7: Multi-Protocol Support</strong> -- The architecture MUST permit multiple alternative synchronization modes for the federation plane, with DNS delegation between authoritative zones (Mode A) as the preferred realization, and non-DNS modes (Mode B: BGP-like structured peering, gossip-based epidemic dissemination, or trusted directory publication) selected according to deployment scale and scenario.  Aligns with DAWN's requirement to support multiple discovery models <xref target="I-D.king-dawn-requirements"/>.</t>
                    <t><strong>F-8: Iterative Discovery and Referral</strong> -- The architecture MUST support iterative discovery in which a returned record may refer the client to a catalog or to another discovery endpoint (referral, delegation, or indirection).  The AI resource to be discovered may itself be a catalog or service that furthers the discovery process.</t>
                    <t><strong>F-9: Integrity of Discovery Information</strong> -- The architecture MUST provide integrity for all discovery information exchanged between DAWN parties, allowing a recipient to detect alteration of, or unauthorized injection into, the exchanged records.</t>
                </list></t>
            </section>

            <section title="Non-Functional Requirements">
                <t><list style="numbers">
                    <t><strong>NF-1: Security Against Forged Advertisements</strong> -- The architecture MUST provide a mechanism to verify the origin and integrity of FMRs, preventing malicious federation participants from injecting forged agent advertisements.</t>
                    <t><strong>NF-2: Fault Tolerance</strong> -- The architecture MUST tolerate individual gateway failures, network partitions, and transient connectivity loss without catastrophic loss of discovery capability.</t>
                    <t><strong>NF-3: Interoperability</strong> -- The architecture MUST support interoperability among different federation synchronization protocols, so that gateways using different protocols can coexist within the same overall architecture.  Supports DAWN's goal of cross-domain interoperability <xref target="I-D.king-dawn-requirements"/>.</t>
                    <t><strong>NF-4: Privacy Protection</strong> -- The architecture MUST prevent leakage of internal network topology, private IP addresses, and sensitive agent details to unauthorized external parties.  Satisfies DAWN privacy considerations <xref target="I-D.king-dawn-requirements"/>.</t>
                    <t><strong>NF-5: Scalability</strong> -- The architecture MUST scale from small federations of a few sites to large federations of hundreds or thousands of sites, without requiring per-site full-mesh manual configuration.</t>
                    <t><strong>NF-6: Operational Simplicity</strong> -- The architecture MUST minimize operational overhead for site administrators, particularly for local-site deployment where zero-configuration is a primary goal.</t>
                </list></t>
            </section>
        </section>

        <section title="Relationship to DAWN Family Protocols">
            <t>This architecture is designed to complement, not replace, existing protocols being discussed in the DAWN community and adjacent efforts.  The following positioning statements clarify the relationship.</t>

            <section title="ACAP (Agent Capability Advertisement Protocol)">
                <t>ACAP <xref target="I-D.zahed-acap"/> defines a well-known URI scheme, a rich Agent Capability Document (ACD) format, and HTTP/3 operations (GET, PUT, POST) for retrieval, registration, and search within a site.  ACAP operates primarily at the Description Plane: it specifies how a host publishes its capabilities and how a domain-level query endpoint answers discovery queries.</t>
                <t>This architecture treats ACAP as a valid implementation of the Description Plane within a site.  An FGW may collect ACDs via ACAP PUT/GET from local agents, extract the minimum public discovery information (type, reachability, communication protocol, services) into an FMR, and distribute the FMR in the Federation Plane; the richer capability content of the ACD is not carried in the FMR, consistent with the charter.  Cross-domain discovery queries may be answered from valid FAD entries. In Mode A, a cache miss triggers a DNS query for the remote domain, followed by validation and caching of the result; Mode B uses its selected exchange or directory mechanism. A global ACAP query endpoint is not required.  Thus, ACAP and this architecture are composable: ACAP handles intra-domain description, while this architecture handles inter-domain federation and export policy.</t>
            </section>

            <section title="Agent Directory">
                <t>The Agent Directory <xref target="I-D.jimenez-agent-directory"/> adapts the CoRE Resource Directory <xref target="RFC9176"/> to software agents, providing an HTTP/JSON service for registration and lookup with soft-state lifetimes.  It defines a well-known URI (/.well-known/ad) and supports capability filtering.</t>
                <t>This architecture is complementary: the Agent Directory may serve as the Local Discovery Plane mechanism within a site, collecting agent registrations and answering local queries.  The FGW may subscribe to the local Agent Directory, extract MDI-compliant records, apply export policy, and generate FMRs for federation.  The FAD maintained by the FGW is conceptually a distributed extension of the Agent Directory across administrative boundaries.  Federation across multiple Agent Directory instances is acknowledged but not specified in <xref target="I-D.jimenez-agent-directory"/>; this architecture provides one possible federation model.</t>
            </section>

            <section title="AGNTCY Agent Directory Service (ADS)">
                <t>AGNTCY ADS <xref target="I-D.mp-agntcy-ads"/> is a distributed directory using libp2p Kad-DHT for content routing and a hierarchical skill taxonomy.  It supports open, Internet-scale discovery, which is outside DAWN's initial scope.</t>
                <t>This architecture differs in approach: ADS is a global or wide-area distributed hash table, while this architecture is a federated gateway model with explicit per-peer trust and policy control.  ADS targets open, Internet-scale discovery, which is excluded by the DAWN charter; this architecture targets closed or semi-closed federations where data sovereignty and per-peer export policy are paramount.  A hybrid deployment is possible: an FGW may publish a subset of its FMRs to a trusted directory such as AGNTCY ADS for broader discoverability, while retaining sensitive records for private federation peers only (see trusted directory publication, Section 7.2.3).</t>
            </section>

            <section title="DNS-Based Naming Proposals (DNS-AID, DN-ANR)">
                <t>DNS-AID <xref target="I-D.mozleywilliams-dnsop-dnsaid"/> and DN-ANR <xref target="I-D.cui-dns-native-agent-naming-resolution"/> propose DNS-based mechanisms for agent naming and location resolution.  These operate at the DAWN Naming Plane, providing decentralized name-to-location mapping.</t>
                <t>This architecture treats DNS-based discovery as one valid mechanism for the Local Discovery Plane (e.g., resolving a known partner's domain to locate its FGW or agents).  The FGW may itself be advertised via DNS records, and FMRs may contain DNS-based locators.  The two approaches are orthogonal and composable.</t>
            </section>

            <section title="MDI (Minimum Discoverable Information)">
                <t>The MDI information model <xref target="I-D.cui-dawn-mdi-model"/> defines an abstract, encoding-neutral common header for discovery responses.  This architecture directly adopts MDI as the basis for FMRs: an FMR is a concrete, protocol-specific binding of MDI elements (Entity Identifier, Entity Type, Endpoint, Capability Summary, Freshness, Provenance) for the purpose of cross-gateway exchange.  By grounding FMRs in MDI, this architecture ensures that federated metadata can be translated to and from other DAWN discovery formats (ACAP ACDs, Agent Directory records, A2A Agent Cards) without loss of the minimal necessary information.</t>
                <t>The FMR is a thin, cacheable index by design: Entity Summary and Operational Hint stay with the Capability Card and the Record-Flag/TTL mechanism respectively, and Extension is realized by reserved and unknown TLV types, which recipients MUST ignore.  Two FMR fields (Origin-GW-ID, Record-Flag) are binding-level mechanism fields and are not MDI elements.  The FMR binding does not relax any MDI constraint: one FMR describes exactly one entity; Entity Identifiers are compared within the publisher scope established by Origin-GW-ID; protocols attach to the Endpoint; and recipients MUST ignore unrecognized extensions.  The concrete TLV encoding of the FMR is left to the synchronization protocol specifications that may be developed based on this architecture.</t>
            </section>
        </section>

        <section title="State-of-the-Art and Gap Analysis">
            <t>This section reviews existing approaches to cross-domain service and agent discovery, and identifies gaps that motivate the proposed two-layer architecture.  It extends the gap analysis in <xref target="I-D.moussa-dawn-gap-analysis"/> and <xref target="I-D.jimenez-dawn-discovery-landscape"/>.</t>

            <section title="Centralized Global Directory">
                <t>One approach is to deploy a hierarchical, DNS-like or WebFinger-like global registration system.  Sites register their agent metadata with regional or global directory servers; requesters query the directory to discover agents.</t>
                <t><list style="symbols">
                    <t><strong>Strengths</strong>: Familiar operational model; query latency is controllable; well-understood caching and delegation mechanisms.</t>
                    <t><strong>Gaps</strong>: (1) Data sovereignty — sites must submit agent metadata to a third-party directory, which many organizations resist for industrial and enterprise deployments.  (2) Trust and governance — operating a global root directory requires a governance body that all participants accept.  (3) Single-point-of-failure and scaling concerns at the root level.  (4) Granular per-peer access control is difficult in a public query model.  These gaps are noted in <xref target="I-D.moussa-dawn-gap-analysis"/> as "no interoperable federation" across administrative boundaries.</t>
                </list></t>
            </section>

            <section title="Link-Local Multicast Discovery (mDNS/DNS-SD)">
                <t>mDNS/DNS-SD <xref target="RFC6762"/> <xref target="RFC6763"/> provides excellent zero-configuration discovery within a single broadcast domain.</t>
                <t><list style="symbols">
                    <t><strong>Strengths</strong>: Zero configuration; widely deployed; no infrastructure required; excellent for local-area networks.</t>
                    <t><strong>Gaps</strong>: (1) Link-local multicast does not cross IP routers, so discovery is confined to a single LAN.  (2) No built-in mechanism for cross-domain metadata exchange.  (3) Large LANs can experience multicast storm issues without a proxy or gateway.  This satisfies only the "local context" use case <xref target="I-D.kay-dawn-use-cases"/>.</t>
                </list></t>
            </section>

            <section title="Full-Mesh Peer-to-Peer Synchronization">
                <t>In this approach, every gateway establishes direct peering sessions with every other gateway in the federation, exchanging metadata via incremental updates (similar to BGP <xref target="RFC4271"/>).</t>
                <t><list style="symbols">
                    <t><strong>Strengths</strong>: Fast convergence; fine-grained per-peer policy control; clear data sovereignty; well-understood operational model from routing protocols.</t>
                    <t><strong>Gaps</strong>: (1) Full-mesh configuration becomes operationally expensive at large scale (N-squared peering).  (2) Every site must manually configure and maintain peer relationships.  (3) Not ideal for loosely-managed, open federations with high member churn.</t>
                </list></t>
            </section>

            <section title="Gossip / Epidemic Dissemination">
                <t>Gossip-based protocols propagate metadata probabilistically among a small set of neighbors, achieving eventual consistency across the federation.</t>
                <t><list style="symbols">
                    <t><strong>Strengths</strong>: Excellent horizontal scalability; robust against partial failures; low per-node connection count; self-organizing topology.</t>
                    <t><strong>Gaps</strong>: (1) Eventual consistency means convergence delay is unavoidable.  (2) Precise per-record distribution policies are difficult to enforce.  (3) Malicious participants can rapidly spread forged metadata across the overlay.  (4) Security and trust management are more complex than in static peering models.</t>
                </list></t>
            </section>

            <section title="Gap Summary">
                <t>No single existing approach satisfies all requirements simultaneously:</t>
                <t><list style="symbols">
                    <t>Centralized directories fail F-3 (data sovereignty) and F-4 (decentralized federation).</t>
                    <t>Link-local multicast fails F-1 (cross-domain discovery).</t>
                    <t>Full-mesh peering fails NF-5 (scalability) at large federation sizes.</t>
                    <t>Gossip dissemination fails NF-1 (security against forged advertisements) and F-6 (prompt lifecycle invalidation) due to convergence delay.</t>
                </list></t>
                <t>The two-layer federated architecture addresses these gaps by: (1) keeping local discovery zero-configuration and decentralized, without mandating a specific local protocol; (2) introducing a federation gateway layer that enforces data sovereignty via export policy; (3) supporting two top-level federation modes — with DNS delegation between authoritative zones (Mode A) as the preferred realization for inter-organizational interaction, and non-DNS synchronization (Mode B: BGP-like peering, gossip-based dissemination, and trusted directory publication) as alternatives selected according to scale and scenario — so that deployments can select the mode matching their scale and trust model; and (4) exchanging only the minimum public discovery information in FMRs to reduce cross-domain data exposure.</t>
            </section>
        </section>

        <section title="Two-Layer Reference Architecture">
            <t>As inllustrated in the following figure, the overall architecture consists of two logically separated layers: the Local Discovery Plane (Layer 1) and the Federation Plane (Layer 2).  Traffic and control logic between the two layers are decoupled.  The Federation Gateway (FGW) is the only component that spans both layers.</t>

            <figure anchor="fig-agent-discovery-framework">
            <name>Two-Layer Agent Discovery Architecture</name>
            <artwork type="svg">
                <svg version="1.2" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" width="700" height="523" viewBox="0 0 1500 1120">
                <rect width="1500" height="1120" fill="white"/>
                <text x="750" y="57" font-family="sans-serif" font-size="32" fill="black" text-anchor="middle">Two-Layer Agent Discovery Framework</text>
                <text x="750" y="92" font-family="sans-serif" font-size="20" fill="black" text-anchor="middle">Local collection → policy-controlled FMR publication → cross-domain discovery</text>
                <rect x="45" y="125" width="660" height="710" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="375" y="167" font-family="sans-serif" font-size="24" fill="black" text-anchor="middle">Administrative Domain A</text>
                <text x="375" y="206" font-family="sans-serif" font-size="18" fill="black" text-anchor="middle">LAYER 1 · LOCAL DISCOVERY PLANE</text>
                <rect x="70" y="233" width="610" height="64" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="375" y="272" font-family="sans-serif" font-size="23" fill="black" text-anchor="middle">Agents / AI resources</text>
                <rect x="70" y="340" width="290" height="160" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="215" y="377" font-family="sans-serif" font-size="20" fill="black" text-anchor="middle">LAN-Based Discovery</text>
                <text x="215" y="413" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Agent or authorized proxy</text>
                <text x="215" y="440" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">mDNS/DNS-SD advertisement</text>
                <text x="215" y="467" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Other local registration options</text>
                <rect x="390" y="340" width="290" height="160" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="535" y="377" font-family="sans-serif" font-size="20" fill="black" text-anchor="middle">Infrastructure-Assisted</text>
                <text x="535" y="404" font-family="sans-serif" font-size="20" fill="black" text-anchor="middle">Discovery (IAD)</text>
                <text x="535" y="439" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Local Infrastructure Gateway</text>
                <text x="535" y="468" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Resource Publication Hook</text>
                <polyline points="215,297 215,340" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="215,340 209.345448056554,328.2941876694152 220.654551943446,328.2941876694152" fill="black"/>
                <polyline points="535,297 535,340" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="535,340 529.345448056554,328.2941876694152 540.654551943446,328.2941876694152" fill="black"/>
                <polyline points="215,500 215,552" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="215,552 209.345448056554,540.2941876694152 220.654551943446,540.2941876694152" fill="black"/>
                <polyline points="535,500 535,552" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="535,552 529.345448056554,540.2941876694152 540.654551943446,540.2941876694152" fill="black"/>
                <rect x="70" y="552" width="610" height="270" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="375" y="589" font-family="sans-serif" font-size="23" fill="black" text-anchor="middle">Federation Gateway (FGW)</text>
                <text x="375" y="623" font-family="sans-serif" font-size="18" fill="black" text-anchor="middle">Export Policy Engine: filter, redact, select per peer</text>
                <text x="375" y="657" font-family="sans-serif" font-size="18" fill="black" text-anchor="middle">Construct / update sanitized FMRs for publication</text>
                <polyline points="375,665 375,687" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="375,687 369.345448056554,675.2941876694152 380.654551943446,675.2941876694152" fill="black"/>
                <rect x="90" y="687" width="570" height="90" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="375" y="716" font-family="sans-serif" font-size="19" fill="black" text-anchor="middle">Federated Agent Directory (FAD)</text>
                <text x="375" y="744" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Stores local FMRs + validated FMRs from peers</text>
                <text x="375" y="768" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Answers discovery queries with records or referrals</text>
                <text x="375" y="809" font-family="sans-serif" font-size="15" fill="black" text-anchor="middle">Local infrastructure gateway may be separate or integrated</text>
                <rect x="795" y="125" width="660" height="710" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="1125" y="167" font-family="sans-serif" font-size="24" fill="black" text-anchor="middle">Administrative Domain B</text>
                <text x="1125" y="206" font-family="sans-serif" font-size="18" fill="black" text-anchor="middle">LAYER 1 · LOCAL DISCOVERY PLANE</text>
                <rect x="820" y="233" width="610" height="64" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="1125" y="272" font-family="sans-serif" font-size="23" fill="black" text-anchor="middle">Agents / AI resources</text>
                <rect x="820" y="340" width="290" height="160" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="965" y="377" font-family="sans-serif" font-size="20" fill="black" text-anchor="middle">LAN-Based Discovery</text>
                <text x="965" y="413" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Agent or authorized proxy</text>
                <text x="965" y="440" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">mDNS/DNS-SD advertisement</text>
                <text x="965" y="467" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Other local registration options</text>
                <rect x="1140" y="340" width="290" height="160" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="1285" y="377" font-family="sans-serif" font-size="20" fill="black" text-anchor="middle">Infrastructure-Assisted</text>
                <text x="1285" y="404" font-family="sans-serif" font-size="20" fill="black" text-anchor="middle">Discovery (IAD)</text>
                <text x="1285" y="439" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Local Infrastructure Gateway</text>
                <text x="1285" y="468" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Resource Publication Hook</text>
                <polyline points="965,297 965,340" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="965,340 959.345448056554,328.2941876694152 970.654551943446,328.2941876694152" fill="black"/>
                <polyline points="1285,297 1285,340" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="1285,340 1279.345448056554,328.2941876694152 1290.654551943446,328.2941876694152" fill="black"/>
                <polyline points="965,500 965,552" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="965,552 959.345448056554,540.2941876694152 970.654551943446,540.2941876694152" fill="black"/>
                <polyline points="1285,500 1285,552" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="1285,552 1279.345448056554,540.2941876694152 1290.654551943446,540.2941876694152" fill="black"/>
                <rect x="820" y="552" width="610" height="270" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="1125" y="589" font-family="sans-serif" font-size="23" fill="black" text-anchor="middle">Federation Gateway (FGW)</text>
                <text x="1125" y="623" font-family="sans-serif" font-size="18" fill="black" text-anchor="middle">Export Policy Engine: filter, redact, select per peer</text>
                <text x="1125" y="657" font-family="sans-serif" font-size="18" fill="black" text-anchor="middle">Construct / update sanitized FMRs for publication</text>
                <polyline points="1125,665 1125,687" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="1125,687 1119.345448056554,675.2941876694152 1130.654551943446,675.2941876694152" fill="black"/>
                <rect x="840" y="687" width="570" height="90" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="1125" y="716" font-family="sans-serif" font-size="19" fill="black" text-anchor="middle">Federated Agent Directory (FAD)</text>
                <text x="1125" y="744" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Stores local FMRs + validated FMRs from peers</text>
                <text x="1125" y="768" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Answers discovery queries with records or referrals</text>
                <text x="1125" y="809" font-family="sans-serif" font-size="15" fill="black" text-anchor="middle">Local infrastructure gateway may be separate or integrated</text>
                <rect x="45" y="870" width="1410" height="160" rx="12" fill="white" stroke="black" stroke-width="2"/>
                <text x="750" y="904" font-family="sans-serif" font-size="22" fill="black" text-anchor="middle">LAYER 2 · FEDERATION PLANE</text>
                <polyline points="375,822 375,929 1125,929 1125,822" fill="none" stroke="black" stroke-width="3"/>
                <polygon points="1125,822 1130.654551943446,833.7058123305848 1119.345448056554,833.7058123305848" fill="black"/>
                <polygon points="375,822 380.654551943446,833.7058123305848 369.345448056554,833.7058123305848" fill="black"/>
                <text x="750" y="926" font-family="sans-serif" font-size="16" fill="black" text-anchor="middle">Publish / obtain FMRs · validate and store peer records in FAD</text>
                <text x="750" y="967" font-family="sans-serif" font-size="17" fill="black" text-anchor="middle">Mode A (preferred): authoritative DNS publication, DNSSEC validation, delegation / referral</text>
                <text x="750" y="1005" font-family="sans-serif" font-size="17" fill="black" text-anchor="middle">Mode B: structured peering, gossip, or trusted directory publication · modes may coexist</text>
                <text x="750" y="1070" font-family="sans-serif" font-size="17" fill="black" text-anchor="middle">FMR: minimum public discovery information represented using MDI and/or supplied through the Resource Publication Hook.</text>
                <text x="750" y="1100" font-family="sans-serif" font-size="17" fill="black" text-anchor="middle">Agent data traffic uses direct reachable endpoints; FGWs provide discovery metadata and do not forward agent data traffic.</text>
                </svg>
            </artwork>
            </figure>

            <section title="Layer 1: Local Discovery Plane">
                <t>The first layer runs inside each independent local site (LAN, tenant namespace, or edge cluster).  Its responsibilities are agent advertisement, local metadata collection, and export policy enforcement.</t>
                <t><list style="numbers">
                        <t>When an agent becomes available, its lightweight discovery information MAY be collected and maintained through two complementary modes within the Local Discovery Plane:
                        
                        <list style="symbols">
                        <t>
                        <strong>LAN-Based Discovery:</strong> In a local network, an agent MAY advertise its lightweight discovery information after startup through a site-local discovery mechanism, such as link-local multicast mDNS/DNS-SD (e.g., service type "_agent._tcp.local"). An authorized entity, such as an agent orchestration system or local gateway, MAY advertise this information on the agent's behalf. Other agents and local discovery components can obtain the advertised information through the same mechanism without requiring a preconfigured discovery server. Alternative mechanisms MAY also be used, including local API registration with an Agent Directory <xref target="I-D.jimenez-agent-directory"/>, edge‑platform‑driven discovery (e.g., Kubernetes service discovery), or registration through ACAP <xref target="I-D.zahed-acap"/>. The architecture supports advertisement by either the agent or an authorized entity and does not mandate a specific local discovery protocol.
                        </t>
                        <t>
                        <strong>Infrastructure-Assisted Discovery:</strong> This mode is primarily intended for organization-level agent discovery within managed enterprise, cloud, or edge environments. Authorized deployment infrastructure, such as an orchestration, placement, hosting, or management system, MAY act as a local infrastructure gateway. It collects and maintains agent discovery information based on its knowledge of current deployments, including available agent services or instances, their reachable endpoints, and communication protocols. When the infrastructure gateway is implemented separately from the FGW, it advertises the collected information to the FGW and provides updates or withdrawals as deployment state changes. When integrated with the FGW, the FGW primarily obtains this information from registration records maintained within the managed infrastructure. This infrastructure-driven publication uses the Resource Publication Hook described in <xref target="I-D.dunbar-dawn-infra-assisted-discovery"/> and does not require agents to advertise themselves through multicast.
                        </t>
                        </list></t>
                        <t>
                        Both modes provide lightweight discovery information to the Local Discovery Plane and MAY coexist within the same administrative domain. An infrastructure gateway performs local collection and registration functions and MAY be implemented separately from, or integrated with, the Federation Gateway (FGW). When implemented separately, the local infrastructure gateway advertises the collected agent discovery information to the FGW through a discovery mechanism and provides updates as deployment state changes. When integrated, the FGW obtains this information internally. In either deployment, the FGW obtains the locally collected discovery information and applies export policies before making it available through the Federation Plane. The architecture does not mandate either mode or a specific local discovery protocol.
                        </t>

                    <t>Advertised records carry the minimum public discovery information (Entity Identifier, Entity Type, reachability/locator, communication protocol, services).  No capability information beyond this minimum is transmitted via multicast or local broadcast packets.</t>
                    <t>Local peers (other agents) may discover and communicate directly within the site.  The FGW is NOT required to forward agent data traffic; it only collects discovery metadata.</t>
                    <t>The FGW collects agent discovery information through LAN-based discovery, infrastructure-assisted discovery, or both. In LAN-based discovery, the FGW MAY listen to local mDNS/DNS-SD advertisements, subscribe to an Agent Directory, or retrieve information through ACAP. In infrastructure-assisted discovery, primarily used for organization-level agent discovery, the FGW receives agent discovery information advertised by a separate local infrastructure gateway or, when integrated with that gateway, primarily obtains the information from registration records maintained within the managed infrastructure. Advertisements and registration records are updated or withdrawn as deployment state changes.</t>
                    <t>The Export Policy Engine on the FGW applies local sharing policy: it filters which agents may be advertised externally, redacts sensitive fields, and generates federation-ready FMRs before exporting them to remote federation peers.  Different peers may receive different subsets of FMRs.</t>
                </list></t>
            </section>

            <section title="Layer 2: Federation Plane">
                <t>Federation Gateways from separate administrative domains compose a federation control plane.  Agent business data plane traffic does NOT flow through federation gateways by default.  The Federation Plane is preferably realized over DNS (Mode A, DNS Delegation Model): each FGW publishes FMRs as resource records in its own authoritative zone, and validating resolvers query and verify peer zones, with delegation and referral between authoritative zones providing the primary inter-organizational interaction.  Alternatively, the Federation Plane MAY be realized over non-DNS synchronization modes (Mode B) — BGP-like structured peering, gossip-based epidemic dissemination, or trusted directory publication — selected according to federation scale and scenario, or a combination of both.</t>
                <t><list style="numbers">
                    <t>Each FGW publishes or exchanges only sanitized FMRs permitted by its export policy. In Mode A, publication makes records available in the originating domain's authoritative DNS zone; it does not push those records into remote FADs. Access-controlled Mode B exchanges apply the export view authorized for each recipient.</t>
                    <t>When an agent's discovery information changes, its FGW updates or removes the corresponding authoritative DNS records in Mode A. Remote FADs are not proactively synchronized with these changes; subsequent request-driven DNS retrieval obtains the current information after cached data expires. In Mode B, changes propagate through the selected synchronization or directory mechanism (see <xref target="appendix-synchronization"/>).</t>
                    <t>In Mode A, an FGW does not maintain a complete local copy of remote agent metadata by default. Its FAD contains remote records previously retrieved in response to discovery requests and retained within their permitted cache lifetimes. In Mode B, the FAD contains the accepted subset delivered or retrieved through the selected mechanism.</t>
                    <t>When a client requests cross-domain agent information, the local FGW first checks for a valid matching FAD cache entry. In Mode A, if no such entry exists, the FGW uses a validating resolver to query the authoritative DNS service for the remote FGW's domain, using a discovery name supplied by the request or obtained through a defined naming or referral mechanism. It validates the response, applies import policy, caches accepted discovery information in the FAD, and returns the result to the client. Later requests MAY reuse that entry until it expires. In Mode B, the FGW uses records obtained through the selected mechanism. Returned referrals MAY continue discovery at another catalog or endpoint.</t>
                    <t>Federation membership can be dynamically adjusted: FGWs may join or leave the federation according to trust agreements.</t>
                </list></t>
            </section>

            <section anchor="federation-operation-model" title="Federation Operation Model">
                <t>Federation connects independently administered discovery domains while each domain controls the information it publishes. The originating FGW applies export policy and makes permitted FMRs available; the requesting FGW retrieves or receives eligible records according to the selected mode and applies validation and import policy. Publication in one domain does not by itself create a record in another domain's FAD.</t>
                <t>In Mode A, the originating domain's authoritative DNS service holds the published agent discovery information. Remote records are not synchronized into other FGWs' FADs by default. The FAD serves as a request-driven cache rather than a replica of remote DNS zones.</t>
                <t>In Mode B, remote records may instead enter the FAD through structured peering, gossip, or directory retrieval and subscriptions. Each FAD contains the records available and acceptable to its local domain; no mode requires identical FAD contents throughout the federation. Once discovery supplies a reachable endpoint, agent communication proceeds independently of the discovery metadata path.</t>

                <section title="Federation Roles and Trust Relationships">
                    <t>The originating domain is responsible for the discovery information describing its local agents. Its FGW obtains that information through LAN-based or infrastructure-assisted discovery and applies export policy before constructing FMRs for external publication. The federation process operates on these FMRs independently of the local collection mechanism.</t>
                    <t>The receiving domain decides which external sources and records it accepts. Its FGW validates obtained FMRs and applies local import policy before making them available through its FAD. A federation relationship therefore combines the originating domain's permission to disclose information with the receiving domain's permission to accept and use that information.</t>
                    <t>Participating domains establish the identities, trust anchors, authorization rules, and disclosure scope applicable to their chosen federation mechanism. Discovering a remote FGW endpoint does not itself grant federation membership or permission to retrieve restricted metadata. Similarly, accepting an FMR does not authorize access to the agent it describes; agent access remains subject to the resource owner's policy.</t>
                </section>

                <section title="Federation Workflow">
                    <t>The common federation workflow consists of the following steps:</t>
                    <t>
                        <list style="numbers">
                            <t><strong>Establish discovery and trust context:</strong> Participating domains configure or discover the authoritative discovery zones, FGW endpoints, or directory services applicable to the selected federation mechanism and establish the required trust and authorization policies. In Mode A, this establishes how to locate and validate remote DNS records; it does not require retrieving those records or populating the FAD in advance.</t>
                            <t><strong>Construct an export view:</strong> The originating FGW applies its Export Policy Engine to local discovery information, selects the resources and fields permitted for disclosure, and constructs sanitized FMRs. Different peers or publication audiences MAY receive different subsets of records. Information published through public DNS is limited to the subset approved for public disclosure.</t>
                            <t><strong>Publish or exchange FMRs:</strong> In Mode A, the originating FGW publishes the selected discovery records in its domain's authoritative DNS zone. Publication makes the information available for subsequent queries but does not push it into remote FADs. In Mode B, FMRs are distributed or made available through structured peering, gossip-based dissemination, or trusted directory publication.</t>
                            <t><strong>Receive a discovery request and check the FAD:</strong> When a user requests cross-domain agent discovery information, the local FGW checks its FAD for a valid matching record. If such a record exists and satisfies local policy, the FGW MAY answer from that record. In Mode A, a cache miss or an expired entry triggers retrieval from the remote domain's authoritative DNS service, using a discovery name supplied by the request or obtained through a defined naming or referral mechanism.</t>
                            <t><strong>Retrieve, validate, and cache remote information:</strong> On a Mode A cache miss, the requesting FGW uses a validating resolver to query the authoritative DNS service for the remote FGW's domain. It validates the response using DNSSEC, applies local import policy, and caches accepted discovery information in its FAD with its provenance and expiration information. The cache lifetime does not exceed the remaining DNS TTL or any shorter applicable validity limit. In Mode B, the receiving FGW validates records obtained through the selected mechanism before accepting them into its FAD. When records are relayed through an intermediary, validation also considers the authority of the original publisher.</t>
                            <t><strong>Return the discovery result:</strong> The FGW returns the validated discovery information to the requester. A result provides the minimum public information needed to reach an agent or continue discovery through another endpoint. Subsequent requests MAY reuse a valid matching FAD entry without repeating the remote DNS query. Cache hits do not restart the entry's validity period.</t>
                            <t><strong>Maintain record lifecycle:</strong> Changes in agent availability, reachable endpoints, or export policy cause the originating FGW to update or remove its published records. In Mode A, these changes do not proactively synchronize remote FADs or immediately invalidate existing cached copies. Cached entries cease to be usable when their permitted lifetime expires, and a subsequent request triggers fresh DNS retrieval. In Mode B, updates and withdrawals are processed according to the selected mechanism. Cached or relayed copies do not extend the applicable validity period.</t>
                        </list>
                    </t>
                </section>

                <section title="Federation Through DNS Publication">
                    <t>In the preferred DNS Delegation Model (Mode A), each administrative domain publishes its permitted agent discovery information in its own authoritative DNS zone. Publication makes the records available for remote queries but does not automatically populate other FGWs' FADs. Remote discovery information is retrieved on demand when a cross-domain discovery request cannot be answered from a valid matching FAD cache entry. This model does not require persistent FGW-to-FGW sessions or continuous replication of records between domains.</t>
                    <t>For example, Domain A's FGW constructs an FMR for a local agent and publishes the corresponding discovery records in Domain A's authoritative zone. When a user in Domain B requests information about that agent, Domain B's FGW first checks its FAD for a valid matching cached entry. If one exists and satisfies local policy, the FGW MAY return it directly. Otherwise, the FGW uses a validating resolver to query Domain A's authoritative DNS service, validates the response using DNSSEC <xref target="RFC4035"/>, applies local import policy, caches the accepted discovery information in its FAD, and returns the result to the requester. The authoritative DNS service MAY be operated separately from Domain A's FGW.</t>
                    <t>The requesting FGW uses a discovery name supplied by the request or obtained through a defined bootstrap, naming, or referral mechanism. DNS delegation locates the authoritative source for that name; it does not itself enumerate all agents or perform arbitrary searches over agent properties. Where detailed discovery information requires access control, DNS MAY publish only a bootstrap pointer to an FGW discovery endpoint. The requesting FGW then retrieves FMRs from that endpoint under the applicable authentication and authorization policies; validating the DNS pointer alone does not validate the subsequently retrieved FMRs.</t>
                    <t>For discovery information retrieved directly through DNS, the FAD cache lifetime does not exceed the remaining DNS TTL or any shorter applicable validity limit. Subsequent requests MAY reuse a valid matching entry, but cache hits do not restart its lifetime. Once the entry expires, it is no longer used to answer discovery requests, and a subsequent request triggers fresh DNS retrieval.</t>
                    <t>When Domain A changes or removes its published records, it updates its authoritative DNS zone. These changes do not proactively synchronize Domain B's FAD or immediately invalidate previously cached information. Domain B obtains the current published state through subsequent DNS retrieval after its cached information expires. DNSSEC protects the origin and integrity of DNS data; federation authorization and access to the discovered agent remain separate policy decisions. Further considerations are provided in <xref target="appendix-dns"/>.</t>
                    <section title="DNS Publication Updates">
                        <t>In Mode A, the originating FGW or an authorized infrastructure controller maintains the authoritative DNS records representing its exported agent discovery information. Publication updates are triggered by changes in agent availability, reachable endpoints, communication protocols, or export policy. These updates modify the authoritative publication state; they do not proactively synchronize remote FADs.</t>
                        <t>For infrastructure-assisted discovery, changes are obtained from infrastructure registration records when the infrastructure gateway is integrated with the FGW, or communicated to the FGW by a separate infrastructure gateway. The FGW applies export policy before adding, replacing, or removing the corresponding DNS records.</t>
                        <t>Authoritative records MAY be maintained through authenticated DNS UPDATE <xref target="RFC2136"/> or an authorized DNS management interface. The FGW need not operate the authoritative DNS server itself. The selected mechanism authenticates the updating component and restricts its authority to the records it is permitted to manage. Concrete update interfaces and authentication procedures are outside the scope of this document.</t>
                        <t>When an agent becomes unavailable or is no longer permitted to be exported, the responsible publisher removes or updates its authoritative records. Related records and references are reconciled to avoid leaving obsolete discovery paths. An authorized controller SHOULD also reconcile published information with current deployment state after failures or missed events.</t>
                        <t>Updating or removing authoritative records does not immediately invalidate information already cached by recursive resolvers or remote FADs. Those copies remain subject to their previously established expiration times. On a subsequent discovery request without a valid matching cache entry, the requesting FGW performs DNS resolution, validates the response, and caches the accepted result. An intermediate resolver may still return an earlier cached response within its remaining TTL.</t>
                        <t>DNS TTL controls cache lifetime rather than authoritative record lifetime. An authoritative record remains published until it is changed or removed, unless the deployment provides a separate publication-expiration mechanism. Periodic publication reconciliation therefore serves a different purpose from TTL-based aging in remote FADs.</t>
                    </section>
                </section>

                <section title="Federation Through Metadata Exchange">
                    <t>In the Non-DNS Synchronization Modes (Mode B), FGWs distribute FMRs through an exchange or publication mechanism selected for the federation's operational requirements. These mechanisms support different dissemination patterns while retaining the same resource ownership, export-policy, import-policy, and record-validation principles.</t>
                    <t>
                        <list style="symbols">
                            <t><strong>Structured peering:</strong> Authorized FGWs establish authenticated sessions. Each sender supplies an initial set of records permitted for the receiving peer, followed by incremental additions, updates, and withdrawals. The receiving FGW validates the records and maintains the accepted subset in its FAD. This mechanism supports direct per-peer disclosure control.</t>
                            <t><strong>Gossip-based dissemination:</strong> Authorized neighboring FGWs compare record summaries and exchange missing or newer records. Repeated exchanges and reconciliation spread permitted information across the federation. FADs converge over time within the applicable disclosure scope; they need not contain identical records or converge immediately.</t>
                            <t><strong>Trusted directory publication:</strong> An originating FGW registers a policy-filtered subset of FMRs with an authorized directory and maintains those registrations as local state changes. Remote FGWs query or subscribe to the directory, validate the returned information, and import eligible records into their FADs.</t>
                        </list>
                    </t>
                    <t>For example, Domain A's FGW exports an agent's FMR through the selected mechanism. Domain B's FGW receives or retrieves the record, validates its provenance and validity, and stores it in its FAD. Subsequent discovery requests in Domain B can use that record without repeating the original local discovery process in Domain A. Updates and withdrawals propagate through the same mechanism, subject to its delivery and consistency properties. Detailed considerations are provided in <xref target="appendix-modeb"/>.</t>
                </section>

                <section title="FAD Scope and Separation from Agent Communication">
                    <t>Each FAD represents the discovery information currently available and acceptable to its local domain, rather than a complete replica of all agent information in the federation. Its contents depend on local storage choices, export and import policies, the selected federation mechanisms, previous discovery requests, and record validity.</t>
                    <t>In Mode A, remote agent discovery information is not pre-populated in the FAD by default. The FAD serves as an on-demand cache: when a cross-domain request has no valid matching cached entry, the FGW retrieves the relevant information from the remote domain's authoritative DNS service, validates it, and caches the accepted result. Later requests MAY reuse that entry within its permitted lifetime. Expired entries are no longer eligible for discovery responses, and cache hits do not extend their validity.</t>
                    <t>In Mode B, the FAD MAY contain accepted remote FMRs obtained through proactive synchronization, directory retrieval, or subscriptions, according to the selected mechanism. Locally originated FMRs MAY be maintained within the FAD or in a separate local store. A deployment MAY combine Mode A and Mode B while retaining the provenance and validity information needed to manage records obtained through each mechanism.</t>
                    <t>Once discovery provides a suitable agent endpoint, the requester communicates with that agent using the indicated communication protocol and the agent's access-control requirements. The FGWs support discovery and metadata federation; they are not required to forward agent business data traffic.</t>
                </section>

                <section title="Attachment Context and Endpoint Resolution">
                    <t>The architecture MAY use the Attachment Context Hook described in <xref target="I-D.dunbar-dawn-infra-assisted-discovery"/> to obtain the requester's current Attachment Scope from trusted network infrastructure. This scope represents the network attachment or reachability context applicable to the requester and complements the agent deployment and endpoint information supplied through the Resource Publication Hook.</t>
                    <t>The FGW or an associated discovery service MAY use this context to identify applicable discovery domains or reachable agent endpoints. Published information may identify a stable logical service endpoint or an individually reachable agent instance. Where further resolution is needed, attachment context and current deployment information can support resolution to an agent endpoint reachable from the requester's network context, subject to deployment policy.</t>
                    <t>The resulting endpoint information MAY support a subsequent load-balancing or instance-selection function. Attachment context provides network applicability information; load measurements and other selection inputs, where required, are supplied by separate infrastructure mechanisms. This framework does not define load-balancing algorithms, instance-ranking policies, backend address mapping, or the detailed procedures for resolving a logical service endpoint to a runtime instance.</t>
                    <t>In Mode A, context-dependent discovery results cached in the FAD are reused only for requests to which the same applicability conditions apply and within their permitted validity period. A change in the requester's attachment context may require a new discovery lookup even when an earlier cached record has not expired. The representation, acquisition, exchange, and cache partitioning of attachment context are outside the scope of this document.</t>
                </section>
            </section>

            <section anchor="end-to-end-data-flow" title="End-to-End Data Flow">
                <t>The complete discovery data flow proceeds as follows:</t>
                <t><list style="numbers">
                    <t>An agent starts up in Site A and advertises itself via a site-local mechanism (e.g., mDNS on the local LAN, or registration with a local Agent Directory).</t>
                    <t>The FGW in Site A collects the advertisement, validates it, and passes it to the Export Policy Engine.</t>
                    <t>The Export Policy Engine determines that this agent may be shared with federation peers, redacts any sensitive fields, and produces an FMR binding the agent's MDI elements.</t>
                    <t>The FGW in Site A publishes the FMR as a resource record in Site A's authoritative zone (Mode A) or propagates it to its federation peers, including the FGW in Site B, using the selected Mode B mechanism (e.g., BGP-like peering sessions, gossip exchange, or directory registration).</t>
                    <t>A client in Site B requests discovery information for an agent in Site A. Site B's FGW checks its FAD for a valid matching record. In Mode A, Site A's publication alone has not populated Site B's FAD; a cache miss triggers DNS retrieval. In Mode B, a suitable record may already have arrived through the selected mechanism.</t>
                    <t>On a Mode A cache miss, Site B's FGW queries Site A's authoritative DNS service through its validating resolver, validates the returned discovery records using DNSSEC and local import policy, and caches the accepted information in its FAD for no longer than the remaining DNS TTL or any shorter applicable validity limit. The FGW returns the information to the client. If a valid cache entry already exists, it MAY answer directly from that entry.</t>
                    <t>Discovery concludes once the client obtains the minimum public discovery information in the FMR.  If the FMR contains a referral (e.g., to a catalog or another discovery endpoint), the client may follow it to continue discovery; any communication beyond this initial discovery process is outside the scope of this architecture.</t>
                    <t>When multiple candidate records are returned, this architecture exposes them but keeps ranking and selection logic outside its scope, consistent with the DAWN charter's exclusion of ranking and selection based on capabilities or user intent.  The final choice among candidates is made by the consuming application or end-user.</t>
                </list></t>
            </section>

            <section title="Functional Components">
                <t><list style="symbols">
                    <t><strong>Local Agent Discovery Module</strong> (on FGW): Captures local agent advertisements via passive mDNS listening, Agent Directory subscription, or other local mechanisms; maintains the site-local agent table.</t>
                    <t><strong>Export Policy Engine</strong> (on FGW): Executes data filtering, privacy redaction, and per-peer export access policy.  This is the core data sovereignty mechanism.</t>
                    <t><strong>Federation Control Module</strong> (on FGW): Implements the selected Mode B synchronization mechanism (managing BGP-like peering sessions, gossip exchanges, or directory registration), transmits incremental metadata updates, receives records from federation peers, and maintains the FAD.</t>
                    <t><strong>DNS Publication and Validation Service</strong> (on FGW): Publishes policy-filtered local FMRs in the site's authoritative DNS zone. For Mode A cross-domain requests without a valid matching FAD entry, retrieves records from the remote domain's authoritative DNS service through a validating resolver, validates them with DNSSEC, and caches accepted results in the FAD. The authoritative service MAY be operated separately from the FGW.</t>
                    <t><strong>Discovery and Referral Response Service</strong> (on FGW): Checks the FAD for valid matching records and answers discovery requests. In Mode A, a cache miss or expired entry triggers request-driven DNS retrieval and validation before caching and returning the result. The service also handles referrals to catalogs or other discovery endpoints.</t>
                    <t><strong>Metadata Integrity Module</strong> (on FGW): Signs outgoing FMRs and verifies signatures on incoming FMRs, providing origin authentication and integrity protection.</t>
                    <t><strong>FAD Aging Module</strong> (on FGW): Expires records according to their applicable validity rules. For Mode A DNS-derived entries, the cache lifetime does not exceed the remaining DNS TTL or any shorter applicable validity limit. Cache hits do not restart that lifetime; an expired entry requires fresh retrieval on a subsequent request.</t>
                </list></t>
            </section>
        </section>

        <section title="Deployment Models">
                <t>The two-layer architecture supports two top-level modes for inter-organizational interaction.  Mode A (DNS Delegation Model) is the preferred realization for the cooperating-parties context: each site publishes its FMRs as resource records in its own authoritative zone, and peer sites' validating resolvers query those zones directly.  When Mode A does not meet operational requirements, Mode B provides non-DNS alternatives whose selection depends on the number and scale of participating organizations and on the deployment scenario: BGP-like structured peering for closed trusted federations, gossip-based epidemic dissemination for large-scale loose federations, and trusted directory publication when discoverability beyond the immediate federation is required.  Detailed protocol considerations for all modes are provided in <xref target="appendix-synchronization"/>.</t>

                <section title="Mode A: DNS Delegation Model (Preferred)">
                    <t>Mode A is the preferred mode for inter-organizational information interaction.  It applies across the cooperating-parties context: each site publishes its policy-filtered FMRs as resource records in its own authoritative zone, and other sites' validating resolvers query those zones directly, with delegation and referral between authoritative zones providing the discovery path.  Participants remain independent: membership changes do not require reconfiguration of peering sessions, because discovery follows the DNS hierarchy rather than a pre-established session graph.</t>
                    <t><list style="symbols">
                        <t><strong>Recommended synchronization</strong>: DNS delegation between authoritative zones.  Each site publishes its FMRs as resource records in its own authoritative zone, and the other sites' validating resolvers query those zones directly, with delegation and referral between authoritative zones providing the inter-organizational interaction for the cooperating-parties context.  This mode reuses existing DNS infrastructure, requires no persistent gateway-to-gateway sessions, and obtains origin authentication and integrity for the published records from DNSSEC.  See <xref target="appendix-dns"/>.</t>
                        <t><strong>Rationale</strong>: Mode A builds on mature, standardized DNS infrastructure and DNSSEC integrity, scales without per-site peering configuration, and lets each site publish its discovery information independently while retaining full export-policy control.  It composes with the DAWN DNS-based naming proposals and is the natural default for inter-organizational interaction.</t>
                        <t><strong>Scale range</strong>: Suitable from small federations of a few sites to large federations, scaling naturally through the DNS hierarchy.</t>
                    </list></t>
                </section>

                <section title="Mode B: Non-DNS Synchronization Modes (Alternative)">
                    <t>Mode B is the alternative to Mode A when the DNS delegation model does not meet operational requirements, for example when sites require push-based, near-real-time propagation, per-peer export policy that cannot be expressed through zone publication, operation in networks without a usable DNS hierarchy, or discoverability beyond the immediate federation.  Mode B offers three synchronization mechanisms; the appropriate choice depends on the number and scale of participating organizations and on the deployment scenario.</t>

                    <section title="BGP-like Structured Peering">
                        <t>BGP-like structured peering is suited to medium-scale, tightly-managed federations such as industrial compute consortiums, multi-site enterprise AI deployments, and operator-managed edge-agent networks.  Participants are known and pre-authenticated; membership changes infrequently.</t>
                        <t><list style="symbols">
                            <t><strong>Recommended synchronization</strong>: Structured peer-to-peer incremental unicast synchronization (full-mesh or partial-mesh peering), with delegation or referral between discovery domains where needed.  See <xref target="appendix-peering"/>.</t>
                            <t><strong>Rationale</strong>: Persistent, low-latency peering with fine-grained per-peer sharing policy and fast convergence; the mesh operational overhead is acceptable for medium-scale federations.</t>
                            <t><strong>Scale range</strong>: Approximately 2 to 200 sites.</t>
                        </list></t>
                    </section>

                    <section title="Gossip-Based Epidemic Dissemination">
                        <t>Gossip-based epidemic dissemination applies to large, loosely-managed federations with high member churn, such as open edge-computing networks or cross-industry AI agent marketplaces.  Participants may join and leave frequently; mesh manual configuration is impractical.</t>
                        <t><list style="symbols">
                            <t><strong>Recommended synchronization</strong>: Gossip-based epidemic dissemination, with a bounded neighbor set and periodic anti-entropy synchronization.  See <xref target="appendix-gossip"/>.</t>
                            <t><strong>Rationale</strong>: Excellent horizontal scalability, robust against partial failures, and self-organizing topology that minimizes per-node configuration.  Convergence delay is acceptable for use cases that do not require instant global consistency.</t>
                            <t><strong>Scale range</strong>: Hundreds to thousands of sites.</t>
                            <t><strong>Note</strong>: Due to the security challenges of gossip dissemination, this mechanism is RECOMMENDED for experimental or controlled deployments rather than as a mandatory standards-track protocol.</t>
                        </list></t>
                    </section>

                    <section title="Trusted Directory Publication">
                        <t>Trusted directory publication applies to deployments where agents must be discoverable by parties outside the immediate peer federation, within the limits set by operator policy and the DAWN charter (which excludes AI resource indexing across the wider Internet).  Pure peer federation may not provide sufficient discoverability for requesters outside the federation.</t>
                        <t><list style="symbols">
                            <t><strong>Recommended approach</strong>: Hybrid deployment.  The FGW participates in a peer federation for trusted partners, AND optionally publishes a subset of sanitized FMRs to a trusted or semi-public directory service (e.g., AGNTCY ADS <xref target="I-D.mp-agntcy-ads"/>) or to a DNS-based registration/aggregation system, operated under explicit trust relationships.  In the preferred DNS realization (Mode A), the FGW publishes the subset in its own authoritative zone, or registers it with a trusted aggregator that mirrors the records.</t>
                            <t><strong>Rationale</strong>: Combines the data sovereignty and trust benefits of peer federation with the broad discoverability of public directories.  The Export Policy Engine controls which records are published to the public directory versus retained for federation peers only.</t>
                            <t><strong>Note</strong>: The architecture does not mandate a specific public directory protocol.  Existing or future registration protocols may be used.  A DNS-based directory is a natural realization: the FGW publishes sanitized FMRs in its own zone or registers them with a trusted aggregator, and DNSSEC provides integrity for the published records.  Publishing to a directory is a dissemination endpoint, not a trust anchor: it does not relax federation admission control, and directory publication remains governed by the Export Policy Engine.</t>
                        </list></t>
                    </section>
                </section>

                <section title="Mixed-Mode Federation">
                    <t>Mixed-mode federation combines the bootstrap and integrity properties of Mode A with the data-exchange characteristics of Mode B.  A common and recommended pattern is a two-phase deployment:</t>
                    <t><list style="numbers">
                        <t><strong>Phase 1 -- Bootstrap and endpoint discovery (DNS as a pointer)</strong>: DNS is used solely as a bootstrap pointer to advertise the location of each site's federation gateway discovery directory endpoint.  Detailed agent discovery records are not published in the public DNS; instead, each site's zone carries only pointer records (e.g., SRV or NAPTR-style records) that let a peer site's validating resolver locate the target FGW or directory endpoint, verified with DNSSEC.  This phase reuses the Mode A infrastructure in its restricted, pointer-only form (see Section 8.3 for the access-control rationale).</t>
                        <t><strong>Phase 2 -- Metadata exchange (Mode B by scale)</strong>: Once each federation gateway has learned the directory endpoints of its peers, the federation exchanges FMRs using the selected Mode B mechanism, chosen according to the number and scale of participating organizations: BGP-like structured peering (Section 7.2.1) for closed trusted federations, gossip-based epidemic dissemination (Section 7.2.2) for large-scale loose federations, or trusted directory publication (Section 7.2.3) when discoverability beyond the immediate federation is required.  Peer gateways retrieve agent metadata from the discovery directory endpoint behind the local gateway, where authorization and identity validation are enforced according to pre-established trust policies (Section 8.3).</t>
                    </list></t>
                    <t>This two-phase pattern keeps detailed discovery records under the originating site's access control while still using DNS for the initial context that DAWN requires.  Deployments that prefer maximum interoperability and public discoverability may instead use Mode A in its full form, publishing FMRs directly as resource records (Appendix A.1); the choice between the two is an operator decision driven by the required level of access control and data sovereignty.</t>
                    <t>The architecture also permits different subsets of an overall federation to adopt different mechanisms concurrently - for example, a core group of trusted operators using BGP-like structured peering among themselves while peripheral participants use gossip.  In all cases the FMR metadata format is shared across modes, ensuring that records are interoperable regardless of how they are transported.</t>
            </section>
        </section>

        <section title="Security Reference Model">
            <t>Security is a primary concern in cross-domain agent discovery.  A malicious or compromised federation gateway could inject forged agent advertisements, causing requesters to connect to rogue agents.  This section defines a layered security model for the architecture.  It aligns with the DAWN security considerations and the authentication framework in <xref target="I-D.klrc-aiagent-auth"/>.</t>

            <section title="Layer 1: Transport Security">
                <t>All federation control traffic between FGWs MUST be protected by authenticated encrypted transport.  TLS 1.3 <xref target="RFC8446"/> with mutual X.509 certificate authentication <xref target="RFC5280"/> is the RECOMMENDED mechanism.  Plaintext metadata exchange over public networks MUST NOT be used.</t>
                <t>Mutual authentication ensures that each FGW can verify the identity of its federation peers.  A federation may use its own certificate authority (CA) or a web-of-trust model; the architecture does not mandate a global root CA.  This aligns with DAWN's position that no global root trust authority is required <xref target="CSA-DAWN-Note"/>.</t>
            </section>

            <section title="Layer 2: FMR Origin Authentication and Integrity">
                <t>Transport security alone protects messages in transit but does not prevent a compromised peer from forging FMRs that claim to originate from another gateway.  The architecture therefore requires that each FMR carry an origin authentication and integrity mechanism.</t>
                <t><list style="symbols">
                    <t>Each outgoing FMR MUST be signed by the originating FGW using its private key.  The signature covers the FMR content (Entity Identifier, Origin-GW-ID, timestamp, type/services, TTL, and other mandatory fields).</t>
                    <t>Each receiving FGW MUST verify the FMR signature against the originating gateway's public key before accepting the record into its FAD.</t>
                    <t>FMRs that fail signature verification MUST be discarded and MUST NOT be propagated further.</t>
                    <t>The specific signature algorithm and key management mechanism are deferred to normative protocol documents.  The architecture requires the capability but does not mandate a particular algorithm.  JWS <xref target="RFC7515"/> as used in ACAP <xref target="I-D.zahed-acap"/> is a candidate mechanism.</t>
                </list></t>
                <t>This mechanism ensures that even if a malicious gateway joins the federation, it cannot forge FMRs on behalf of other gateways.  It can still forge its own local agent records, which is an inherent trust-boundary issue addressed by federation admission control (see Section 8.4).</t>
                <t>In the preferred DNS realization (Mode A), DNSSEC <xref target="RFC4035"/> provides origin authentication and integrity for the published resource records (FMR records or, in the pointer-only form, bootstrap records advertising the FGW or discovery directory endpoint), and DANE <xref target="RFC6698"/> MAY be used to authenticate the endpoints that a record references.  In the Mode B realizations (BGP-like peering, gossip, or directory publication), FMR signing provides the same protection over the corresponding interfaces.  FMR signing and DNSSEC may be combined for defense in depth; either mechanism alone satisfies the integrity requirement (F-9) for the records it covers.</t>
            </section>

            <section title="Layer 3: Access Control on Discovery Information">
                <t>Because FMRs may carry information that an organization does not wish to expose uniformly, the architecture requires that the export and serving of discovery information be access-controlled.  This is realized primarily by the Export Policy Engine at the source FGW and by per-peer policy at each federation boundary.</t>
                <t><list style="symbols">
                    <t>The Export Policy Engine controls which minimum public discovery information leaves the site and to which peers, preserving data sovereignty (F-3).</t>
                    <t>Referrals in FMRs point back to the originating FGW rather than directly to a resource's internal address, preserving internal topology privacy.</t>
                    <t>Discovery responses at an FGW MUST be served only to authenticated federation peers; the FGW MAY apply per-peer policies, serving different subsets of records to different parties, or rejecting requests from unauthorized parties entirely.</t>
                </list></t>
                <t>To control which federation gateways can obtain discovery information, the deployment choice depends on whether the operator can enforce a DNS access-control mechanism:</t>
                <t><list style="symbols">
                    <t><strong>Without a DNS access-control mechanism</strong>: DNS MAY be used solely as a bootstrap pointer to advertise the location of the federation gateway or its discovery directory endpoint.  Detailed agent discovery records (FMRs) SHALL NOT be published directly in the public DNS; instead, peer federation gateways retrieve agent metadata from the discovery directory endpoint behind the local gateway, where authorization and identity validation are enforced according to pre-established trust policies between administrative domains.  This confines the exposure of detailed records to authenticated peers while still providing a standard, cacheable, and DNSSEC-verifiable bootstrap path.</t>
                    <t><strong>With a DNS access-control mechanism</strong>: Detailed agent discovery records MAY be published directly in DNS, which is also a realization of Mode A, provided that access control is enforced at the authoritative servers.  A deployment option suitable for enterprise or closed federations is split-horizon DNS or private subdomain zones to restrict the visibility of discovery records: authoritative DNS servers return valid records only to queries originating from pre-registered trusted resolvers or gateway prefixes, while returning NXDOMAIN or REFUSED responses for other requesters.  This option is typically easier to operate for smaller enterprises and closed groups, but it has scaling limitations and relies primarily on source-IP-based access control unless augmented by DNS over TLS (DoT) <xref target="RFC7858"/> or DNS over HTTPS (DoH) <xref target="RFC8484"/> with mutual client certificate authentication.</t>
                </list></t>
            </section>

            <section title="Layer 4: Federation Admission Control">
                <t>The architecture's trust boundary is the federation membership.  A gateway that is admitted to the federation is trusted to accurately report its local agents (though FMR signing prevents it from forging other gateways' records).</t>
                <t><list style="symbols">
                    <t>Federation admission is governed by out-of-band administrative policy, not by the protocol itself.</t>
                    <t>Operators SHOULD carefully vet new gateway participants before admitting them to a federation, particularly in closed trusted federations using BGP-like structured peering (Section 7.2.1).</t>
                    <t>In gossip-based federations (Section 7.2.2), the larger and more open the participant set, the higher the risk of malicious participants.  Operators SHOULD consider additional reputation or rate-limiting mechanisms.</t>
                </list></t>
            </section>

            <section title="Denial-of-Service Considerations">
                <t><list style="symbols">
                    <t>Rate limiting MUST be applied to incoming federation control messages per peer.  An FGW SHOULD implement a maximum message rate and disconnect peers that exceed it.</t>
                    <t>The FAD database size MUST be bounded.  An FGW SHOULD implement a maximum number of FMRs per origin gateway and reject excess entries.</t>
                    <t>TLS handshake rate limiting protects against connection-flood attacks.</t>
                    <t>The hold timer and keepalive mechanism (in peering protocols) or neighbor timeout (in gossip protocols) detect dead peers and free resources.</t>
                </list></t>
            </section>
        </section>

        <section title="Resilience and Operational Considerations">
            <section title="Network Partition Handling">
                <t>When a network partition occurs, FGWs on each side lose connectivity to peers on the other side.  The architecture handles this as follows:</t>
                <t><list style="symbols">
                     <t>Previously accepted remote FMRs, including Mode A records cached after a discovery request, remain eligible in the local FAD only until their permitted validity expires.  This prevents transient partitions from causing mass agent disappearance.</t>
                    <t>When connectivity is restored, a full resynchronization (in peering protocols) or anti-entropy exchange (in gossip protocols) reconciles the two sides.</t>
                    <t>Operators SHOULD set TTL values that balance prompt stale-record removal against tolerance for transient partitions.  A TTL of 300 seconds (5 minutes) is RECOMMENDED as a default.</t>
                </list></t>
            </section>

            <section title="Gateway Failure and Recovery">
                <t><list style="symbols">
                    <t>An agent or FGW may stop unexpectedly without completing graceful withdrawal. The architecture distinguishes resource failure, discovery-component failure, and temporary loss of connectivity; none of these conditions is inferred solely from a failed federation session or an unexpired discovery record.</t>
                    <t><list style="symbols">
                        <t><strong>Unexpected agent failure:</strong> Authorized deployment or management infrastructure detects the change and updates or withdraws the agent's registration and corresponding published information. In Mode A, previously cached DNS results may remain usable until expiration even after authoritative records are removed. A requester may therefore encounter an unreachable endpoint during this interval. Endpoint retry, failover, and load-balancing behavior are outside the scope of this document.</t>
                        <t><strong>FGW failure with independent DNS service:</strong> Published DNS records may remain retrievable while the originating FGW is unavailable. Remote FGWs can continue request-driven DNS retrieval if the authoritative service remains reachable and the records remain valid. An authorized controller or replacement FGW is needed to maintain publication accuracy as agent state changes; DNS availability alone does not establish that the published agent information is current.</t>
                        <t><strong>Failure of the authoritative DNS service:</strong> A requesting FGW MAY answer from a valid matching FAD entry within its permitted lifetime. When no such entry exists, it cannot complete discovery through that DNS source and reports a temporary discovery failure or uses another authorized discovery path. Failure to retrieve a record does not by itself prove that the agent has stopped.</t>
                        <t><strong>Failure of a separate local infrastructure gateway:</strong> The FGW may stop receiving deployment updates while previously collected information remains present. An authorized monitoring or reconciliation mechanism determines whether that information can still be treated as current and updates or withdraws publications when necessary. Detailed health-check and registration-lease mechanisms are deployment-specific.</t>
                        <t><strong>Mode B session failure:</strong> Loss of a peer session or directory connection does not by itself mean that every represented agent is unavailable. Previously accepted records remain subject to their validity and the selected protocol's failure-handling rules. Expiration, explicit withdrawal, and reconnection reconciliation determine subsequent FAD state.</t>
                        <t><strong>Recovery:</strong> A recovered or replacement FGW reconciles local discovery and infrastructure registration state with actual deployments before restoring publication. In Mode A, it repairs authoritative DNS records without requiring unsolicited population of remote FADs; remote FGWs obtain the current records through subsequent request-driven lookups. In Mode B, it reconciles records and withdrawal state through the selected synchronization mechanism while preserving origin authority and replay protection.</t>
                    </list></t>
                    <t>Attachment context and current resource information MAY assist identification of alternative applicable endpoints after a failure. Detailed failure detection, backend address resolution, instance selection, traffic failover, and load-balancing algorithms are outside the scope of this framework.</t>
                </list></t>
            </section>

            <section title="Graceful Shutdown">
                <t>Planned shutdown distinguishes withdrawal of an agent from shutdown of an FGW. Agent withdrawal changes the availability of a discoverable resource. FGW shutdown affects discovery publication or federation functions but does not necessarily make the agents represented by that FGW unavailable.</t>
                <t>Before an agent is shut down, the responsible agent management or deployment infrastructure SHOULD notify the local discovery component and withdraw or update the agent's registration. A separate local infrastructure gateway communicates the corresponding change to the FGW; an integrated FGW obtains it from the infrastructure's registration records. The FGW then updates the affected FMRs and their publication state.</t>
                <t>In Mode A, the FGW or an authorized publication controller removes or updates the affected authoritative DNS records. This action prevents subsequent authoritative queries from returning the withdrawn information, but it does not immediately invalidate copies already held by recursive resolvers or remote FADs. Those copies remain subject to their previously established expiration times. Lowering the authoritative TTL at shutdown does not shorten the lifetime of copies already cached.</t>
                <t>For a planned agent shutdown, an operator MAY lower the TTL sufficiently far in advance, allow the previous larger cache lifetimes to elapse, withdraw the affected records, and allow the remaining cache lifetimes to expire before stopping the agent. Where supported, the service MAY drain existing interactions separately from discovery withdrawal. The detailed shutdown and draining procedures are deployment-specific.</t>
                <t>Before an FGW is shut down, its publication and federation responsibilities SHOULD be transferred to a replacement component or explicitly discontinued. If agents remain available and their authoritative DNS records remain accurate and are maintained by another authorized component, those records need not be withdrawn solely because the FGW stops. Records advertising an FGW-hosted discovery endpoint that will become unavailable SHOULD be updated or removed.</t>
                <t>In Mode B, affected FMRs are withdrawn, updated, or transferred according to the selected mechanism. Structured peering may send explicit withdrawals, gossip may disseminate withdrawal state, and directory publication may remove registrations. A receiving FGW that accepts an authorized withdrawal removes the affected record from usable FAD results without waiting for its previous validity period to expire. Records describing agents that remain available MAY continue under an authorized continuity arrangement.</t>
            </section>

            <section title="TTL-Based Stale Record Aging">
                <t>The FAD maintains expiration information for accepted remote records according to the mechanism through which they were obtained. Expiration limits the use of cached or synchronized information; it does not by itself establish whether an agent is currently reachable.</t>
                <t>In Mode A, remote discovery information is not pre-populated in the FAD by default. When a cross-domain request has no valid matching cache entry, the FGW retrieves the relevant DNS records, validates them, and caches the accepted information. Its expiration time is bounded by the remaining TTL supplied by the DNS resolution process and any shorter applicable record or validation lifetime. A response obtained from an intermediate resolver does not receive a new full authoritative TTL merely because it is copied into the FAD.</t>
                <t>A cache hit does not restart the entry's lifetime. Once an entry expires, it is no longer eligible to answer discovery requests. A subsequent request triggers fresh DNS retrieval and validation. The FGW does not extend an expired entry merely because the authoritative service is temporarily unreachable. Background cleanup MAY remove expired entries later, provided that request processing excludes them immediately upon expiration.</t>
                <t>A fresh validated DNS response MAY establish a new cache lifetime according to its remaining TTL and applicable validity limits. Mode A does not require the originating FGW to push periodic refreshes to remote FADs, and an unchanged DNS record does not require a new FMR version solely to be cached again after a later query.</t>
                <t>DNS TTL bounds the lifetime of a cached copy, not the lifetime of a record in the authoritative zone. If an obsolete record remains published, subsequent queries can retrieve and cache it again. Deployments therefore need an authorized mechanism to reconcile published DNS records with current agent state and to remove obsolete publications independently of cache aging.</t>
                <t>In Mode B, accepted FMRs expire according to the originating record's validity and the selected synchronization or directory mechanism. Duplicate reception, relay activity, and local cache access do not extend origin-defined validity. The applicable protocol defines authenticated refreshes, version ordering, replay protection, and withdrawal-state retention. These rules are distinct from ordinary DNS cache refresh in Mode A.</t>
                <t>Where discovery results depend on Attachment Scope, cached information is reused only for requests satisfying the same applicability conditions. A change in attachment context may require a new lookup before the record's TTL expires. Detailed context acquisition and cache partitioning procedures are outside the scope of this document.</t>
            </section>

            <section title="Version Evolution and Forward Compatibility">
                <t><list style="symbols">
                    <t>The FMR format uses self-describing TLV (Type-Length-Value) encoding, allowing new optional fields to be added without breaking backward compatibility.  Recipients MUST ignore unknown TLV types.</t>
                    <t>The architecture supports multiple protocol versions simultaneously.  FGWs SHOULD negotiate protocol capabilities during session establishment (for BGP-like peering protocols), hello exchange (for gossip protocols), through record-format versioning and TTL-based rollover (for the DNS delegation mode), or through the directory's registration interface (for directory publication).</t>
                    <t>Major architectural changes that break compatibility require a new version of this framework document and SHOULD be discussed in the DAWN working group before deployment.</t>
                </list></t>
            </section>

            <section title="Operational Monitoring">
                <t>Operators of federation gateways SHOULD monitor the following metrics:</t>
                <t><list style="symbols">
                    <t>Number of active federation peers and peer session uptime.</t>
                    <t>FAD size and growth rate, per origin gateway.</t>
                    <t>FMR update rate and withdrawal rate.</t>
                    <t>Signature verification failure rate (indicator of potential attacks or misconfiguration).</t>
                    <t>Mode A FAD cache-hit and cache-miss rates, entry expiration and eviction rates, and DNS lookup latency. Cache expiration is normal and does not by itself indicate publication failure.</t>
                    <t>Mode A DNS resolution failures, DNSSEC validation failures, authoritative publication update failures, and discrepancies detected during publication reconciliation.</t>
                    <t>Mode B record expiration rates, missed refreshes where applicable, withdrawal propagation delay, and synchronization or reconciliation failures.</t>
                    <t>Discovery query request rate and authorization failure rate.</t>
                </list></t>
            </section>
        </section>

        <section title="IANA Considerations">
            <t>This informational document does not request any new IANA registrations.  The architecture itself does not define protocol numbers, ports, or message types.</t>
            <t>Future normative protocol specifications derived from this architecture MAY request IANA allocations, including but not limited to: well-known TCP/UDP ports for federation control protocols, message type registries, and FMR TLV type registries.  DNS-based realizations may additionally request allocation of DNS service names/types (e.g., under the DNS-SD service-type registry) or of new DNS resource record types for agent discovery.  Such requests are the responsibility of the respective protocol documents.</t>
            <t>A shared FMR TLV type registry MAY be established to ensure interoperability across different federation protocols.  If established, it SHOULD be managed under the "Specification Required" policy <xref target="RFC8126"/>.</t>
        </section>

        <section title="Acknowledgements">
            <t>The author thanks the DAWN working group participants for their foundational work on agent discovery terminology, requirements, and gap analysis.  This architecture builds directly on the DAWN problem statement, requirements, use cases, and the discovery mechanism survey by Jimenez et al.</t>
        </section>
    </middle>

    <back>
        <references title="Informative References">
            <reference anchor="RFC6762" target="https://www.rfc-editor.org/rfc/rfc6762">
                <front>
                    <title>Multicast DNS</title>
                    <author initials="S." surname="Cheshire"/>
                    <author initials="M." surname="Krochmal"/>
                    <date year="2013" month="February"/>
                </front>
                <seriesInfo name="RFC" value="6762"/>
            </reference>
            <reference anchor="RFC6763" target="https://www.rfc-editor.org/rfc/rfc6763">
                <front>
                    <title>DNS-Based Service Discovery</title>
                    <author initials="S." surname="Cheshire"/>
                    <author initials="M." surname="Krochmal"/>
                    <date year="2013" month="February"/>
                </front>
                <seriesInfo name="RFC" value="6763"/>
            </reference>
            <reference anchor="RFC4271" target="https://www.rfc-editor.org/rfc/rfc4271">
                <front>
                    <title>A Border Gateway Protocol 4 (BGP-4)</title>
                    <author initials="Y." surname="Rekhter"/>
                    <author initials="T." surname="Li"/>
                    <author initials="S." surname="Hares"/>
                    <date year="2006" month="January"/>
                </front>
                <seriesInfo name="RFC" value="4271"/>
            </reference>
            <reference anchor="RFC5280" target="https://www.rfc-editor.org/rfc/rfc5280">
                <front>
                    <title>Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile</title>
                    <author initials="D." surname="Cooper"/>
                    <author initials="S." surname="Santesson"/>
                    <author initials="S." surname="Boeyen"/>
                    <author initials="R." surname="Housley"/>
                    <author initials="W." surname="Polk"/>
                    <date year="2008" month="May"/>
                </front>
                <seriesInfo name="RFC" value="5280"/>
            </reference>
            <reference anchor="RFC7515" target="https://www.rfc-editor.org/rfc/rfc7515">
                <front>
                    <title>JSON Web Signature (JWS)</title>
                    <author initials="M." surname="Jones"/>
                    <author initials="J." surname="Bradley"/>
                    <author initials="N." surname="Sakimura"/>
                    <date year="2015" month="May"/>
                </front>
                <seriesInfo name="RFC" value="7515"/>
            </reference>
            <reference anchor="RFC7858" target="https://www.rfc-editor.org/rfc/rfc7858">
                <front>
                    <title>Specification for DNS over Transport Layer Security (TLS)</title>
                    <author initials="Z." surname="Hu"/>
                    <author initials="L." surname="Zhu"/>
                    <author initials="J." surname="Heidemann"/>
                    <author initials="A." surname="Mankin"/>
                    <author initials="D." surname="Wessels"/>
                    <author initials="P." surname="Hoffman"/>
                    <date year="2016" month="May"/>
                </front>
                <seriesInfo name="RFC" value="7858"/>
            </reference>
            <reference anchor="RFC8126" target="https://www.rfc-editor.org/rfc/rfc8126">
                <front>
                    <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
                    <author initials="M." surname="Cotton"/>
                    <author initials="B." surname="Leiba"/>
                    <date year="2017" month="June"/>
                </front>
                <seriesInfo name="BCP" value="26"/>
                <seriesInfo name="RFC" value="8126"/>
            </reference>
            <reference anchor="RFC8446" target="https://www.rfc-editor.org/rfc/rfc8446">
                <front>
                    <title>The Transport Layer Security (TLS) Protocol Version 1.3</title>
                    <author initials="E." surname="Rescorla"/>
                    <date year="2018" month="August"/>
                </front>
                <seriesInfo name="RFC" value="8446"/>
            </reference>
            <reference anchor="RFC8484" target="https://www.rfc-editor.org/rfc/rfc8484">
                <front>
                    <title>DNS Queries over HTTPS (DoH)</title>
                    <author initials="P." surname="Hoffman"/>
                    <author initials="P." surname="McManus"/>
                    <date year="2018" month="October"/>
                </front>
                <seriesInfo name="RFC" value="8484"/>
            </reference>
            <reference anchor="RFC9176" target="https://www.rfc-editor.org/rfc/rfc9176">
                <front>
                    <title>Constrained RESTful Environments (CoRE) Resource Directory</title>
                    <author initials="C." surname="Amsuess" role="editor"/>
                    <author initials="Z." surname="Shelby"/>
                    <author initials="M." surname="Koster"/>
                    <author initials="C." surname="Bormann"/>
                    <author initials="P." surname="van der Stok"/>
                    <date year="2022" month="April"/>
                </front>
                <seriesInfo name="RFC" value="9176"/>
            </reference>
            <reference anchor="RFC9727" target="https://www.rfc-editor.org/rfc/rfc9727">
                <front>
                    <title>api-catalog: A Well-Known URI and Link Relation to Help Discovery of APIs</title>
                    <author initials="K." surname="Smith"/>
                    <date year="2025" month="June"/>
                </front>
                <seriesInfo name="RFC" value="9727"/>
            </reference>
            <reference anchor="RFC4035" target="https://www.rfc-editor.org/rfc/rfc4035">
                <front>
                    <title>Protocol Modifications for the DNS Security Extensions</title>
                    <author initials="R." surname="Arends"/>
                    <author initials="R." surname="Austein"/>
                    <author initials="M." surname="Larson"/>
                    <author initials="D." surname="Massey"/>
                    <author initials="S." surname="Rose"/>
                    <date year="2005" month="March"/>
                </front>
                <seriesInfo name="RFC" value="4035"/>
            </reference>
            <reference anchor="RFC6698" target="https://www.rfc-editor.org/rfc/rfc6698">
                <front>
                    <title>The DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol: TLSA</title>
                    <author initials="P." surname="Hoffman"/>
                    <author initials="J." surname="Schlyter"/>
                    <date year="2012" month="August"/>
                </front>
                <seriesInfo name="RFC" value="6698"/>
            </reference>
            <reference anchor="CSA-DAWN-Note" target="https://labs.cloudsecurityalliance.org/research/csa-research-note-ietf-agent-identity-standards-20260902-csa/">
                <front>
                    <title>IETF's Race to Standardize AI Agent Identity</title>
                    <author><organization>Cloud Security Alliance</organization></author>
                    <date year="2026" month="September"/>
                </front>
            </reference>
            <reference anchor="I-D.akhavain-moussa-dawn-problem-statement" target="https://datatracker.ietf.org/doc/html/draft-akhavain-moussa-dawn-problem-statement-05">
                <front>
                    <title>Problem Statement for the Discovery of Agents, Workloads, and Named Entities (DAWN)</title>
                    <author initials="A." surname="Akhavain"/>
                    <author initials="H." surname="Moussa"/>
                    <author initials="D." surname="King"/>
                    <date year="2026" month="July"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-akhavain-moussa-dawn-problem-statement-05"/>
            </reference>
            <reference anchor="I-D.cui-dawn-mdi-model" target="https://datatracker.ietf.org/doc/html/draft-cui-dawn-mdi-model-00">
                <front>
                    <title>An Information Model for Minimum Discoverable Information (MDI)</title>
                    <author initials="Y." surname="Cui"/>
                    <date year="2026" month="July"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-cui-dawn-mdi-model-00"/>
            </reference>
            <reference anchor="I-D.cui-dns-native-agent-naming-resolution" target="https://datatracker.ietf.org/doc/html/draft-cui-dns-native-agent-naming-resolution-01">
                <front>
                    <title>DNS-Native AI Agent Naming and Resolution</title>
                    <author initials="Y." surname="Cui"/>
                    <date year="2026" month="March"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-cui-dns-native-agent-naming-resolution-01"/>
            </reference>
            <reference anchor="I-D.farrel-dawn-terminology" target="https://datatracker.ietf.org/doc/html/draft-farrel-dawn-terminology-02">
                <front>
                    <title>Terminology for the Discovery of Agents, Workloads, and Named Entities (DAWN)</title>
                    <author initials="A." surname="Farrel"/>
                    <author initials="K." surname="Yao"/>
                    <author initials="R." surname="Schott"/>
                    <author initials="N." surname="Williams"/>
                    <date year="2026" month="June"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-farrel-dawn-terminology-02"/>
            </reference>
            <reference anchor="I-D.jimenez-agent-directory" target="https://datatracker.ietf.org/doc/html/draft-jimenez-agent-directory-01">
                <front>
                    <title>Agent Directory</title>
                    <author initials="J." surname="Jimenez"/>
                    <date year="2026" month="May"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-jimenez-agent-directory-01"/>
            </reference>
            <reference anchor="I-D.jimenez-dawn-discovery-landscape" target="https://datatracker.ietf.org/doc/html/draft-jimenez-dawn-discovery-landscape-00">
                <front>
                    <title>A Survey of AI Agent Discovery Mechanisms</title>
                    <author initials="J." surname="Jimenez"/>
                    <author initials="J." surname="Feng"/>
                    <author initials="J." surname="Arkko"/>
                    <author initials="M." surname="Kuehlewind"/>
                    <author initials="R." surname="Kandoi"/>
                    <date year="2026" month="July"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-jimenez-dawn-discovery-landscape-00"/>
            </reference>
            <reference anchor="I-D.kay-dawn-use-cases" target="https://datatracker.ietf.org/doc/html/draft-kay-dawn-use-cases-00">
                <front>
                    <title>Use Cases for the Discovery of Agents, Workloads, and Named Entities</title>
                    <author initials="D." surname="King"/>
                    <author initials="K." surname="Yao"/>
                    <author initials="K." surname="Adler"/>
                    <date year="2026" month="June"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-kay-dawn-use-cases-00"/>
            </reference>
            <reference anchor="I-D.king-dawn-requirements" target="https://datatracker.ietf.org/doc/html/draft-king-dawn-requirements-01">
                <front>
                    <title>Requirements for the Discovery of Agents, Workloads, and Named Entities (DAWN)</title>
                    <author initials="D." surname="King"/>
                    <author initials="A." surname="Farrel"/>
                    <date year="2026" month="April"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-king-dawn-requirements-01"/>
            </reference>
            <reference anchor="I-D.klrc-aiagent-auth" target="https://datatracker.ietf.org/doc/html/draft-klrc-aiagent-auth-02">
                <front>
                    <title>AI Agent Authentication and Authorization</title>
                    <author initials="P." surname="Kasselman"/>
                    <author initials="J." surname="Lombardo"/>
                    <author initials="Y." surname="Rosomakho"/>
                    <author initials="B." surname="Campbell"/>
                    <author initials="N." surname="Steele"/>
                    <author initials="A." surname="Parecki"/>
                    <date year="2026" month="June"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-klrc-aiagent-auth-02"/>
            </reference>
            <reference anchor="I-D.mp-agntcy-ads" target="https://spec.dir.agntcy.org">
                <front>
                    <title>Agent Directory Service</title>
                    <author><organization>AGNTCY</organization></author>
                    <date year="2025"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-mp-agntcy-ads"/>
            </reference>
            <reference anchor="I-D.moussa-dawn-gap-analysis" target="https://datatracker.ietf.org/doc/html/draft-moussa-dawn-gap-analysis-01">
                <front>
                    <title>Gap Analysis and Applicability Statement for Discovery Protocols of Agents, Workloads, and Named Entities (DAWN)</title>
                    <author initials="H." surname="Moussa"/>
                    <author initials="A." surname="Akhavain"/>
                    <date year="2026" month="June"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-moussa-dawn-gap-analysis-01"/>
            </reference>
            <reference anchor="I-D.mozleywilliams-dnsop-dnsaid" target="https://datatracker.ietf.org/doc/html/draft-mozleywilliams-dnsop-dnsaid-02">
                <front>
                    <title>DNS for AI Discovery</title>
                    <author initials="J." surname="Mozley"/>
                    <author initials="N." surname="Williams"/>
                    <author initials="B." surname="Sarikaya"/>
                    <author initials="R." surname="Schott"/>
                    <author initials="J." surname="Damick"/>
                    <date year="2026" month="May"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-mozleywilliams-dnsop-dnsaid-02"/>
            </reference>
            <reference anchor="I-D.zahed-acap" target="https://datatracker.ietf.org/doc/html/draft-zahed-acap-00">
                <front>
                    <title>Agent Capability Advertisement Protocol (ACAP)</title>
                    <author initials="Z." surname="Sarker"/>
                    <author initials="T." surname="Reddy"/>
                    <date year="2026" month="June"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-zahed-acap-00"/>
            </reference>
            <reference anchor="I-D.yao-dawn-agent-discovery-architect" target="https://datatracker.ietf.org/doc/html/draft-yao-dawn-agent-discovery-architect-00">
                <front>
                    <title>DNS-like Agent Discovery Architecture</title>
                    <author initials="J." surname="Yao"/>
                    <author initials="G." surname="Geng"/>
                    <author initials="M." surname="Chen"/>
                    <author initials="H." surname="Li"/>
                    <date year="2026" month="July"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-yao-dawn-agent-discovery-architect-00"/>
            </reference>
            <reference anchor="I-D.jakab-dawn-agent-discovery-mdns" target="https://datatracker.ietf.org/doc/html/draft-jakab-dawn-agent-discovery-mdns-00">
                <front>
                    <title>Agent Discovery Using mDNS</title>
                    <author surname="Jakab"/>
                    <date year="2026" month="July"/>
                </front>
                <seriesInfo name="Internet-Draft" value="draft-jakab-dawn-agent-discovery-mdns-00"/>
            </reference>
            <reference anchor="I-D.dunbar-dawn-infra-assisted-discovery"
           target="https://datatracker.ietf.org/doc/html/draft-dunbar-dawn-infra-assisted-discovery-00">
            <front>
                <title>Infrastructure-Assisted Discovery for AI Agents</title>
                <author initials="L." surname="Dunbar" fullname="Linda Dunbar">
                <organization>Futurewei</organization>
                </author>
                <date year="2026" month="October" day="13"/>
            </front>
            <seriesInfo name="Internet-Draft" value="draft-dunbar-dawn-infra-assisted-discovery-00"/>
            </reference>
            <reference anchor="RFC2136" target="https://www.rfc-editor.org/rfc/rfc2136">
                <front>
                    <title>Dynamic Updates in the Domain Name System (DNS UPDATE)</title>
                    <author initials="P." surname="Vixie" role="editor"/>
                    <author initials="S." surname="Thomson"/>
                    <author initials="Y." surname="Rekhter"/>
                    <author initials="J." surname="Bound"/>
                    <date year="1997" month="April"/>
                </front>
                <seriesInfo name="RFC" value="2136"/>
                <seriesInfo name="DOI" value="10.17487/RFC2136"/>
            </reference>
        </references>

        <section anchor="appendix-synchronization" title="Federation Synchronization Protocol Considerations">
            <t>This appendix provides detailed considerations for the federation synchronization modes that may be standardized separately based on this architecture.  These details are informational and are provided to guide future protocol design.  The modes described here may be instantiated by separately-published, normative protocol specifications.  <xref target="appendix-dns"/> describes the preferred DNS delegation model (Mode A) for inter-organizational interaction; <xref target="appendix-modeb"/> introduces the non-DNS alternatives (Mode B), with <xref target="appendix-peering"/>, <xref target="appendix-gossip"/>, and <xref target="appendix-directory"/> describing BGP-like structured peering, gossip-based epidemic dissemination, and trusted directory publication respectively.</t>

            <section anchor="appendix-dns" title="DNS Delegation Model (Mode A)">
                <t>For inter-organizational interaction in the cooperating-parties context, the preferred realization of the Federation Plane is DNS delegation between authoritative zones (Mode A).  Each site publishes its policy-filtered FMRs as resource records in its own authoritative zone, and other sites' validating resolvers query those zones directly; delegation and referral between authoritative zones provide the discovery path without requiring persistent gateway-to-gateway sessions.</t>
                <t><list style="symbols">
                    <t>Each FGW acts as an authoritative publisher for the site: it publishes FMRs as resource records (e.g., TXT records or dedicated record types carrying the thin MDI binding) in the site's zone, and refreshes them on local agent state changes.</t>
                    <t>Inter-organizational discovery uses ordinary DNS resolution: a querying site's validating resolver resolves the target organization's discovery name, follows DNS delegation to the target's authoritative zone, and obtains the FMR records directly from that zone.</t>
                    <t>Delegation and referral between discovery domains provide the iterative path: a returned record may refer the client to a catalog or to another discovery endpoint (referral, delegation, or indirection), consistent with the iterative discovery model of this architecture (Section 1 and Section 6.3).</t>
                    <t>DNSSEC <xref target="RFC4035"/> provides origin authentication and integrity for the published records; validating resolvers MUST verify the DNSSEC chain of trust and MUST NOT accept unauthenticated FMR records when the zone is signed.</t>
                    <t>DANE <xref target="RFC6698"/> MAY be used to authenticate the endpoints that a record references.</t>
                    <t>Lifecycle management distinguishes authoritative publication updates from cache aging. The publishing FGW or an authorized infrastructure controller updates or removes authoritative DNS records as agent availability, deployment state, or export policy changes. Previously cached copies in resolvers and remote FADs remain subject to their established expiration times and are not immediately invalidated by authoritative updates. A subsequent discovery request without a valid matching FAD entry triggers DNS resolution and validation before the result is cached again. The publisher SHOULD reconcile authoritative records with current deployment state, since cache expiration alone does not remove obsolete records from the authoritative zone.</t>
                    <t>Export policy remains in force at publication time: the Export Policy Engine determines which FMRs are published in the zone, and records that are not published are not reachable via DNS.</t>
                    <t>Mode A is preferred because it reuses mature DNS infrastructure, requires no persistent peering sessions or per-peer manual configuration, scales naturally through the DNS hierarchy, and composes with the DAWN DNS-based naming proposals (DNS-AID <xref target="I-D.mozleywilliams-dnsop-dnsaid"/> and DN-ANR <xref target="I-D.cui-dns-native-agent-naming-resolution"/>).</t>
                </list></t>
                <t>Mode A may also be used in a restricted, pointer-only form in which the zone carries only bootstrap records advertising the FGW discovery directory endpoint, and detailed FMRs are retrieved from that endpoint under access control rather than published in DNS.  This form supports the two-phase mixed-mode deployment described in Section 7.3 and is motivated by the access-control considerations of Section 8.3.</t>
            </section>

            <section anchor="appendix-modeb" title="Non-DNS Synchronization Modes (Mode B)">
                <t>Mode B is the alternative to Mode A when the DNS delegation model does not meet operational requirements, for example when sites require push-based, near-real-time propagation, per-peer export policy that cannot be expressed through zone publication, operation in networks without a usable DNS hierarchy, or discoverability beyond the immediate federation.  The selection among the three Mode B mechanisms depends on the number and scale of participating organizations and on the deployment scenario (Section 7.2):</t>
                <t><list style="symbols">
                    <t>BGP-like structured peering (<xref target="appendix-peering"/>) is suited to medium-scale closed trusted federations (Section 7.2.1) that require fast convergence and fine-grained per-peer policy control.</t>
                    <t>Gossip-based epidemic dissemination (<xref target="appendix-gossip"/>) is suited to large-scale loose federations (Section 7.2.2) with high member churn, where self-organizing topology and horizontal scalability matter more than convergence speed.</t>
                    <t>Trusted directory publication (<xref target="appendix-directory"/>) is suited to deployments that must be discoverable by parties outside the immediate federation (Section 7.2.3), within the limits set by operator policy and the DAWN charter.</t>
                </list></t>
                <t>All Mode B mechanisms share the same FMR metadata format and the same integrity requirements as Mode A; the choice of mechanism does not change the thin MDI binding carried in FMRs.</t>
            </section>

            <section anchor="appendix-peering" title="BGP-like Structured Peering Model">
                <t>BGP-like structured peering is one of the three Mode B mechanisms, suited to closed trusted federations (Section 7.2.1) that require persistent, low-latency peering with fine-grained per-peer policy control.  It is the recommended Mode B choice when DNS delegation (Mode A, <xref target="appendix-dns"/>) does not meet operational requirements, for example when sites require push-based, near-real-time propagation or per-peer export policy that cannot be expressed through zone publication.</t>
                <t><list style="symbols">
                    <t>Each FGW establishes persistent unicast sessions with configured peer FGWs.</t>
                    <t>Incremental updates are sent when local agent state changes.  Full table dumps are exchanged only upon session establishment or after a reset.</t>
                    <t>Per-peer export and import policies control which FMRs are advertised to or accepted from each peer.</t>
                    <t>Keepalive and hold timers detect peer failures.</t>
                    <t>Route reflection or confederation concepts may be applied to reduce full-mesh requirements in large closed federations.</t>
                </list></t>
        <t>It is important to distinguish metadata‑oriented discovery federation from a full network‑routing control plane. This BGP‑style structured peering is only one optional synchronization mechanism for metadata federation and is not mandatory for the architecture. Simpler deployments may rely solely on the DNS delegation mode (Mode A) instead of full peering‑based metadata synchronization, without constructing a routing‑like control‑plane.</t>
            </section>

            <section anchor="appendix-gossip" title="Gossip-Based Epidemic Dissemination Model">
                <t>Gossip-based epidemic dissemination is one of the three Mode B mechanisms, suited to large-scale loose federations (Section 7.2.2) where gossip-based protocols provide horizontal scalability at the cost of eventual consistency.</t>
                <t><list style="symbols">
                    <t>Each FGW maintains a small, bounded set of neighbor FGWs (e.g., log N for N participants).</t>
                    <t>During each gossip cycle, the FGW exchanges a digest of its FAD with a randomly selected neighbor, followed by exchange of missing or updated FMRs.</t>
                    <t>Anti-entropy synchronization reconciles divergent states during periodic full exchanges.</t>
                    <t>Neighbor selection may be random, topology-aware, or latency-optimized.</t>
                    <t>Due to the risk of rapid forged metadata propagation, this model SHOULD be combined with strict FMR signature verification and rate limiting.</t>
                </list></t>
            </section>

            <section anchor="appendix-directory" title="Trusted Directory Publication Model">
                <t>Trusted directory publication is one of the three Mode B mechanisms, suited to deployments that must be discoverable by parties outside the immediate peer federation (Section 7.2.3).  The FGW does not rely solely on peer-to-peer synchronization; instead, it publishes a policy-filtered subset of its FMRs to a trusted or semi-public directory service (e.g., AGNTCY ADS <xref target="I-D.mp-agntcy-ads"/> or a DNS-based registration system) under explicit trust relationships.</t>
                <t><list style="symbols">
                    <t>The directory acts as a registration and query endpoint rather than a peer gateway; publication uses the directory's own registration interface, not a gateway-to-gateway synchronization session.</t>
                    <t>The Export Policy Engine selects which sanitized FMRs are published to the directory, distinct from those shared only with federation peers.  Published records are the same thin MDI binding used elsewhere in the federation, so no separate record format is introduced.</t>
                    <t>Publication is one-way by default: the FGW pushes records to the directory and periodically refreshes them; lifecycle invalidation relies on TTL aging or explicit withdrawal through the directory interface.</t>
                    <t>Directory publication is a dissemination endpoint, not a trust anchor: it does not relax federation admission control, and a directory query result points back to the originating FGW, which controls further interaction under its access-control policy.</t>
                    <t>Because the directory may be queried by requesters that are not federation peers, this model trades per-peer export control for broader discoverability, bounded by operator policy and the DAWN charter (which excludes open-Internet-scale indexing).</t>
                </list></t>
            </section>

            <section title="Hybrid and Mixed-Mode Considerations">
                <t>Mixed-mode federation combines Mode A and Mode B in a two-phase deployment: DNS is used first to bootstrap the discovery of peer endpoints, and the selected Mode B mechanism is then used for metadata exchange.  The two phases proceed as follows:</t>
                <t><list style="numbers">
                    <t><strong>Phase 1 -- Bootstrap and endpoint discovery (DNS as a pointer)</strong>: Each site publishes pointer records (e.g., SRV or NAPTR-style records) in its own authoritative zone that advertise the location of its federation gateway's discovery directory endpoint.  Detailed agent discovery records (FMRs) are not published in the public DNS.  A peer site's validating resolver resolves the target organization's discovery name, follows DNS delegation to the target's authoritative zone, and verifies the pointer records with DNSSEC before caching them.  The resolved endpoint -- the target FGW discovery directory endpoint -- establishes the initial context for the subsequent metadata exchange.</t>
                    <t><strong>Phase 2 -- Metadata exchange (Mode B by scale)</strong>: Once each FGW has learned the endpoints of its peers, the federation exchanges FMRs using the selected Mode B mechanism, chosen according to the number and scale of participating organizations and the deployment scenario (Section 7.2):</t>
                    <t><list style="symbols">
                        <t><strong>BGP-like structured peering (Section 7.2.1)</strong>: For closed trusted federations of approximately 2 to 200 sites, each FGW establishes persistent unicast sessions with its configured peer FGWs, sends incremental FMR updates when local agent state changes (full table dumps only upon session establishment or reset), and applies per-peer export and import policies.</t>
                        <t><strong>Gossip-based epidemic dissemination (Section 7.2.2)</strong>: For large-scale loose federations of hundreds to thousands of sites, each FGW maintains a small, bounded set of neighbors and periodically exchanges a digest of its FAD with a randomly selected neighbor, followed by exchange of missing or updated FMRs; anti-entropy synchronization reconciles divergent states during periodic full exchanges.</t>
                        <t><strong>Trusted directory publication (Section 7.2.3)</strong>: When discoverability beyond the immediate federation is required, each FGW publishes a policy-filtered subset of sanitized FMRs to a trusted or semi-public directory service and refreshes them periodically; lifecycle invalidation relies on TTL aging or explicit withdrawal through the directory interface.</t>
                    </list></t>
                    <t>In all cases, peer gateways obtain FMRs only from endpoints learned in Phase 1 (or from the selected directory), where authorization and identity validation are enforced according to pre-established trust policies (Section 8.3); the origin and integrity of each FMR are verified before the record is accepted into the local FAD.</t>
                </list></t>
                <t>Federations that do not require per-endpoint access control may instead use Mode A in its full form, publishing FMRs directly as resource records (Appendix A.1); the choice is an operator decision driven by the required level of access control and data sovereignty.</t>
            </section>
        </section>
    </back>
</rfc>
