Skip to content
#edge computing Open access

Hardware-Adaptive Inference Orchestration: Zero-Overhead Local LLM Agents on Resource-Constrained Edge Devices

Sep 2026 · Zenodo (CERN European Organization for Nuclear Research)

Abstract

Autonomous AI agents typically rely on multi-turn ReAct loops that demand repeated system-prompt evaluation, persistent state tracking, and frequent tool selection. On constrained edge hardware—especially CPU-only devices with approximately 8 GB of RAM—this style of orchestration creates two compounding failure modes: memory fragmentation that eventually triggers out-of-memory (OOM) crashes, and promptevaluation latency that grows with the size of the active conversation. This paper presents FastAgent, a lightweight, headless inference orchestrator built around Longest Common Prefix (LCP) slot caching, 8-bit key-value (KV) cache quantization, grammar-constrained decoding, and an Adaptive Compute Controller. The design goal is not merely to run a smaller model locally, but to reproduce the stability characteristics of cloud-hosted agent APIs on hardware that would otherwise be too limited for sustained autonomous loops. On a baseline CPU environment, the framework reduced prompt-evaluation latency from roughly 3,500 ms to about 73 ms in steady state while eliminating OOM failures during long-running tool loops, showing that cloud-like responsiveness is achievable on local devices when runtime and memory management are co-designed.

View source

Similar papers

#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Related blog posts

Microsoft Research Blog Oct 6, 2026

What AI gets wrong and what failure teaches us

Jennifer Neville did not want to go into computer science—but that’s exactly where she landed. Neville discusses the starts and stops that led to her professional sweet spot and her work identifying “surprising failures” making it hard for AI to handle complexity.  The post What AI gets wrong and what failure teaches us appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.