Network Working Group A. Barker Internet-Draft Kununurra Museum Intended status: Experimental 30 November 2026 Expires: 3 June 2027 Intelligent Architecture Transfer Protocol (IATP/1.0) draft-barker-iatp-transport-01 Abstract The Intelligent Architecture Transfer Protocol (IATP) is a lightweight, stateful, zero-copy transport protocol designed for deterministic communication between Intelligent Agents (IA), local inference runtimes, hardware edge controllers, and federated knowledge nodes. Operating natively over TCP port 7027 (cleartext local/intranet) and TLS port 443 (federated), IATP pairs a three- phase T-Pipe multiplexer with Length-Prefix Chunk Framing and the Intelligent Agent Markup Language (IaML) to achieve O(n) single-pass stream routing without head-of-line blocking, recursive tree allocation, or patent-based encumbrances. This revision (01) retains the complete wire protocol, T-Pipe framing, Dodo Guard loop containment, security rules, and IANA registrations from Revision 00 while integrating canonical registry sectors, the Non-Agent Exclusion Protocol, dominant GLAM sub-labels (.Gallery, .Library, .Archive, .Museum), multi-source model discovery, and non-blocking execution and node conformance verification. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 3 June 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Terminology and Requirements Language . . . . . . . . . 2 1.2. Summary of Changes in Revision 01 . . . . . . . . . . . 3 2. URI Scheme and Addressing ("iatp://") . . . . . . . . . . . . 3 2.1. URI Syntax (ABNF) . . . . . . . . . . . . . . . . . . . 3 2.2. Transport Execution Modes . . . . . . . . . . . . . . . 4 2.3. Local vs. Federated Namespace Zones . . . . . . . . . . 4 3. Canonical Registry Sectors, Paths, and GLAM Sub-Labels . . . 4 3.1. Six Canonical Sectors . . . . . . . . . . . . . . . . . 4 3.2. Non-Agent Exclusion Protocol . . . . . . . . . . . . . 5 3.3. Initial Lifecycle State ("Testing") . . . . . . . . . . 5 3.4. Canonical Registry Paths and URIs . . . . . . . . . . . 5 3.5. Dominant GLAM Sub-Labels . . . . . . . . . . . . . . . 6 4. Connection Lifecycle and Handshake . . . . . . . . . . . . . 6 4.1. Port Allocation and TLS Upgrade . . . . . . . . . . . . 6 4.2. Capability and Security Posture Negotiation . . . . . . 7 5. Three-Phase T-Pipe Multiplexing and Wire Framing . . . . . . 7 5.1. Phase 1: Target Lane Addressing and Multi-Pipe Routing 7 5.2. Phase 2: Length-Prefix Chunk Framing (Zero-Copy) . . . 8 5.3. Phase 3: Egress Closure and State Reset . . . . . . . . 8 5.4. Legacy Unframed Stream Fallback (Colon-Stuffing) . . . 9 6. Deterministic Flow Control and Loop Containment . . . . . . . 9 6.1. The Dodo Guard (Recursive Cycle Interception) . . . . . 9 6.2. Zero-Cycle Drop Enforcement . . . . . . . . . . . . . . 9 7. Model Discovery, Runtime Isolation, and Node Verification . . 10 7.1. Sidecars, Ollama Tags, and OLLAMA_MODELS . . . . . . . 10 7.2. Corporate and Data-Center /v1/models Endpoints . . . . 10 7.3. Identifier Sanitization and Identity Preservation . . . 10 7.4. Non-Blocking Runtime Execution . . . . . . . . . . . . 11 7.5. Registry Minting and Gatekeeper Verification . . . . . 11 8. Protocol Bridging (ZorroV / MCP) . . . . . . . . . . . . . . 11 9. Security Considerations . . . . . . . . . . . . . . . . . . . 11 9.1. Transport Encryption and Node Authentication . . . . . 11 9.2. Buffer Alignment and Integer Overflow Protection . . . 12 9.3. Containment of Untrusted Payloads . . . . . . . . . . . 12 9.4. Discovery Scope and Registry Gatekeeping . . . . . . . 12 10. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 12 10.1. Registration of the "iatp" URI Scheme . . . . . . . . . 12 10.2. Registration of TCP Port 7027 . . . . . . . . . . . . . 13 11. References . . . . . . . . . . . . . . . . . . . . . . . . . 13 11.1. Normative References . . . . . . . . . . . . . . . . . 13 11.2. Informative References . . . . . . . . . . . . . . . . 14 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 14 1. Introduction Autonomous multi-agent systems and edge inference runtimes require a transport layer optimized for low-latency, deterministic memory routing. Conventional web protocols such as HTTP/1.1, HTTP/2, and JSON-RPC over WebSockets introduce substantial framing overhead, redundant header serialization, and recursive payload parsing before data can be dispatched to inference engines or hardware actuators. The Intelligent Architecture Transfer Protocol (IATP) provides a minimalist, stateful wire transport designed specifically to carry Intelligent Agent Markup Language (IaML) streams [IAML-SYNTAX] and raw binary tensor or telemetry bursts under governance principles aligned with [IATP-CHARTER-001]. By decoupling stream routing headers from opaque binary chunks via Length-Prefix Chunk Framing, IATP allows an Edge Parser (ePar) to map network octets directly into shared-memory or DMA target buffers in O(n) linear time. 1.1. Terminology and Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. T-Pipe Multiplexer: A stateful wire framing mechanism that partitions a single transport connection into N isolated logical lanes using three sequential phases (Address, Burst, Closure). Burst Frame: A length-prefixed payload chunk within Phase 2 that carries opaque octets without per-byte delimiter scanning. Dodo Guard: A deterministic transport watchdog that terminates connections exhibiting unbounded recursive agent loops. 1.2. Summary of Changes in Revision 01 This revision updates draft-barker-iatp-transport-00 while preserving its complete URI syntax, T-Pipe framing, Dodo Guard loop containment, ZorroV/MCP bridging, security rules, and IANA registrations: o Formalized the six canonical sectors (hum, org, corp, glam, gov, edu), replacing the earlier "ind" label with "hum", and defined the Non-Agent Exclusion Protocol and initial "Testing" status. o Defined canonical registry paths (//.iaml), node URIs (iatp://..), and dominant-role sub-labels (.Gallery, .Library, .Archive, .Museum) for GLAM nodes. o Clarified that T-Pipe multiplexing supports N logical target lanes interleaved sequentially over a single transport connection. o Added multi-source model and endpoint discovery covering local sidecars, OLLAMA_HOST/api/tags, OLLAMA_MODELS manifests and GGUF files, and OpenAI-compatible /v1/models endpoints with bounded timeouts and identifier sanitization. o Documented non-blocking runtime execution and gatekeeper node verification rules, and updated expiration to 3 June 2027. 2. URI Scheme and Addressing ("iatp://") 2.1. URI Syntax (ABNF) Endpoints in an IATP network are identified using the "iatp" URI scheme, defined in ABNF [RFC5234] conforming to [RFC3986]: iatp-uri = "iatp://" authority [ "/" mode "/" node "/" target ] authority = host [ ":" port ] mode = "exec" / "blit" / "cop" / "auto" node = 1*( ALPHA / DIGIT / "." / "_" / "-" ) target = 1*( ALPHA / DIGIT / "." / "_" / "-" / "/" ) When addressing a canonical federated registry node directly, the authority component takes the form ".." (for example, "iatp://Kununurra.Museum.glam.au"), optionally followed by "///" for active transport routing. 2.2. Transport Execution Modes The path segment instructs the receiving node on how to schedule and allocate memory for the incoming stream: * "exec" -- Zero-copy shared-memory pointer passing for local inter-process agent loops and inference pipelines. * "blit" -- Contiguous bit-block matrix routing optimized for raw tensor weights, embeddings, and high-frequency sensor telemetry. * "cop" -- Deterministic WAIT/MOVE copper-list scheduling for synchronized multi-step hardware or agent execution. * "auto" -- AutoConfig discovery mode for hot-plugging sub-agents and Model Context Protocol (MCP) tool servers via ZorroV. 2.3. Local vs. Federated Namespace Zones * Local / Air-Gapped Zone: Authorities such as "local" or "dh0.archive" operate on isolated host or intranet fabrics with zero external DNS or ledger dependencies. * Federated Zone: Global authorities utilize canonical sectors ("hum", "org", "corp", "glam", "gov", "edu") authenticated via cryptographic node keys ("ED25519" or "RSA_4096"). 3. Canonical Registry Sectors, Paths, and GLAM Sub-Labels 3.1. Six Canonical Sectors Registry nodes under IATP/1.0 are organized across six canonical sectors: * hum: Human individuals. * org: Non-profit, open, or organizational sovereign/autonomous agents. * corp: Commercial or corporate sovereign/autonomous agents. * glam: Galleries, Libraries, Archives, and Museums. * gov: Government and public-sector institutions. * edu: Educational and research institutions. Implementations MUST treat these six identifiers as the canonical top-level registry sectors. 3.2. Non-Agent Exclusion Protocol Under [IATP-CHARTER-001] and the Non-Agent Exclusion Protocol: * The "hum" sector MUST be reserved strictly for human individuals. * Autonomous or sovereign agents MUST NOT be registered under "hum". * Autonomous or sovereign agents SHOULD be registered under "org" or "corp" according to their governance and operational model. 3.3. Initial Lifecycle State ("Testing") Newly minted registry entries and submissions SHOULD default to Status="Testing" until reviewed and verified against conformance requirements. 3.4. Canonical Registry Paths and URIs Registry node manifests encoded in IaML SHOULD follow the directory path structure: //.iaml where is one of the six canonical sectors, is a lowercase two-letter ISO 3166-1 alpha-2 country code (for example, "au"), and is the node identifier. Corresponding IATP node URIs SHOULD follow the form: iatp://.. For example, a museum node in Kununurra, Australia uses the URI "iatp://Kununurra.Museum.glam.au" under the registry path "glam/au/Kununurra.Museum.iaml" (or a normalized stem as required by local filesystem conventions). 3.5. Dominant GLAM Sub-Labels Cultural institutions frequently operate across multiple GLAM functions (such as holding archival or library collections alongside museum or gallery exhibitions). Within the "glam" sector, a node identifier MAY include a dominant-role sub-label suffix selected from: * .Gallery * .Library * .Archive * .Museum When a dominant-role sub-label is used: * It acts as a protocol-level sub-label within the IATP namespace and registry validation rules; it does NOT create a new public DNS top-level domain. * Secondary GLAM roles MAY be recorded in node metadata fields so multi-function institutions retain full descriptive context. 4. Connection Lifecycle and Handshake 4.1. Port Allocation and TLS Upgrade IATP endpoints MUST listen on TCP port 7027 for local or air-gapped intranet links where physical or VLAN isolation is guaranteed. For all federated or wide-area connections, IATP MUST operate over TLS 1.3 [RFC9846] on TCP port 443 (or port 7027 with explicit STARTTLS upgrade). Interim local testing MAY use TCP port 57027. 4.2. Capability and Security Posture Negotiation Immediately upon establishing a transport connection, the initiator MUST transmit an IaML handshake envelope declaring its node identity, supported execution modes, and security profile ("Level_ZeroTrust" or "Level_Standard"). The responder MUST reply with a matching ":Ia.Registry.Node." acknowledgment before any T-Pipe data bursts are transmitted. 5. Three-Phase T-Pipe Multiplexing and Wire Framing To multiplex structured IaML control tags and arbitrary binary or text payloads over a single TCP/TLS stream without head-of-line blocking, IATP uses a deterministic three-phase T-Pipe state machine. The "T" denotes a single trunk transport connection branching into any number (N) of isolated logical destination pipes; it is NOT restricted to two channels. 5.1. Phase 1: Target Lane Addressing and Multi-Pipe Routing The sender initiates a multiplexed transfer by emitting a single Phase 1 routing header terminated by CRLF: :RouteTo.. CRLF Upon reading the trailing dot and CRLF, the receiving Edge Parser (ePar) resolves to an active memory partition or message port ("MsgPort") and transitions from tag-scanning mode into Phase 2 Burst mode. A single IATP transport session MAY multiplex an arbitrary number of logical pipes (such as "eHum", "eCon", "zorro.mcp.fs", and "khs.Collection.Photos") by interleaving bounded three-phase cycles sequentially on the same socket. Because each Phase 3 ":eBurst." resets the T-Pipe state machine back to Phase 1 tag scanning, a sender can emit one or more bounded chunks for Lane A, close with ":eBurst.", and immediately emit ":RouteTo.LaneB." without waiting for an entire multi-megabyte transfer on Lane A to finish. 5.2. Phase 2: Length-Prefix Chunk Framing (Zero-Copy) Because binary payloads (such as model tensors, images, or raw text logs) may contain arbitrary byte sequences -- including the literal ASCII characters ":eBurst." -- Phase 2 MUST NOT rely on delimiter scanning. Instead, Phase 2 MUST use Length-Prefix Chunk Framing: 1. Chunk Header: Each data chunk in Phase 2 MUST begin with the ASCII header ":Burst. CRLF", where is an unsigned base-10 integer (0 to 4294967295) specifying the exact number of payload octets immediately following the CRLF. 2. Opaque Payload Transfer: Upon parsing , the receiving ePar parser MUST read exactly raw octets directly into the target DMA or shared-memory buffer without scanning for IaML tags or delimiters. Any occurrence of ":eBurst." inside those octets MUST be treated as opaque payload data. 3. Dynamic Streaming: A sender MAY emit multiple sequential ":Burst. " chunks within a single Phase 2 session as inference tokens or telemetry buffers fill. 4. Terminal Chunk: A zero-length chunk header (":Burst. 0 CRLF") MUST be emitted to signal the completion of Phase 2 payload octets. 5.3. Phase 3: Egress Closure and State Reset Immediately following ":Burst. 0 CRLF", the sender MUST emit the Phase 3 Egress Trap: :eBurst. CRLF Upon receiving ":eBurst. CRLF", the receiver locks and flushes the target memory partition to its consumer and resets the T-Pipe multiplexer back to standard Phase 1 / IaML tag-scanning mode. Example multi-pipe wire sequence: :RouteTo.khs.Collection.Photos. :Burst. 65536 <65536 raw octets> :Burst. 0 :eBurst. :RouteTo.eCon.Telemetry. :Burst. 1024 <1024 raw octets> :Burst. 0 :eBurst. 5.4. Legacy Unframed Stream Fallback (Colon-Stuffing) When bridging an unframed legacy byte stream via ZorroBridge where chunk sizes cannot be determined prior to emission, implementations MAY negotiate Colon-Doubling Octet-Stuffing: * Sender Rule: Any occurrence of ":eBurst." at offset 0 of the payload or immediately following CRLF/LF MUST be prepended with an additional colon ("::eBurst."). * Receiver Rule: An unescaped ":eBurst." at offset 0 or after a newline terminates Phase 2; any leading "::eBurst." has one colon stripped before writing to the target buffer. 6. Deterministic Flow Control and Loop Containment 6.1. The Dodo Guard (Recursive Cycle Interception) Autonomous agents operating in peer-to-peer loops risk entering unbounded self-prompting cycles. Compliant IATP nodes MUST maintain a per-session cycle counter ("DodoCounter"). If a connection executes more than 10 sequential nested request-response cycles without an external state confirmation or operator reset, the node MUST trigger a "Dodo.Drop" intercept, flush active buffers, and close the transport socket immediately. 6.2. Zero-Cycle Drop Enforcement Under "Level_ZeroTrust", if a Phase 1 ":RouteTo." header references an unregistered target lane, attempts path traversal ("../"), or violates reserved IaML prefixes, the receiver MUST execute a "ZeroCycleDrop" -- terminating the connection immediately without allocating payload buffers or invoking downstream inference models. 7. Model Discovery, Runtime Isolation, and Node Verification 7.1. Sidecars, Ollama Tags, and OLLAMA_MODELS Workbenches and registry discovery routines SHOULD discover available models and node manifests from multiple local and runtime sources: * Local ".iaml" sidecar files in the workbench models directory. * The Ollama tags endpoint at /api/tags (defaulting to http://localhost:11434/api/tags). * The filesystem directory indicated by OLLAMA_MODELS (when set), including manifest trees and ".gguf" model files. 7.2. Corporate and Data-Center /v1/models Endpoints To support corporate and data-center inference servers or gateways, implementations MAY query configured base URLs (for example via IATP_MODEL_ENDPOINTS or OPENAI_BASE_URLS) at their OpenAI-compatible "/v1/models" endpoint to enumerate available model identifiers. Endpoint discovery probes MUST use a short, bounded timeout (for example, 1500 ms) and MUST NOT stall the user interface or discovery pipeline when a remote endpoint is unreachable or slow. 7.3. Identifier Sanitization and Identity Preservation Model and node identifiers frequently contain characters such as "/" and ":" (for example, "hf.co/AtomicChat/gemma-4-12b-it-GGUF:UD-Q4_K_XL"). When deriving filesystem sidecar filenames from an identifier: * Implementations SHOULD replace characters such as "/", "\", and ":" with a safe separator such as "-" so identifiers do not create unintended nested subdirectories. * Implementations MUST preserve the original, unmodified model or node identity string inside the manifest metadata (such as :Model.Identity.) rather than relying solely on reverse string substitution from the filename. 7.4. Non-Blocking Runtime Execution Graphical and interactive workbenches (such as IaOS Workbench) MUST NOT execute synchronous filesystem scans, external shell commands, or blocking transport/MCP calls directly on the UI or main event thread. Implementations SHOULD offload such operations to a dedicated blocking worker pool (for example, spawn_blocking) so UI responsiveness is preserved under load. 7.5. Registry Minting and Gatekeeper Verification Registry minting workflows SHOULD construct compliant ".iaml" manifests with explicit sector and status values, and gatekeeper verification routines SHOULD validate sector compliance, Non-Agent Exclusion rules, path/URI structure, and conformance artifacts before promoting entries beyond "Testing". 8. Protocol Bridging (ZorroV / MCP) IATP nodes MAY expose external tools and Model Context Protocol (MCP) servers over the local bus using ZorroV AutoConfig expansion cards. Bridged MCP servers MUST execute as isolated child processes over standard I/O ("stdio") encapsulated inside ":Ia.ZorroBridge." frames so external tool traffic inherits IATP loop containment and buffer isolation without opening extra network sockets. 9. Security Considerations 9.1. Transport Encryption and Node Authentication Cleartext operation on TCP port 7027 MUST be restricted to loopback interfaces or physically isolated local networks. All federated deployments MUST enforce TLS 1.3 [RFC9846] and verify peer node identities using ED25519 or RSA_4096 signatures during the Section 4.2 handshake. 9.2. Buffer Alignment and Integer Overflow Protection Parsers processing ":Burst. " headers MUST validate that does not exceed the receiver's configured maximum frame quota (default 16 MiB) prior to buffer allocation, rejecting oversized or malformed length headers with a "ZeroCycleDrop" to prevent integer overflow or memory exhaustion attacks. 9.3. Containment of Untrusted Payloads Data ingested from external networks or unverified peers MUST be routed into passive ":Ia.Traffic.Flow." lanes [IAML-SYNTAX] and MUST NOT be granted direct access to "::System." or ":Ia.MsgPort." control channels. 9.4. Discovery Scope and Registry Gatekeeping Multi-source endpoint discovery across corporate or data-center networks can expose internal hostnames or stale model listings; implementations SHOULD restrict discovery queries to explicitly configured endpoints and enforce short network timeouts. Enforcing the Non-Agent Exclusion Protocol and "Testing" initial status helps prevent unverified autonomous agents from masquerading as human identities or bypassing review gates. 10. IANA Considerations 10.1. Registration of the "iatp" URI Scheme In accordance with [RFC7595], this document requests IANA registration of the provisional URI scheme "iatp": * Scheme name: iatp * Status: Provisional * Applications/protocols that use this scheme: Intelligent Architecture Transfer Protocol (IATP/1.0) nodes and IaOS clients. * Contact: Andrew Barker * Change controller: Andrew Barker 10.2. Registration of TCP Port 7027 In accordance with [RFC6335], this document requests IANA assignment of TCP port 7027 (interim local testing MAY use port 57027): * Service Name: iatp * Transport Protocol: TCP * Assignee: Andrew Barker * Contact: Andrew Barker * Description: Intelligent Architecture Transfer Protocol * Reference: This document 11. References 11.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997. [RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, DOI 10.17487/RFC3986, January 2005. [RFC5234] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, DOI 10.17487/RFC5234, January 2008. [RFC6335] Cotton, M., Eggert, L., Touch, J., Westerlund, M., and S. Cheshire, "Internet Assigned Numbers Authority (IANA) Procedures for the Management of the Service Name and Transport Protocol Port Number Registry", BCP 165, RFC 6335, DOI 10.17487/RFC6335, August 2011. [RFC7595] Thaler, D., Ed., Hansen, T., and T. Hardie, "Guidelines and Registration Procedures for URI Scheme Names", BCP 35, RFC 7595, DOI 10.17487/RFC7595, June 2015. [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017. [RFC9846] Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 9846, DOI 10.17487/RFC9846, 2026. 11.2. Informative References [IAML-SYNTAX] Barker, A., "Intelligent Agent Markup Language (IaML/2.1) Syntax", Work in Progress, draft-barker-iaml-syntax-01, 2026. [IATP-CHARTER-001] Barker, A., "IATP Charter 001: Sovereign Registry and Governance Principles", Work in Progress, November 2026. Author's Address Andrew Barker Kununurra Museum run by the Kununurra Historical Society Inc. Kununurra, WA Australia Email: tor.vale@gmail.com Expires: 3 June 2027