LoopHIL: Looping Hardware into LLM-assisted Agents for Wireless Embedded Systems
Dhairya Shah, Spanddhana Sara, Savitha Viswanadh Kandala, Ambuj Varshney
Abstract
LLM agents are widely used for software development and debugging, but their adoption in embedded systems, especially for wireless tasks, remains limited. This is because embedded development requires hardware-in-the-loop testing. Agents cannot directly observe the spectrum, probe pins, or measure power, so they cannot verify wireless link functionality; currently, human engineers perform this verification. We systematically evaluate whether LLM agents can establish wireless links when provided with hardware access. We introduce LoopHIL, a framework that lets agents control a multi-device RF bench, monitor it with a spectrum analyzer, logic analyzer, and energy meter, and validate links against a verification ladder, all within code-enforced safety limits. Across four increasingly complex tasks, from generating a carrier to backscatter decoding by a commercial receiver, and using six models from two vendors, hardware-in-the-loop increases task completion rates from 54% to 79% and from 17% to 83% on the most challenging task. It also halves task time and output tokens. With debugging tools, agents decrease tag power consumption by up to 96%. However, small models often report unverified claims, so independent hardware checks remain necessary.
Create a lesson
Related papers
5uGUE: Agentic Hardware-in-the-Loop Fuzzing for 5G Devices and beyond
Shared title terminology · Guoqiang Hua, Sakshi Udeshi, Matheus Eduardo Garbelini et al.
Hierarchical Intelligent Evolutionary Optimization for UAV-Assisted NOMA-MEC Systems
Shared title terminology · Yaxuan Jiao, Jiaxuan Lv, Jyoti Sahni et al.
Uncertainty-Guided Counterfactual Sensor Selection and Safety-Gated Recognition for Autonomous Sensing Agents in IoT Systems
Shared title terminology · Shirong Guo, Hongming Zhou, Muhammad Attique Khan et al.
PriorityFEC: Deadline-Aware Streaming FEC for KV-Cache Handoff in Edge Multi-Agent Systems
Shared title terminology · Han Shen, Qifu Tyler Sun, Fanyang Meng et al.
Tutorial on Closed-Loop and Application-Aware Digital Twins for Future Wireless Networks
Shared title terminology · Yuchen Liu, Sara Garcia Sanchez, Mingzhe Chen et al.
Conflict-Aware Autonomous Resource Orchestration for 5G Edge Slicing Using Multi-Agent Systems and LLMs
Shared title terminology · Nathan R. Prediger, Rodrigo Moreira, Juliano Araujo Wickboldt et al.