arXiv:2610.33636cs.SEOct 2026

Manuscript Offprint

arXiv:2610.33636

Build or Adopt? Custom-Built vs. General-Purpose LLM Agent Harnesses for Automotive GUI Testing

Arsham Gholamzadeh Khoee, Ruyu Fu, Jiaqi Wei, Ruikun Deng, Robert Feldt, Dhasarathy Parthasarathy, Yinan Yu

Arsham Gholamzadeh Khoee* †^{\dagger}, Ruyu Fu*, Jiaqi Wei*, Ruikun Deng †^{\dagger}, Robert Feldt*, Dhasarathy Parthasarathy †^{\dagger}, Yinan Yu* †^{\dagger}

*Department of Computer Science and Engineering, Chalmers University of Technology, Gothenburg, Sweden

†Volvo Group, Gothenburg, Sweden

{khoee, robert.feldt, yinan}@chalmers.se, {ruyu, jiaqiwe}@student.chalmers.se, {ruikun.deng, dhasarathy.parthasarathy}@volvo.com

Abstract—As general-purpose LLM agent harnesses mature, organizations must decide whether to continue developing in-house systems or adopt existing alternatives. We study this decision at Volvo Group for GUI testing of Android-based in-vehicle infotainment (IVI) systems. We compare a production, custom-built harness with two general-purpose harnesses, Claude Code and OpenCode, keeping the tools, accessed through the Model Context Protocol (MCP), and the models the same. We evaluate the harnesses with up to four models on Volvo's IVI test cases and on open-ended tasks in public apps (Google Maps, Booking.com), and interview ten practitioners: developers, the product owner, and testers. On Volvo's stepwise IVI tests, general-purpose harnesses match the custom-built harness in success but vary more across runs. Their inference cost per task is 2.6–10.7 times higher, yet the engineering effort they save outweighs this: for a nightly IVI regression suite, total monthly cost, including engineering effort and inference, is 3–66% lower. On open-ended public-app tasks, they succeed more often, mainly because they recover better from incorrect actions. Interviews suggest that external advances can turn an in-house harness into technical debt even without deterioration. Adopting a general-purpose harness shifts maintenance from the agent loop to tools and instructions, but gives teams less control over what the model receives. Regardless of the harness, testers want to inspect the agent's actions and ensure that it follows the prescribed test scenario.

Index Terms—GUI testing, LLM agents, agent harnesses, technical debt, Model Context Protocol, automotive software, industrial case study

I. INTRODUCTION

Graphical user interface (GUI) testing of Android-based in-vehicle infotainment (IVI) systems is labor-intensive. These systems are stateful, depend on the state of the vehicle, and change with every software release; scripted tests break whenever the layout changes [1], and manual testing does not keep pace. Large language model (LLM) agents address this by executing natural-language test intents directly on the device, interpreting the screen rather than relying on static identifiers. When LLM agents first emerged, no capable general-purpose harness, i.e., the software that turns a foundation model into an agent, existed, forcing organizations like Volvo to build their own, as for automotive software release analytics [2]. These in-house systems are custom-built, relying on code to strictly define the agent's control loop, prompt construction, and subagent routing.

Research on LLM agents for mobile GUIs has followed the same route. Testing agents such as GPTDroid [3] and DroidAgent [4] explore apps or pursue test intents through purpose-built memory and planning, and task-automation agents such as AutoDroid [5], AppAgent [6], and Mobile-Agent [7] engineer UI representations, app-specific knowledge, and dedicated planning, decision, and reflection agents. These works evaluate new harness designs on benchmarks; to our knowledge, none compares a custom-built harness with a general-purpose one or examines what maintaining it entails in industrial practice.

Building such a harness is an investment in technical credit [8], i.e., a design decision that requires higher initial effort in return for long-term benefits, but its value depends on an ecosystem that changes quickly. New model generations alter the agent's behavior, new requirements, such as operating several devices in one test, go beyond the original design, and both require revising the harness. Meanwhile, general-purpose harnesses, such as Claude Code [9] and OpenCode [10], have matured. They run a generic agent loop maintained by their vendors and can reach domain-specific tools through the Model Context Protocol (MCP) [11], which would shift the in-house workload from maintaining an agent loop to maintaining tools and instructions. Thus, technical credit can turn into technical debt without any decay of the system itself. As a result, organizations with in-house agents face a build-versus-adopt decision. However, it is unknown whether a general-purpose harness can replace a custom-built one in industrial testing, what the move costs in operation, and what it changes for the engineers who maintain the agent and the testers who rely on it.

We study this decision at Volvo Group. Our key design choice is to vary only the harness: we keep the tools and device access of Volvo's production agent, use them in both the in-house custom-built harness and vendor-maintained general-purpose ones, such as Claude Code and OpenCode, which access them through an MCP server, and run all harnesses with the same models. As a result, differences between the setups reflect the harness rather than the tools or the model. We evaluate the setups across four models on 66 tasks derived from Volvo's IVI test cases and on 56 open-ended tasks from the AMEX dataset [12], repeat every run to measure flakiness, and interview ten practitioners: four developers, the product owner, and five testers. We address four research questions (RQs):

• RQ1 (Effectiveness): How effectively do general-purpose harnesses execute intent-driven Android GUI tests compared with an in-house, custom-built harness using the same models?

• RQ2 (Lock-in and robustness to change): How robust is each harness’s effectiveness, without adaptation, to a change of the underlying model or the application under test?

• RQ3 (Maintenance and cost): How does transitioning from an in-house, custom-built harness to a general-purpose one change the team’s maintenance responsibilities and technical debt, and at what operational cost?

• RQ4 (Stakeholder perspectives): What do the stakeholders of the in-house testing agent value in it, and which of these qualities are preserved or put at risk by moving to a vendor-maintained harness?

This paper makes the following contributions:

• An industrial comparison that varies only the harness: a production, custom-built harness against two general-purpose harnesses with the same tools and models, on 66 IVI and 56 public-app tasks, covering effectiveness, flakiness, robustness to model and application change, latency, and inference cost (RQ1–RQ3; Sections III and IV).

• An interview study with ten practitioners (developers, the product owner, and testers) that identifies ecosystem-induced technical debt and shows how adopting a general-purpose harness redistributes maintenance and control (RQ3, RQ4; Section V).

• A total-cost estimate combining engineering effort and inference cost, and lessons for practitioners who decide whether to keep or replace an in-house agent harness (Section VI).

References (35)