Manuscript Offprint

arXiv:2610.05709

Nexus: An Execution Fabric for AI Agents Across Cloud, Edge, and Devices

Cary Chang, Jialin Zhou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Language-model agents are evolving into long-running services that interact with models, tools, computers, mobile devices, and distributed environments. Existing agent frameworks simplify reasoning and tool invocation. However, cloud-centric designs face three limitations: centralized execution increases failure impact, scaling pressure, and compute cost; extending agents across computers, mobile devices, and edge environments requires a unified execution abstraction with permission control; and long-running executions require consistent lifecycle management across failures, recovery, results, usage, and settlement. We present Nexus, a cloud-edge platform for deploying and operating agent services. To reduce dependence on centralized serving, Nexus extends agent execution to distributed edge infrastructure through an OpenWrt-based runtime, where edge nodes register their available service and computation capabilities and remain accessible through a unified invocation interface. To support heterogeneous environments, Nexus separates agent reasoning from environment-specific execution and uses run-scoped delegation to bind Computer, Mobile, and other resource operations to explicitly authorized subjects, devices, and capabilities. To manage long-running executions, Nexus represents each invocation as a persistent task and jointly tracks its execution state, intermediate events, outputs, failures, recovery state, resource usage, and charging records across cloud and edge components. We evaluate Nexus using controlled workloads, device interactions, and model-driven workflows. For a 16-MiB, 32-round hashing task arriving once per second with a two-second deadline, both capacity experiments pass all batches at a tested Cloud CPU ceiling of 0.25 vCPU with additional edge execution, compared with 2 vCPU for Cloud execution. Ten five-action Computer–Android workflows produce the expected artifacts, and all six live-revocation cases block the subsequent write while retaining an already-authorized read. Under worker loss, operation journaling reduces duplicate appends from six per task to zero, with 0.933 s mean normal-path overhead. Across 24 pairs using the same model and device backend, Nexus completes 24 tasks and Dify completes 22; among the 22 jointly successful pairs, Nexus’s observed completion time is lower by a median 3.88 s. Dapr provides lower successful-call latency in a separate service workload, while Nexus completes under a smaller tested incremental-runtime memory ceiling, 16 MiB versus 64 MiB. The results show how data locality, operation-scoped authority, and persistent result identity support Agent services across cloud and edge resources, with workload-dependent resource and execution costs. a^{a}

a^{a}https://github.com/Nexilume-AI

∗^{*}Correspondence: research@nexilume.com

Classification: Research Manuscript

NX-SYS-2026-001

Existing abstractions