Closed-loop evaluation of LLM agents for embedded software development
cs.SE, cs.AI, cs.AR, cs.LG
Submitted: 2026-10-08
Updated: 2026-10-08
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
Journal ref: J. Syst. Archit. 179 (2026) 103937
DOI: 10.1016/j.sysarc.2026.103937
Code: https://github.com/jgcarrasco/closed_loop_evaluation_agents_embedded
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large language models (LLMs) are increasingly deployed as coding agents that edit files, run builds and tests, inspect execution results, and repair software iteratively.
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.
Sources
- Scaling Laws for Neural Language Models
- Code Llama: Open Foundation Models for Code
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
- Agentless: Demystifying LLM-based Software Engineering Agents
- EmbedAgent: Benchmarking Large Language Models in Embedded System Development
- AutoCodeRover: Autonomous Program Improvement
- Evaluating Large Language Models Trained on Code
- Program Synthesis with Large Language Models
- RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems
- VerilogEval: Evaluating Large Language Models for Verilog Code Generation
- Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer
Related papers
- Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limits
- GitSkills: A Dataset of Agent Skills on GitHub
- SABER: Benchmarking Operational Safety of LLM Coding Agents in Stateful Project Workspaces
- PackMonitor: Enabling Zero Package Hallucinations Through Decoding-Time Monitoring
- IntentCoding: Amplifying User Intent in Code Generation
- Incentives and Outcomes in Bug Bounties