Mechanism
The horizontally composable protocol stack interprets and acts upon agents based entirely on their internal structure and memory state. Unlike vertically integrated, centrally orchestrated network stacks, this architecture consists of protocol layers that operate in parallel, each consuming and acting upon data within the agent. The layers are modular, stateless or memory-aware, and capable of being recomposed depending on deployment context. This enables deterministic protocol execution based solely on agent-resident content, without reliance on persistent infrastructure or node-local session storage.
The stack typically includes four layers: a dynamic routing protocol (DRP), a dynamic indexing protocol (DIP), an adaptive consensus protocol (ACP), and a semantic memory layer (SML). Nodes may implement all or a subset of these layers based on their capabilities, trust configuration, or deployment topology. The disclosed stack process illustrates concurrent processing of incoming agents across routing, indexing, and consensus layers according to embedded constraints, lineage references, and policy metadata. Behavior within each layer is determined by metadata embedded within the received agent rather than by external orchestration.
The Semantic Memory Layer as Entry Point
At the base of the stack, the semantic memory layer interprets the memory field within each agent, extracting lineage entries, policy references, trust indicators, and semantic tags. This layer enables the downstream modules to operate as memory-informed logic components and functions as the entry point for semantic execution, transforming static data structures into active protocol operands.
Because the semantic memory layer is the entry point, the remaining layers never operate on opaque bytes. They operate on the interpreted, agent-resident state that the memory layer surfaces: the signed lineage records, access logs, policy references, trust indicators, and semantic tags carried in the agent's memory field.
Routing, Indexing, and Consensus
The dynamic routing protocol uses memory-derived content to determine path selection, trust scoring, and propagation scope. Rather than relying on traditional address-based forwarding or static routing tables, DRP routes based on the agent's embedded behavioral record, including access history and policy-defined boundaries, enabling trust-scoped routing, localized adaptation, and memory-native suppression of unreliable or degraded paths.
The dynamic indexing protocol evaluates entropy thresholds and memory signals to decide whether an agent, or an index when operating in environments integrated with adaptive network frameworks, should be inserted, split, merged, or reclassified. This layer may be omitted in stateless deployments or implemented using DIP when integrated with structural substrates such as the Adaptive Network Framework.
The adaptive consensus protocol processes mutation proposals embedded in the agent's memory field. When present, the consensus layer triggers trust-weighted voting under an adaptive consensus protocol, wherein nodes evaluate proposals using the referenced policy agent. This ensures that structural or behavioral mutations occur only under scope-valid quorum conditions, even without external state persistence.
Parallel, Not Pipelined
The defining property of the stack is that its layers operate in parallel, each consuming and acting upon data within the agent. The disclosure describes concurrent processing of incoming agents across routing, indexing, and consensus layers according to embedded constraints, lineage references, and policy metadata. The layers are not arranged as a strict vertical pipeline in which the output of one becomes the mandatory input of the next. Instead each layer reads the agent-resident state surfaced by the semantic memory layer and contributes its own trace.
Each layer operates exclusively on agent-resident data and appends a corresponding execution trace to the memory field. Because every layer writes its outcome back into the same memory field, these traces allow downstream nodes to validate, replay, or audit prior execution outcomes, ensuring trust continuity and semantic determinism across asynchronous or intermittently connected environments.
Composability and Recomposition
The stack is horizontally composable because its layers are modular and capable of being recomposed depending on deployment context. Nodes may implement all or a subset of the four layers based on their capabilities, trust configuration, or deployment topology. A node need not run every layer to participate: an edge node may run a dynamic routing protocol and a simplified semantic memory layer, often configured in stateless mode to preserve limited resources, while a high-availability node may run the full stack including indexing, consensus, and a local network health monitoring module.
The indexing layer in particular is described as optional and pluggable, and the consensus layer processes a mutation proposal only when the memory field carries one. The composability of the stack therefore reflects an explicit design choice in the disclosure: layers may be present or absent at a given node, and the agent itself carries enough context for the layers that are present to act deterministically.
Memory-Driven, Not Configuration-Driven
Through this architecture, the network substrate becomes horizontally composable, memory-driven, and capable of enacting adaptive behavior directly from data structure. The stack enables self-organizing, policy-bound behavior across diverse deployment scenarios, from cognition-aware systems to stateless edge networks, without requiring centralized governance or monolithic control layers.
No external session management, centralized controllers, or pre-configured address registries are required. Emergent behavior arises from interactions between memory-bearing agents and the deterministic, composable protocols. Each layer consults the agent's memory field before performing operations, so the agent influences and constrains its own traversal, enforcing trust alignment and deterministic behavior at runtime. The authoritative source of routing, policy, and behavioral context is the agent's memory field rather than its origin or external environment.
Deployment Across Heterogeneous Nodes
Because the stack admits subsets, heterogeneous nodes coordinate trust-scoped behavior across a shared substrate. In an example federated semantic zone, a stateless node implements only routing logic, a memory-aware node runs routing and consensus modules, and a fully equipped node implements routing, indexing, consensus, and health monitoring. A health agent indicating congestion may trigger a reindexing event at the most capable node, dynamically restructuring the local semantic graph, while a stateless edge node enforces time-to-live based prefiltering.
These behaviors are governed entirely by embedded agent metadata and node-local policy rather than centralized control. The architecture supports evolutionary deployment models: nodes may begin as stateless routers and progressively adopt additional protocol layers as their role or resources expand, and because execution behavior is driven by agent memory and transport metadata, nodes do not require reconfiguration of identity or coordination logic when adopting new capabilities. The system thereby supports minimal deployments where only routing and verification layers are present as well as full-stack integrations that include memory retention, indexing, health monitoring, and consensus modules.
Prior-Art Distinctions
Conventional network architectures, including TCP/IP, DNS, HTTP/REST, and RPC frameworks, treat communication as a stateless packet-exchange problem and delegate continuity, context, trust evaluation, and policy enforcement to higher-level application logic or centralized intermediaries. Their stacks are vertically integrated and centrally orchestrated. The horizontally composable stack departs from this arrangement by having its layers operate in parallel on agent-resident state, with behavior determined by metadata embedded within the agent rather than by node-local session storage or global routing tables.
Vertically integrated stacks require their layers to be present and coordinated in a fixed order. The composable stack instead allows nodes to implement all or a subset of the four layers, recomposing them by deployment context, with each layer appending its own execution trace to the agent's memory field. This makes the substrate deployable incrementally, from resource-constrained edge devices to high-availability core nodes, without protocol replacement or disruptive reengineering, and without requiring persistent infrastructure to carry execution context between hops.
Disclosure Scope
The horizontally composable protocol stack and horizontal execution model, comprising the four layers (a dynamic routing protocol, a dynamic indexing protocol, an adaptive consensus protocol, and a semantic memory layer), the operation of those layers in parallel on agent-resident data, the determination of each layer's behavior by metadata embedded within the received agent, the semantic memory layer's role as the entry point that interprets the agent's memory field, and the appending of an execution trace to the memory field by each layer, is disclosed in U.S. Application No. 19/366,760 covering the memory-native protocol substrate. This article describes that disclosed mechanism.
The scope extends to deployments in which nodes implement all or a subset of the four layers based on capability, trust configuration, or deployment topology, and to evolutionary configurations in which a node adopts additional layers as its role or resources expand, provided the layers operate on agent-resident content, behave deterministically from that content, and append their traces to the agent's memory field. The substantive function of any single layer is described elsewhere and is referenced here only insofar as it exemplifies the composability of the stack.