arXiv:2608.25396cs.NIAug 2026

Manuscript Offprint

arXiv:2608.25396

SPFR: Semantic Potential Field Routing for the Distributed Internet of Agents

Yeguang Qin, Liangqi Peng, Fengxiao Tang, Ming Zhao

Yeguang Qin, Student Member, IEEE, Liangqi Peng, Student Member, IEEE, Fengxiao Tang, Senior Member, IEEE, and Ming Zhao, Member, IEEE

Abstract—In a distributed Internet of Agents (IoA) without centralized routing control, routing tasks to capability-matched executors is challenging because destinations are not predetermined and agents have bounded local service views. Discover-then-forward approaches, by contrast, select an executor before network forwarding and therefore do not directly support reselection when additional candidates become visible downstream. We introduce Semantic Potential Field Routing (SPFR), a distributed IoA routing algorithm that integrates executor discovery and reselection into hop-by-hop forwarding. SPFR represents each executor visible in a local semantic forwarding information base (FIB) as a task-conditioned semantic potential source, with utility setting its strength and hop distance inducing exponential attenuation. At each hop, the forwarding agent recomputes these potentials, reselects the dominant executor, and forwards the task one hop toward it. Under task-consistent frozen-FIB conditions, we prove loop freedom and finite-hop termination and derive an explicit additive error bound under bounded visibility relative to the full-visibility objective. Extensive simulations on real-world topologies show that SPFR approaches the realized utility of distributed utility-greedy routing and request-triggered global discovery while using fewer forwarding hops and substantially fewer request-triggered messages, and remains robust under network and service dynamics.

Index Terms—Internet of Agents, semantic routing, service discovery, potential-field routing

I. INTRODUCTION

The Internet of Agents (IoA) is emerging as a framework for interconnecting heterogeneous autonomous agents for collaborative task execution [1], [2]. In this setting, agents span edge and cloud infrastructures and multiple administrative domains, exposing models, tools, and services for remote invocation. Supporting such collaboration requires capability-aware service discovery, together with network support for request forwarding and result delivery.

In a distributed IoA without centralized routing control, tasks specify required capabilities rather than fixed executor addresses. Routing therefore involves identifying a suitable executor and delivering the task to it. Keeping every agent informed of all executors' capabilities and changing service states would require frequent network-wide dissemination. When such dissemination is bounded, each agent observes a location-dependent candidate set. The resulting problem is how to coordinate executor selection with network forwarding as candidate visibility changes across locations.

Existing IoA protocols provide several prerequisites for inter-agent interaction. A2A supports capability advertisement and task exchange [3], ANP targets cross-domain agent communication [4], and AgentDNS provides agent naming and discovery [5]. At the application layer, model and agent routers use task-specific information to select among configured models, roles, or agent teams [6], [7]. Recent decentralized proposals distribute selection and coordination decisions among individual agents. BiRouter selects collaborators using local information, AMRO-S constructs semantically conditioned agent paths, and AIN outlines capability-oriented routing for open agent networks [8]–[10]. Beyond IoA, distributed semantic discovery has associated ontology-indexed service concepts with next-hop, hop-count, and pheromone state in routing tables [11]. Together, these studies span capability representation, candidate resolution, decentralized coordination, and semantic path construction.

At the network layer, QoS and multi-criteria protocols optimize paths to identified destinations, whereas joint communication–computation schemes select services and routes using orchestrator- or controller-wide state [12]–[15]. Potential-field routing provides a closer technical precedent by using distributed potentials to guide requests toward service instances, gateways, or anycast targets [16]–[18]. Potential fields have also coordinated task allocation with routing in manufacturing systems [19]. These studies demonstrate field-guided service selection and forwarding under their respective service, destination, and state assumptions. However, neither the agent-side nor the network-side line provides a distributed IoA routing algorithm that jointly updates task-dependent executor selection and next-hop forwarding as successive agents observe different local candidates.

To address this gap, we introduce Semantic Potential Field Routing (SPFR), an IoA routing algorithm that integrates executor discovery and reselection with hop-by-hop task forwarding. Bounded-radius dissemination of service descriptors populates a local semantic forwarding information base (FIB) at each agent. SPFR represents each visible eligible executor as a task-conditioned potential source. Its strength reflects semantic fit, projected load, and execution price, while its attraction decays exponentially with hop distance. At each hop, the forwarding agent recomputes these potentials, selects the dominant executor, and forwards the task through the corresponding FIB next hop. Because successive agents consult different local FIBs, candidates outside the source's initial view can enter later forwarding decisions without request-triggered network-wide discovery. If the source sees no positive-potential executor, SPFR returns NoRoute; zero-attractor exploration is outside the present scope. The main contributions of this paper are as follows:

• We formulate capability-driven IoA task routing as a constrained optimization problem that jointly selects an executor and request path under execution, return-route, deadline, and budget constraints. We prove that the resulting joint optimization problem is NP-hard and derive tractable utility-only and hop-regularized reference objectives for theoretical analysis.

  • To the best of our knowledge, SPFR is the first IoA routing algorithm to integrate executor discovery and reselection with hop-by-hop forwarding through semantic potential fields. At each forwarding agent, SPFR computes task-dependent executor potentials from a bounded semantic FIB and jointly updates the executor and corresponding next hop using local information. Under the stated FIB conditions, we prove loop freedom and finite-hop termination. We further establish global optimality for the hop-regularized objective under full visibility and derive an explicit additive error bound under bounded visibility.

• We evaluate SPFR through paired simulations on GEANT, UNINETT, and Deltacom. SPFR approaches the utility of distributed utility-greedy routing and request-triggered global discovery with fewer forwarding hops and substantially less signaling, while remaining robust under network and service dynamics.

References (36)