Closed-loop evaluation of LLM agents for embedded software development
Jorge García-Carrasco, Sergio García-Carrasco, Alejandro Maté, Juan Trujillo
Abstract
Large language models (LLMs) are increasingly deployed as coding agents that edit files, run builds and tests, inspect execution results, and repair software iteratively. Embedded firmware is a demanding target because correctness depends on closed-loop behavior under sensing, timing, and safety constraints, not only on static source quality. Yet embedded-agent evaluation remains limited and often emphasizes one-shot synthesis or offline correctness. We present a benchmark for closed-loop evaluation of embedded coding agents. Each task provides a plain-text engineering description, constrained workspace, and visible build-and-runtime surface. The agent must translate requirements into implementation and self-verification steps, then iterate until the required device behavior is achieved. The suite contains five embedded-control tasks and four feedback scenarios: one-shot generation, realistic self-verification, CI-style red/green feedback, and oracle-style detailed feedback. The implementation targets simulated ESP32 firmware for reproducibility. We evaluate seven GPT-family and Qwen-family configurations across five tasks and four scenarios, with three repetitions per condition for 420 runs. gpt-5.4 has the highest pass rate among evaluated configurations but does not saturate the benchmark; qwen3.5-27B is the strongest observed local model; and smaller local models degrade sharply in pass rate and search efficiency. These results suggest that capable local embedded coding agents are emerging.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI, cs.AR, cs.LG
- Journal
- J. Syst. Archit. 179 (2026) 103937
- Comments
- Published in Journal of Systems Architecture 179 (2026) 103937. 23 pages, 4 figures, 5 tables. Code and artifacts: https://github.com/jgcarrasco/closed_loop_evaluation_agents_embedded
Related papers
Repairing Model Context Protocol Software: Fix Patterns, Benchmark, and Agent Evaluation
Shared title terminologycs.SEMina Taraghi, Mohammad Mehdi Morovati, Foutse Khomh
Interactive Prompting Assistant: Just-in-Time Requirement Clarification for Agentic Software Development
Shared title terminologycs.SECuong Chi Le, Minh Le-Anh, Long Vu et al.
Don't Guess, Just Ask: Evaluating Interactive Requirement Clarification for Repository-Level Software Development
Shared title terminologycs.SEMingyu Chen, Zhiqing Zhong, Manyi Wang et al.
Evaluating Local Language Model Agents for Data Engineering: An Empirical Software Engineering Study of Mobility Workflows
Shared title terminologycs.SEJorge García-Carrasco, Javier Sanchis, Alejandro Reina-Reina et al.
When Talk Isn't Code: Comparing LLM Agents That Simulate and Develop Software
Shared title terminologycs.SEXiang Li, Aichun Huang, Mingming Zhang et al.
Verifiable Software Development & Operations
Shared title terminologycs.SETakaaki Higashi, Kai Otsuki