Manuscript Offprint
arXiv:2610.31698Understanding Tool-Mediated Interaction Failures in Agentic GUI Software: An Empirical Study
Yuchen Shao*†, Wenjing Liu*, Yuheng Huang‡, Mengqian Xu*†, Ziqun Bao*, Long Yang*†, Lei Ma‡§, Ting Su*, Chengcheng Wan*†
*East China Normal University, Shanghai, China
†Shanghai Innovation Institute, Shanghai, China
‡University of Tokyo, Tokyo, Japan
§University of Alberta, Edmonton, Canada
Abstract—Large language model (LLM) agents increasingly complete tasks through live graphical user interfaces (GUIs). Because the model cannot directly operate the GUI, these systems often rely on tools to capture screenshots or UI trees, translate model outputs into GUI actions, and report whether the interface changed. We study failures where this tool-mediated interaction makes the agent's view of the task diverge from the live GUI. We construct MALVA, a defect library with 335 confirmed real-world failures from 40 open-source applications. These failures fall into 11 defect patterns rooted in state representation, state transition, and synchronization problems. They are widespread: 90% of the studied applications contain more than one defect type. They are also often silent: incorrectness appears in 86.6% of failures, including 119 cases that produce wrong behavior without a fail-stop signal. We operationalize this taxonomy with MALVAGUARD, a pre-deployment static contract checker that reaches 57.3% precision and 76.8% recall on an additional 20-application corpus.
Index Terms—Interaction failure, LLM, empirical study
I. INTRODUCTION
Such divergence matters because these agents are moving into real digital workflows, including enterprise dashboards, customer-support portals, office productivity tools, online transactions, and mobile services [1], [2], [11]. In these settings, a tool misrouting a click can submit the wrong form, a stale screenshot can trigger redundant transactions, and

Fig. 1: An example of tool-mediated mismatch in UI-TARS-desktop [13]
premature success feedback can leave critical tasks silently incomplete [6], resulting in financial loss, data corruption, or irreversible errors that are hard to detect and recover from.
To illustrate such defects, consider a real scenario where the vision-language desktop application UI-TARS-desktop [13] sends messages via WhatsApp [14]. As shown in Figure 1, when a user instructs the agent to send a greeting, the agent minimizes its main interface and keeps a small transparent status window on top of the desktop. The type tool succeeds because the text field remains unobstructed. The next click tool, however, is issued for the send button at the perceived coordinates, while the OS routes the event to the agent's own overlay instead, and the message is never sent. The failure exposes a missing check: the tool exposes visual coordinates without verifying which window holds focus. This failure is not isolated, developers of agentic GUI software face three reliability challenges:
Challenge-1: Partial GUI observations. Developers often need agents to operate applications without programmable interfaces, relying instead on tools that read screenshots or UI trees [8], [15]. These tools expose only a slice of the live interface: elements may be obscured, off-screen, omitted from the UI tree, or visually present but not actionable. As a result, the agent may plan from an incomplete view of the target state.
Challenge-2: Weak action boundaries. Developers expose large action spaces so agents can handle diverse tasks, but they rarely specify each tool's operational boundary, including accepted parameters, required GUI preconditions, expected return format, or when to stop, retry, or escalate [16]. This leaves the tool loop unable to determine whether the next step
Corresponding author: Chengcheng Wan (ccwan@sei.ecnu.edu.cn)

Fig. 2: Tool-mediated workflow of agentic GUI software.
is valid, leading to malformed calls, non-progressing retries, context overflow, or actions that target the wrong element.
Challenge-3: Delayed tool feedback. LLM inference, GUI rendering, and tool execution run at different speeds [17]. After an action is executed, transient GUI changes, backend timeouts, or expired resource handles can cause reported tool status to diverge from the actual live interface state before the next observation begins.
Despite extensive work on GUI automation and LLM agents, the tools that connect agents to live GUI environments have received little attention. Empirical work studied defects in traditional software [18], [19], ML-enabled systems [20]–[23], and LLM integrations [24], [25]. Traditional GUI automation treats automation code as test infrastructure, through scripted, model-based, and AI-assisted approaches [26]–[28], while GUI-agent studies evaluate task completion across web [5], [29], OS [6], and mobile [30] settings, and frameworks such as OpenClaw [3] propose architectural designs. Across all these lines, prior work either treats the tool layer as invisible infrastructure or focuses on model and agent behavior, overlooking the tools that mediate between the agent and the environment. This paper fills this gap by systematically studying how such tools introduce failures in agentic GUI software.
B. Contribution
To understand how tools introduce failures when LLM agents operate live GUI environments, we conduct a systematic study of 40 GitHub projects, based on their latest versions as of January 1 , 2026. These applications enable LLM agents to autonomously operate graphical interfaces across web, desktop, and mobile platforms. We manually collect around 2,000 issue reports and conduct extensive task execution to confirm 335 such failures.
We find that such failures are widespread: 90% of the studied applications contain multiple defect types. The failures cause incorrect task results, infinite execution loops, wasted tokens, and unexpected interruptions. As illustrated in Figure 2, they occur across four phases of the software loop: tools first observe and ground GUI state, the agent assembles context and selects the next tool call, tools then perform physical or API-backed actions, and tools finally report execution status and environment changes back to the agent.
We identify 11 common defect patterns caused by state representation, state transition, and synchronization problems. We release MALVA, a defect library containing all 335 confirmed failures with their root causes and impacts. Based on the findings, we build MALVAGUARD, a pre-deployment static contract checker for such failures in agentic GUI software. On an additional 20-application corpus, it achieves 57.3% precision and 76.8% recall. We hope this work can serve as a starting point for improving the reliability of agentic GUI software.
II. BACKGROUND
A. Agentic GUI Software
Agentic GUI software lets an LLM agent operate a live web, desktop, or mobile environment through a tool layer [6], [7], [31], [32]. Although this paper studies the full system, we refer to these applications as agents throughout for simplicity. The agent maintains State , which consists of the context window sent to the LLM together with memory, observations, action history, reasoning outputs, and selected tool calls. The environment has its own State , covering the current GUI widgets, windows, focus, permissions, loading state, network conditions, and received tool-side effects.
The tool layer is the bridge between the agent and the environment, and its tools fall into three roles. Observation tools collect GUI evidence for the agent, such as screenshots, UI trees, Document Object Model (DOM) [15] snapshots, OCR text, and element coordinates. Based on this evidence, the agent selects an action, which action tools then translate into backend effects such as clicks, typing, navigation, shell commands, browser API calls, mobile gestures, or ADB [33] commands, sometimes inside sandboxed browsers, desktops, or virtual machines [5], [6]. Feedback tools then close the loop by reporting execution status and visible effects back to the agent, including success signals, errors, timeouts, page loads, and target changes.
B. Tool-Mediated Interaction Loop
Given these components, agentic GUI software runs as a tool-mediated feedback loop [34], [35]. Formally, one cycle is defined as
where denotes the tool-mediated transition across observation, invocation, execution, and feedback. During this transition, tools may change the live GUI, append observations
1 Application Selection
2 Issue Collection
3 Task Execution
4 Defect Identification

Fig. 3: Overview for constructing MALVA defect library.
or action results to the agent state, and update tool-local state such as caches, parsed snapshots, and backend handles. A later step therefore depends not only on the LLM output, but also on whether these tool states remain aligned with the live environment.
Figure 2 splits the loop into four phases: P1 observes and grounds GUI state; P2 places relevant agent state into the context window and asks the LLM for the next action; P3 parses that output and executes the tool or backend operation; and P4 reports effects back to the agent. Reliable interaction therefore requires that observations reflect the current GUI, action parameters match valid targets, the GUI is ready before execution, and feedback confirms real progress.
C. Interaction Failures
When tools fail to keep State aligned with State , the agent operates on a false view of the task. We define this mismatch as a tool-mediated interaction failure, or interaction failure for short. It covers hard failures such as crashes and exceptions, and soft failures where the loop stalls, repeats unproductive actions, or completes the wrong task [36], [37]. A defect occurs when a tool accepts or executes an invalid state without the necessary validation or effect check.
III. STUDY METHODOLOGY
Since no prior work has systematically studied failures at the tool-mediated boundary in agentic GUI software, we construct MALVA, a defect library of confirmed failures, from scratch. As summarized in Figure 3, we follow four procedures, each described in detail below:
A. Application Selection
We select 40 open-source agentic GUI applications from GitHub, using their latest versions as of January , 2026. We first use the GitHub Search API [38] to collect about 500 repositories of agentic GUI software using keywords that cover major platforms and agent types, such as “GUI agent”, “web agent”, “desktop agent”, “mobile agent”, and “computer use agent”. After removing duplicates and inactive forks, we keep repositories that meet three criteria:
-
the repository implements an executable agent loop for real-world tasks, not a toy demo or thin API wrapper;
-
the implementation contains concrete observation and action tools for GUI interaction;
-
the repository contains enough implementation and issue evidence to support defect analysis.
TABLE I: Statistics of studied applications
| Environment | # of Projects | LOC | Stars | Commits | Age (Mo.) |
|---|---|---|---|---|---|
| Web agents | 16 | 48162 | 1402 | 130 | 14 |
| Desktop agents | 17 | 89643 | 3395 | 366 | 13 |
| Mobile agents | 7 | 81849 | 2016 | 109 | 10 |
- Values in the last four columns represent the average across all projects in each environment.
We further review around 200 repositories from the same GitHub search space, but find no major differences from the existing corpus. We therefore stop the collection.
The applications target three environments, as shown in Table I: 40% are web agents that browse and complete online tasks, 43% are desktop agents that use mouse and keyboard simulation to operate software and manage files, and 18% are mobile agents that use swipes and taps to operate phone applications. Most are written in Python (68%) or TypeScript (25%), with the rest using other languages. For reasoning, 60% use cloud APIs, mainly GPT [39], 8% use local models, mainly LLaMA [40], and 33% support both. For GUI observation, 58% rely only on screenshots, 15% rely only on structural UI representations such as DOM trees, and 27% combine both. Their primary grounding mechanisms also vary: 38% use direct screenshot-to-coordinate VLM grounding [41], 15% add detectors, OCR, or grounding modules, 23% rely on accessibility or UI-tree structures, and 25% use DOM/XPath, browser-structural, or task-specific grounding.
The applications average 71,687 lines of code, with a median of 24,978 and an interquartile range from 2,910 to 57,146. They have 226 commits on average, a median of 438 stars, and a maximum of 19,330 stars. In addition, 63% are less than one year old, reflecting how quickly the field is changing. Among desktop and mobile agents, 96% support workflows across multiple applications, while 4% focus on a single application.
B. Issue Collection
We use the GitHub API to collect all non-empty issue reports with active links from the 40 applications, yielding about 2,000 unique reports. We exclude reports tagged as dependency or infrastructure issues, or those attributed to ambiguous user prompts. We then apply keyword filters and an LLM-assisted classifier [42] with GPT-4o [43] for a preliminary screening. Our team subsequently reviews the filtered results manually and retains 208 candidates for confirmation.
TABLE II: Defects identified in agentic GUI software.
| Defect | Section | Violated Tool Contract | Root Cause | Impact | Problematic Apps (%) | Environment | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ST | IC | SL | UI | TK | IS | Web | Desktop | Mobile | |||||
| Phase 1: Observation Defects | |||||||||||||
| Observation Hallucination | §IV-B.1 | Observation | SRF | ✓ | ✓ | ✓ | ✓ | 33% | 4 | 8 | 1 | ||
| Target Grounding Error | §IV-B.2 | Target grounding | SRF | ✓ | ✓ | ✓ | 38% | 5 | 8 | 2 | |||
| State Exposure Gap | §IV-B.3 | State exposure | SRF | ✓ | ✓ | ✓ | 18% | 3 | 2 | 2 | |||
| Phase 2: Reasoning & Planning Defects | |||||||||||||
| Progress Check Failure | §IV-C.4 | Progress | STF | ✓ | ✓ | ✓ | ✓ | 65% | 11 | 12 | 3 | ||
| Escalation Boundary Failure | §IV-C.5 | Escalation | STF | ✓ | ✓ | ✓ | ✓ | 5% | 2 | 0 | 0 | ||
| Context Budget Overflow | §IV-C.6 | Context budget | STF | ✓ | ✓ | 48% | 6 | 13 | 0 | ||||
| Phase 3: Execution Defects | |||||||||||||
| Tool Schema Mismatch | §IV-D.7 | Schema | STF | ✓ | ✓ | ✓ | 63% | 7 | 13 | 5 | |||
| Parameter Semantics Error | §IV-D.8 | Parameter semantics | STF | ✓ | ✓ | 25% | 6 | 3 | 1 | ||||
| Missing Execution Preconditions | §IV-D.9 | Preconditions | STF | ✓ | ✓ | 33% | 4 | 7 | 2 | ||||
| Phase 4: Environment Feedback Defects | |||||||||||||
| Temporal Feedback Mismatch | §IV-E.10 | Temporal feedback | SF | ✓ | ✓ | ✓ | ✓ | 20% | 3 | 5 | 0 | ||
| Lifecycle Propagation Failure | §IV-E.11 | Lifecycle/error | SF | ✓ | ✓ | ✓ | 58% | 8 | 14 | 1 | |||
| Total applications with at least 2 defect types | 90% | ||||||||||||
-
Environment columns: Web/Desktop/Mobile numbers count affected applications.
-
Impact abbreviations: ST=fail-stop, IC=incorrectness, SL=slower execution, UI=user-interface disruption, TK=increased token usage, IS=security exposure.
C. Task Execution
To collect evidence for candidate reports, we first inspect the issue status: 104 are closed issues, and 104 are open issues.
-
Closed issues: we examine discussions, linked pull requests, and commits to identify the failure scenario that developers acknowledged or fixed.
-
Open issues: we reproduce the failure directly when the required environment and credentials are available.
Through this process, we derive 62 executable tasks from the open issue scenarios, since multiple issues often describe the same scenario. For each open issue, we identify the user goal, required environment state, and expected outcome. Each task specifies an initial state, an agent instruction, and a success oracle such as a UI change or system confirmation, instantiated under 14 environment-specific scenarios. The tasks span web, desktop, and mobile agents, with 35, 14, and 13 tasks respectively, and range from simple actions such as clicking or text entry to multi-step planning such as booking flights or configuring a system.
To account for non-determinism, we run each of the 62 tasks 20 times with a 3-minute timeout per run [5], yielding 1,240 task runs. Each run involves multiple agent-environment interactions, and automated logging records visual evidence including screen recordings and DOM snapshots, agent traces including prompts and action logs, tool invocations and return values, and environment feedback such as page loads and errors. In total, the dataset contains about 3,000 agent interactions.
We conduct most experiments on Windows 11 to ensure a consistent graphical environment, using Linux virtual machines for Linux-only applications.
D. Defect Identification
Using the evidence collected in the previous procedure, we manually assess each of the 208 candidates to verify whether the reported failure is real and reproducible:
-
Confirmed when multiple evidence sources converge on the same tool-layer mistake, such as linked fixes or commits for closed issues, and reproduction logs, tool traces, and before/after GUI states for open issues.
-
Excluded when the failure only appears in a few runs due to unstable environments, missing credentials, or unsupported setups.
This yields 99 confirmed defects out of the 208 candidates, including 43 from open issues and 56 from closed issues.
As a failure confirmed from one GitHub issue may not be unique to that application, we next perform cross-app expansion. For each of the 99 confirmed tool-layer mistakes, we exhaustively inspect all remaining 39 applications to check whether the same erroneous tool behavior arises at the same type of tool-environment interaction. When a matching case is found, we reproduce the corresponding failure and count each successful reproduction as a separate confirmed failure. This process yields 335 confirmed interaction failures in total.
Finally, we label the confirmed failures through a separate iterative process. In each iteration, four authors discuss the identified failures and refine a list of patterns based on workflow phase, root cause, tool-layer mistake, and impact. Three authors independently categorize each failure into one of the defect patterns, label its impact, and cross-check their labels, reaching 95% initial agreement (Fleiss' ). A fourth author joins when disagreements remain and resolves them by revisiting the original evidence. The iterations stop when no new patterns emerge, and the labeling effort took about 7 person-months.
IV. DEFECT PATTERN ANALYSIS
A. Overview
We classify 335 defects across 40 GitHub applications into 11 defect patterns, summarized in Table II. The taxonomy uses two axes to capture both where in the loop the failure occurs and what tool-layer contract is violated. The phase axis locates the earliest broken tool-layer boundary across P1 to P4. The root-cause axis records which contract is violated between the agent state, tool behavior, and live GUI state:
• State Representation Failure (SRF, 26.3%): Observation or grounding tools build State from GUI evidence that is missing, wrong, stale, or incomplete, corresponding to Challenge-1.
• State Transition Failure (STF, 55.5%): The tool loop or executor advances the interaction even though the next step is invalid, unsupported, not ready, not progressing, or over budget, reflecting Challenge-2.
• Synchronization Failure (SF, 18.2%): Tool feedback or lifecycle management code updates State with a status that no longer matches State or available resources, mirroring Challenge-3.
The failures concentrate around recurring tool-layer contracts instead of isolated GUI glitches. As shown in Table II, Progress Check Failure, Tool Schema Mismatch, and Lifecycle Propagation Failure each appear in more than half of the studied applications at 65%, 63%, and 58% respectively, confirming that these defects are systemic weaknesses instead of application-specific bugs. At the failure level, these three patterns together with Context Budget Overflow account for 63.0% of confirmed failures, with P2 alone contributing 31.0% where the loop accepts the next step before checking progress, budget, or escalation conditions.
This distribution further varies by observation tool type and execution environment, as shown in Figure 4. Agents that rely solely on screenshots or structural snapshots concentrate failures in the phases tied to their grounding strategy: screenshot-based agents fail more in observation and execution, while structure-only agents fail more in P2 where DOM snapshots are mistaken for progress evidence. Desktop agents account for 56.1% of all confirmed failures and dominate in execution and resource-lifetime patterns, whereas mobile and web agents concentrate in P3 and P2 respectively, reflecting their distinct action interfaces and loop control patterns.
The common mistake across all settings is treating model-visible state as if it already matched the live GUI: observations hide or perturb state, feedback tools report success before GUI changes, and tools promise more than the underlying execution layer can deliver. As a result, incorrectness appears in 86.6% of confirmed failures, including 119 that produce wrong behavior without a fail-stop signal.
B. Phase 1: Observation Defects
P1 builds State from GUI evidence captured or carried by tools, including screenshots, structural snapshots, detected elements, and grounding results. When this evidence does not reflect the live GUI, the agent plans from a representation that no longer matches State , producing 88 of 335 failures. Across all three patterns, the common mistake is that tools expose GUI evidence without verifying it against the same live target the executor will act on.

Fig. 4: Defect distribution across workflow phases by (a) observation tool type and (b) environment.

Fig. 5: Observation hallucination with phantom index in AppAgent [7].
- Observation Hallucination. Observation, completion, and indexed-action tools rely on existence checks before they update State or invoke an action. Without such checks, the agent may report fake completion or issue actions against nonexistent targets. We observe this pattern in 13 applications (33%), averaging 2.69 cases each.
Hallucinations appear in two forms. First, fake-success cases accept task completion without state evidence. The web automation application gemini-browser [44] declares a file-saving task done without writing the file, and a DOM-aware browser case reports a UI switch although the state is unchanged [45]. Second, phantom-target cases serialize absent evidence into actions. Figure 5 shows the multimodal smartphone GUI automation agent AppAgent [7] issuing tap(70) when only 66 detected elements exist, causing an IndexError. Both forms lack an existence check before State is updated or an action is invoked.
- Target Grounding Error. Grounding and targeting tools bind an intended target to the element, coordinate, box ID, or controllable region that the executor can safely operate. A wrong binding turns a valid target into an invalid or wrong locator before the action tool runs. The pattern appears in 38% of applications, averaging 2.60 cases each.
The mismatch stems from rigid geometry rejections, coordinate drift between tool components, or semantic confusion over UI context. Figure 6 shows the web automation agent LaVague [46] rejecting a widget because its center point is covered, even though other clickable regions remain exposed; the grounding tool therefore turns a valid target into an invalid locator. Coordinate conventions can drift between tool

State : target marked unreachable
Fig. 6: Center-point grounding failure in LaVague [46].
components, as in the multimodal desktop agent UI-TARS-desktop [13], where JavaScript Math.round and Python banker's rounding disagree before a coordinate is sent to the executor. Semantic confusion appears when the grounding tool maps a requested target to the wrong UI context, such as the out-of-the-box desktop GUI agent computer_use_ootb [47] confusing taskbar icons with browser launchers.
- State Exposure Gap. Observation and grounding tools need to expose the live GUI state that can affect the next action, not only the visible or currently serialized slice. Missing obstruction, focus ownership, scroll reachability, modal state, or freshness leaves State with only a partial view of State . This pattern affects 18% of applications, with a median of 2 cases each.
These gaps appear at several tool boundaries. At the window and focus boundary, as also seen in UI-TARS-desktop [13], the screenshot tool exposes the target visually but not the topmost click owner, so the action is delivered to the wrong window layer, as illustrated in Figure 1. The desktop automation agent Clevrr-Computer [48] exposes a related gap: its get_screen_info() tool always reports 1920 x 1080 to the vision model regardless of the actual display size, leaving the agent grounding targets against a stale window model instead of the active screen. At the viewport and scroll boundary, observation tools expose only the visible slice: the GPT-4V grounded web agent SeeAct [49] misses that a table column named “topics” is reachable through a horizontal scroll container, repeatedly concludes that no candidate matches the target, and stops. At the modal and loading boundary, observation tools keep reporting the underlying page while an unmodeled dialog or transient state hides the actionable UI.
Finding-1: P1 accounts for 26.3% of failures: observation and grounding tools expose GUI evidence that is nonexistent, stale, or not tied to the same live target. Tools should validate evidence against the live GUI before passing it to the agent.
C. Phase 2: Reasoning & Planning Defects
Before execution, P2 prepares the next interaction by constructing the model context, invoking the model, interpreting the selected action, and deciding whether to continue, stop, retry, or escalate. In all three patterns, the tool loop advances without a guard that checks whether the current state, payload,

Action tool: click dropdown
Observation tool
Action tool: click('1')
Fig. 7: Progress check failure after repeated unchanged observations in computer_use_ootb [47].

Fig. 8: Escalation boundary failure in WebVoyager [51].
or environment permits the next step, producing 104 of 335 failures.
- Progress Check Failure. Progress control depends on comparing consecutive tool outcomes and stopping, recovering, or changing strategy when repeated calls do not change observations, errors, or completion status. Without this guard, the loop treats another executable step as recovery and wastes steps or tokens on the same failed action. It affects 26 applications (65%), averaging 3.08 cases each.
Figure 7 shows the out-of-the-box GUI agent computer_use_ootb [47] entering an “open-screenshot-close” cycle: the screenshot tool collapses the “Numbers Covered” dropdown before option selection, and without a dropdown-open check or repeated-action detector, the application reopens it indefinitely. The guard fails in different ways depending on what the loop is waiting for: the self-hosted virtual-computer agent Bytebot [2] opens Firefox but never checks whether it has loaded, while the vision-free Windows GUI agent Windows-Use [50] keeps invoking type_tool even after the target field stops responding to input.
- Escalation Boundary Failure. Escalation relies on observation tools distinguishing executable GUI states from security checkpoints that ordinary automation tools cannot pass [52], such as CAPTCHA, bot-detection, and human-verification barriers [53], [54]. Returning these checkpoints as ordinary page states leaves action and navigation tools without a viable path forward. This rarer pattern affects 5% of applications with a median of 1.5 cases.
Figure 8 shows the autonomous web-browsing agent WebVoyager [51] triggering verification while searching for “cakes”: its observation tools neither classify the CAPTCHA nor surface it as a stop signal, so redundant actions continue until the step budget is exhausted. A similar case appears in LaVague: when Google [55] blocks a video search with human
1 raw = "x=331 y=79" 2 coords = {k: v for k, v in (i.split('=') for i in items)}
Fig. 9: Coordinate parsing failure and fix in pywinassistant [59].
verification, the browser tool returns a page that the application treats as actionable instead of security-blocked.
- Context Budget Overflow. Tool loops must bound observation, extraction, and history payloads before model invocation. Unpruned tool outputs can push the context window past model-interface limits before the next action is chosen. This overflow appears in 48% of applications, with 21 cases in total.
The Playwright-based browser automation application browser-use-typescript [56] illustrates the HTML-extraction variant: its browser tool invokes page.content(), converts the full page with markdownify, and can insert over 530,000 tokens against a 128,000-token limit. Other tool payloads fail for the same reason: the language-agent application OpenAgents [57] passes raw interface data from an observation tool, reaching 8,542 tokens against an 8,192-token model maximum, and the local automation application autoMate [58] retains 20 high-resolution screenshots from a screenshot tool, totaling an estimated 255,503 tokens against a 199,000-token limit. In each case, the tool output is accepted without a size check, and the overflow is only detected after model invocation begins.
Finding-2: P2 is the largest phase (31.0%), where tool loops lack guards for payload size, non-progressing retries, or escalation boundaries. Tools should bound output size before model invocation, detect non-progressing states before retrying, and surface security barriers as stop signals.
D. Phase 3: Execution Defects
P3 materializes a model-selected action as a concrete tool invocation and backend side effect. This phase depends on parsers, adapters, and executors that preserve the action across schema normalization, parameter binding, and readiness validation. In each case, tools accept, translate, or execute an action without checking whether it is valid, correctly parameterized, or safe to deliver to the current GUI or backend state, accounting for 82 of 335 failures.
- Tool Schema Mismatch. Tool invocation begins with parsers and registries normalizing model output into registered actions with expected fields and types. Unhandled wrappers, schema variants, or rigid parsing rules turn recoverable action descriptions into unparseable or unregistered tool calls. This is the most widespread pattern, affecting 63% of applications with a median of 2 cases each.
These mismatches break concrete parser and registry contracts, instead of merely changing surface syntax. One group fails at wrapper removal: in the desktop agent screenAgent [60], Markdown-fenced JSON (json ...) stops a parser that expects raw JSON. A second group reaches the tool interface but violates the registered action schema: Windows-Use generates names such as
Expected Tool Sequence

Observation: terminal located
State : terminal
open & focused
Execution tool:
run command
Actual Tool Sequence
Missing
Precondition
check
echo 'fibonacci =
(n) => ...'
fibonacci.js
Observation:
terminal not activated
State : terminal
closed/unfocused
Fig. 10: Missing terminal-readiness precondition in Surf [61] during command execution.
functions.click_tool outside its registry. Figure 9 illustrates the third group, parser rigidity: the Windows desktop GUI automation assistant pywinassistant [59] crashes on x=331 y=79 without commas, turning recoverable syntax variation into a hard failure.
- Parameter Semantics Error. Tool adapters sit between a parseable call and executor invocation, where defaults are bound, arguments are rewritten, and placeholders are resolved. A call can satisfy the tool schema yet still execute the wrong operation if this adapter step changes what its parameters mean. The pattern affects 25% of applications, averaging 1.70 cases per affected application.
Parameter semantics shift in the adapter before the call reaches the executor. In autoMate, the scroll adapter silently replaces a requested 200-pixel scroll with a 500-pixel system value, causing the action to overshoot the target. When placeholders go unresolved, the effect is more subtle: the natural-language web automation agent actor-web-automation-agent [62] sends a parseable CAPTCHA action whose value remains <CAPTCHA_TEXT>, a marker that should instead become a structured execution error before the adapter forwards the call. Extra rewriting introduces a third variant: pywinassistant's query adapter expands a concise search query into irrelevant generated content, changing the semantics of the action before it reaches the executor.
- Missing Execution Preconditions. Execution tools sit at the boundary where a parsed call becomes a backend or GUI side effect. A call can be syntactically valid but still unsafe when the target resource or GUI state is not ready. Missing these readiness checks delivers shell, click, or type calls to missing resources or wrong GUI targets in 33% of applications, with a median of 2 cases per application.
The failures arise from three sources: infrastructure un-readiness, planning order gaps, and input state staleness. Infrastructure unreadiness appears when backend resources are addressed before they exist: the computer-use application cua [63] calls get_vm() before provisioning or run_vm() finishes, missing a VM-readiness gate before later execution tools address the backend resource. Planning order gaps arise when tools skip application setup: Figure 10 shows the

Fig. 11: Temporal feedback mismatch in cua [63]: success is reported before the OS finishes rendering the UI update.
virtual-desktop computer-use agent Surf [61] issuing terminal commands before launching or focusing the terminal, so the execution tool targets a nonexistent window. Input state staleness exposes a subtler form of the same missing check: the Llama-4-powered computer-use agent llama4-computer-use [64] sends a social-media query before activating the browser, AppAgent's text-entry tool types before activating a chat input field, and gemini-browser's browser-input tool reuses a stale search bar between queries.
Finding-3: Execution tools in P3 (24.5%) accept malformed schemas, semantically invalid parameters, or actions without satisfied GUI preconditions. Tools should validate action schemas before invocation, reject unresolved parameter placeholders, and verify GUI and backend readiness before executing.
E. Phase 4: Environment Feedback Defects
P4 carries the effect of the previous tool action into the next loop iteration. Feedback tools report completion, expose updated observations, and maintain resource handles for sessions, windows, APIs, and OS tools. Across both patterns, feedback tools report success or propagate state before the live GUI or resource has actually reached a stable, usable condition, producing 61 of 335 failures.
- Temporal Feedback Mismatch. Feedback tools report progress before the next planning cycle [17], [65]. A tool that returns success or captures the page before the GUI reaches a stable, observable state leaves the next cycle planning from feedback that does not yet match State . We observe this pattern in 8 applications (20%), averaging 1.38 cases each.
Figure 11 shows cua returning success for key operations before the OS has finished rendering the UI update: the action tool dispatches the key event and receives an early acknowledgment, but the GUI render delay means the subsequent observation still reflects the pre-action state. The timing contract also governs text input and DOM mutation: Clevrr-Computer [48] drops spaces during fast programmatic text entry, while UI-TARS-desktop's showWaterFlow injects elements before document.head or document.body exists. In each case, the missing check is state stability before the next observation is captured.

Fig. 12: Lifecycle propagation failure in desktop-agent [66] triggered by a misinterpreted ESC signal.
- Lifecycle Propagation Failure. Feedback tools carry lifecycle state for sessions, windows, pages, OS tools, and APIs. When disappearance, crashes, or incompatible return data are not propagated as recoverable structured errors, the agent keeps using stale handles or converts backend failure into ordinary continuation. This pattern affects 23 applications (58%), averaging 2.17 cases each.
When a resource disappears without a structured error, the agent continues against a stale handle. Surf illustrates this path: during a flight-booking task, the system tries to extend the E2B sandbox only after it has already been destroyed, producing SandboxError: 404: Sandbox not found; at that point, the desktop connection is gone and later tool calls cannot recover the task. Related cases treat a timed-out or black-screen sandbox as a recoverable UI state, so the agent keeps taking screenshots, refreshing, clicking, or sending keys against a dead environment.
Lifecycle state can also be misrouted instead of lost. Figure 12 shows the desktop automation agent desktop-agent [66] issuing pyautogui.press('escape') to close a failed Run dialog. The pynput listener tool intercepts this tool-generated key event and treats it as a user-stop signal, setting agent_running = false and terminating the run. The action tool had no way to mark its key event as internal, so the listener tool propagated it as a lifecycle stop without provenance.
Finding-4: Although P4 is the smallest phase (18.2%), its failures are easy to overlook: feedback tools must verify GUI stability before reporting success and propagate resource lifecycle events as structured errors instead of ordinary continuation signals.
V. SOLUTION: MALVAGUARD
Section IV shows that many runtime interaction failures stem from code-level anti-patterns: tool-layer operations are invoked, retried, or accepted without guards that align the agent state with the live environment. Findings 1–4 confirm that these missing guards appear systematically across all four phases. To detect them before execution, we implement MALVAGUARD, a pre-deployment static checker [67], [68]. As shown in Figure 13, MALVAGUARD encodes the taxonomy as pattern-based static analysis rules.

Fig. 13: Two-stage workflow of MALVAGUARD.
A. Stage 1: Defect Detection
Scope location. MALVAGUARD first identifies the scope to check. We define an interaction region as the local code or prompt span that contains a tool-environment interaction: in source code, it is the enclosing function or method; in project prompts or files without supported syntax trees, it is the matched line together with nearby lines. MALVAGUARD searches source-code abstract syntax trees for operations that invoke models, read observations, handle actions, or update backend state, and identifies the corresponding interaction region for each match. MALVAGUARD also checks helper calls (e.g., parsing and execution) within the same code file. If the helper contains tool execution, parsing, or verification logic, MALVAGUARD checks that logic as part of the caller's region.
Contract verification. MALVAGUARD applies rule-based checks derived from the taxonomy. Each rule pairs a trigger pattern for a tool-environment interaction with a required guard: code or prompt evidence that bounds observations, constrains loop progress, validates tool calls, or verifies feedback before State is updated from tool results. MALVAGUARD searches for the guard within the interaction region; if absent, MALVAGUARD creates a missing-contract warning with the source location and missing guard.
Defect grouping. MALVAGUARD generates a warning for each missing-contract location identified in the previous step. Within the same tool helper, adapter, or agent module, a single missing contract can trigger multiple warnings: the tool call, action parsing, retry logic, and feedback handling may all be flagged by the same checker rule because they share the same guard gap. MALVAGUARD groups these co-located warnings into one defect only when they share the same checker rule and missing-contract type, recording one representative source line and keeping the remaining warnings as supporting evidence. Warnings from different checker rules are reported as separate defects even when they appear in the same component.
B. Stage 2: Defect Attributing
For each defect produced by Stage 1, MALVAGUARD generates a structured report and guard suggestion for developers.
Defect report. For each defect, MALVAGUARD records its location (file path, line number, and enclosing tool helper, adapter, or agent module), the missing contract (e.g., observation bound, action validation, progress check, or feedback verification), the corresponding taxonomy defect pattern (e.g., Context Budget Overflow, Tool Schema Mismatch), and the warning locations merged as supporting evidence.
Guard guidance. MALVAGUARD suggests a guard pattern as a repair solution for each defect, covering observation

Fig. 14: MALVAGUARD's reported and missed real defects by defect pattern on the additional corpus.
bounds, loop progress, action validation, and feedback verification across all four phases. The guidance identifies which class of check to add at the reported location, instead of providing an automated fix.
C. Implementation
MALVAGUARD supports Python, JavaScript, and TypeScript. It uses Python ast [69] and Tree-sitter frontends for source code [70] and line-based prompt matching. All experiments run on a cloud instance with 10 CPU cores, 100 GB system memory, 100 GB shared memory, an NVIDIA GeForce RTX 4090 GPU (48 GB VRAM, driver 550.163.01, CUDA 12.4), and Samsung NVMe SSD storage.
D. Evaluation
We evaluate MALVAGUARD on a held-out corpus of 20 applications outside MALVA, with no overlap with the original 40, following the same selection criteria as Section III. We manually build a defect oracle from issue, commit, and execution evidence using the same validation process as Section III, yielding 112 real defects. MALVAGUARD flags 497 missing-contract locations and groups them into 150 defects. Of these, 86 match oracle defects and 64 do not, yielding 57.3% precision. MALVAGUARD misses 26 oracle defects, yielding 76.8% recall.
Figure 14 breaks down the reported and missed defects by pattern. MALVAGUARD achieves full recall on Tool Schema Mismatch, Parameter Semantics Error, Context Budget Overflow, and Lifecycle Propagation Failure, where the missing guard is co-located with the triggering operation in the same local scope. Recall is lower for Progress Check Failure, Missing Execution Preconditions, and Target Grounding Error because their missing guards span multiple components or depend on cross-file conventions not visible in local source. Escalation Boundary Failure has zero reported cases because its instances are runtime security barriers, not guard omissions visible in local code.
Both error types stem from the limits of local static analysis. False positives arise when a guard is hidden in framework wrappers, inherited callbacks, or runtime checks outside the local scope. They also arise when guard semantics span exception-handling and fallback paths. False negatives arise when defects depend on cross-file reasoning or framework-specific adapter semantics not visible in local code. These results reveal a broader code-quality risk: many applications still lack explicit code-level guards around tool use, leaving agent-environment interactions weakly protected regardless of whether a static checker is applied.
E. Case Study
We examine skyvern [71], a web-browser agent, to illustrate MALVAGUARD's reporting and limits. Its browser helper invokes page.act(...) and immediately returns ActResult(..., completed=True) without reobserving the page or verifying the action outcome. MALVAGUARD locates the helper as the interaction region, finds no such guard, and reports a Temporal Feedback Mismatch defect, citing the action call as evidence and suggesting a postcondition guard on the observable GUI state. This is a confirmed true positive.
The same application, however, also produces a false positive that illustrates the limits of local static analysis: MALVAGUARD flags await asyncio.sleep(0.3) after an Escape keypress clearing a possible overlay before a selector retry under the same pattern. Manual validation rejects this because the sleep belongs to a recovery path that falls back to the LLM planning loop on failure, showing how local static analysis mistakes a recovery wrapper for a missing guard when the guard semantics span exception handling and fallback logic.
VI. Threats to Validity
Internal Validity. Manual labels may contain bias or miss rare patterns despite multi-annotator confirmation. GitHub keyword filtering may miss unreported failures and issues described in non-technical terms. Reproduction may omit environment-specific factors that affect whether a failure manifests. MALVAGUARD is a static checker and relies on local source and prompt evidence. It may miss contracts that become visible only at runtime or outside the local source scope.
External Validity. Our findings may not generalize to all agentic GUI software. Windows/Linux behavior may differ on other platforms, and the common-use scenarios in Section III may miss specialized workflows in enterprise, accessibility, or hardware-control settings. Our open-source focus enables source-level confirmation from issues, commits, and execution logs, but may miss closed-source constraints or mitigations.
VII. RELATED WORK
Empirical Studies and Defect Analysis. Prior works have studied defects across various software systems. One line of works studied defects in traditional software, including large-scale studies on code quality [18], learning-based name bug detection [19], and defect prediction surveys [72]. Another line of works studied ML-enabled software, building taxonomies of faults in deep learning systems [20], examining whether ML cloud APIs are used correctly [21], preventing their integration failures at runtime [73], and automatically testing and fixing ML software when misbehavior is exposed [22]. The same theme extends to surveying ML testing landscapes [23]. Recent work further studies LLM and RAG integration defects in open-source software [24], bugs in LLM-generated code [74], and failure attribution in multi-agent systems to automatically identify which agent and step are responsible for task failures [25]. These works focus on code, model pipelines, API usage, or generated artifacts, but do not address failures that arise at the boundary between an LLM agent and a live GUI environment. This paper fills this gap by studying defects at this tool-mediated boundary and building MALVA and MALVAGUARD to support detection.
LLM Agents and GUI Automation. LLM agents combine planning, memory, and tool use [34], [75]–[79]. Recent systems and benchmarks evaluate web navigation [5], [29], code generation [80], desktop/OS control [6], [81], and mobile automation [30], [82], while frameworks such as OpenClaw study GUI-agent architectures [3]. Several studies further analyze capability and benchmark-level weaknesses such as localization bias, visual grounding, and unintended consequences in human-agent browsing [6], [83]–[88]. These works focus on whether an agent eventually completes a task, instead of how the tools that mediate between the agent and the environment fail to do so reliably. Our scope is the tool layer itself: how and why it fails to keep agent and environment states aligned.
GUI Testing and Test Automation. Prior works have studied GUI testing through several approaches. One line of works explored target-application defects through record-and-replay or script-based automation [26], [89]–[91] and random or model-based exploration covering stochastic input generation, state-machine-guided traversal, and use-case combinations [27], [92]–[100]. Another line of works applied AI/LLM-assisted methods guided by semantics, functionality, or natural language [101]–[107], including deep learning-based black-box approaches to Android app testing [28]. All of these works treat automation code as testing infrastructure and the target application as the subject of study. In agentic GUI software, however, the tool layer is part of the deployed system itself and participates in ordinary user tasks. This paper shifts the defect boundary to the tool layer itself, treating observation, action, and feedback tools as the primary subject of analysis instead of the vehicle for testing other software.
VIII. Conclusion
Agentic GUI software uses observation, action, and feedback tools to let LLM agents operate live interfaces. This paper analyzes 335 confirmed failures from 2,000 issues across 40 applications, identifying 11 defect patterns rooted in state representation, transition, and synchronization problems that degrade functionality, efficiency, and reliability across 90% of the studied applications. We release MALVA, a defect library of confirmed failures with their root causes and impacts, and MALVAGUARD, a pre-deployment static contract checker that reaches 57.3% precision and 76.8% recall on an additional 20-application corpus. We hope this work can serve as a starting point for improving the reliability of the tool layer in agentic GUI software.
IX. DATA AVAILABILITY
The artifact is publicly available at https://doi.org/10.6084/m9.figshare.32838281, including the studied applications, the defect library MALVA, the source code of MALVAGUARD, detailed experimental results, and a usage guide.
REFERENCES
[1] Hrithik Koduri, “WebRover: Autonomous AI Web Agent,” https://github.com/hrithikkoduri/WebRover, 2025.
[2] bytebot-ai, “Bytebot: Self-Hosted AI Desktop Agent,” https://github.com/bytebot-ai/bytebot, 2026.
[3] P. Steinberger, “Openclaw: Your own personal ai assistant. any os. any platform.” https://github.com/openclaw/openclaw, 2026.
[4] X-PLUG, “MobileAgent: Mobile-Agent – The Powerful GUI Agent Family,” https://github.com/X-PLUG/MobileAgent, 2026.
[5] S. Zhou, F. F. Xu, H. Zhu, X. Zhou, R. Lo, A. Sridhar, X. Cheng, T. Ou, Y. Bisk, D. Fried, U. Alon, and G. Neubig, “Webarena: A realistic web environment for building autonomous agents,” in ICLR, 2024. [Online]. Available: https://openreview.net/forum?id=oKn9c6ytLx
[6] T. Xie, D. Zhang, J. Chen, X. Li, S. Zhao et al., “Osworld: benchmarking multimodal agents for open-ended tasks in real computer environments,” in NIPS, ser. NIPS ’24. Curran Associates Inc., 2024.
[7] C. Zhang, Z. Yang, J. Liu, Y. Li et al., “Appagent: Multimodal agents as smartphone users,” in CHI. ACM, 2025.
[8] D. Nguyen, J. Chen, Y. Wang, G. Wu, N. Park et al., “GUI agents: A survey,” in ACL, W. Che, J. Nabende, E. Shutova, and M. T. Pilehvar, Eds. ACL, Jul. 2025, pp. 22 522–22 538. [Online]. Available: https://aclanthology.org/2025.findings-acl.1158/
[9] F. Tang, H. Xu, H. Zhang, S. Chen, X. Wu, Y. Shen, W. Zhang, G. Hou, Z. Tan, Y. Yan, K. Song, J. Shao, W. Lu, J. Xiao, and Y. Zhuang, “A survey on (m)llm-based gui agents,” 2025. [Online]. Available: https://arxiv.org/abs/2504.13865
[10] L. K. Jang, Y. Li et al., “Videowebarena: Evaluating long context multimodal agents with video understanding web tasks,” in ICLR, 2025. [Online]. Available: https://openreview.net/forum?id=unDQOUah0F
[11] Anthropic, “Anthropic,” 2026. [Online]. Available: https://www.anthropic.com/
[12] J. Li and K. Huang, “A survey on gui agents with foundation models enhanced by reinforcement learning,” 2025. [Online]. Available: https://arxiv.org/abs/2504.20464
[13] bytedance, “Ui-tars-desktop: The open-source multimodal ai agent stack,” https://github.com/bytedance/UI-TARS-desktop, 2025.
[14] WhatsApp LLC, “Whatsapp – secure and reliable free private messaging and calling,” https://www.whatsapp.com/, 2026.
[15] WHATWG, “Dom living standard,” https://dom.spec.whatwg.org/, WHATWG, 2026.
[16] S. G. Patil, T. Zhang, X. Wang, and J. E. Gonzalez, “Gorilla: large language model connected with massive apis,” in NIPS, ser. NIPS ’24. Curran Associates Inc., 2024.
[17] Q. Luo, F. Hariri, L. Eloussi et al., “An empirical analysis of flaky tests,” in FSE, ser. FSE 2014. New York, NY, USA: ACM, 2014, p. 643653. [Online]. Available: https://doi.org/10.1145/2635868.2635920
[18] B. Ray, D. Posnett, P. Devanbu, and V. Filkov, “A large-scale study of programming languages and code quality in github,” Commun. ACM, vol. 60, no. 10, p. 91100, Sep. 2017. [Online]. Available: https://doi.org/10.1145/3126905
[19] M. Pradel and K. Sen, “Deepbugs: a learning approach to name-based bug detection,” Proc. ACM Program. Lang., vol. 2, no. OOPSLA, Oct. 2018. [Online]. Available: https://doi.org/10.1145/3276517
[20] N. Humbatova, G. Jahangirova, G. Bavota, V. Riccio, A. Stocco, and P. Tonella, “Taxonomy of real faults in deep learning systems,” in ICSE ’20. ACM, 2020, p. 11101121.
[21] C. Wan, S. Liu, H. Hoffmann, M. Maire, and S. Lu, “Are machine learning cloud apis used correctly?” in ICSE, 2021, p. 125137.
[22] C. Wan, S. Liu, S. Xie, Y. Liu, H. Hoffmann, M. Maire, and S. Lu, “Keeper: Automated testing and fixing of machine learning software,” TOSEM, vol. 33, no. 7, 2024. [Online]. Available: https://doi.org/10.1145/3672451
[23] J. M. Zhang, M. Harman, L. Ma, and Y. Liu, “Machine learning testing: Survey, landscapes and horizons,” TSE, vol. 48, no. 1, pp. 1–36, 2022.
[24] Y. Shao, Y. Huang, J. Shen, L. Ma, T. Su, and C. Wan, “Are llms correctly integrated into software systems?” in ICSE ’25. IEEE Press, 2025, p. 11781190.
[25] S. Zhang, M. Yin, J. Zhang, J. Liu, Z. Han, J. Zhang, B. Li, C. Wang, H. Wang, Y. Chen, and Q. Wu, “Which agent causes task failures and when? on automated failure attribution of llm multi-agent systems,” in ICML, ser. ICML’25. JMLR.org, 2025.
[26] “Selenium browser automation project,” https://www.selenium.dev/, Selenium Project, 2026.
[27] C. Hu and I. Neamtiu, “Automating gui testing for android applications,” in AST '11. ACM, 2011, p. 7783. [Online]. Available: https://doi.org/10.1145/1982595.1982612
[28] Y. Li, Z. Yang, Y. Guo, and X. Chen, “Humanoid: A deep learning-based approach to automated black-box android app testing,” in ASE, 2019, pp. 1070–1073.
[29] X. Deng, Y. Gu, B. Zheng, S. Chen, S. Stevens, B. Wang, H. Sun, and Y. Su, "Mind2web: towards a generalist agent for the web," in NIPS, ser. NIPS '23. Curran Associates Inc., 2023.
[30] C. Rawles, A. Li, D. Rodriguez, O. Riva, and T. Lillicrap, “Android in the wild: a large-scale dataset for android device control,” in NIPS, ser. NIPS '23. Red Hook, NY, USA: Curran Associates Inc., 2023.
[31] I. Gur, H. Furuta, A. V. Huang, M. Safdari, Y. Matsuo, D. Eck, and A. Faust, “A real-world webagent with planning, long context understanding, and program synthesis,” in ICLR, 2024. [Online]. Available: https://openreview.net/forum?id=9JQtrumvg8
[32] S. Yao, H. Chen et al., “Webshop: towards scalable real-world web interaction with grounded language agents,” in NIPS '22. Curran Associates Inc., 2022.
[33] Google, “Android debug bridge (ADB),” https://developer.android.com/tools/adb, 2024.
[34] S. Yao, J. Zhao, D. Yu et al., “React: Synergizing reasoning and acting in language models,” in ICLR, 2023. [Online]. Available: https://openreview.net/forum?id=WE_vluYUL-X
[35] B. Zheng, B. Gou, J. Kil et al., “Gpt-4v(ision) is a generalist web agent, if grounded,” in ICML'24. JMLR.org, 2024.
[36] C. Ma, J. Zhang, Z. Zhu, C. Yang, Y. Yang, Y. Jin et al., “Agentboard: an analytical evaluation board of multi-turn llm agents,” in NIPS '24. Curran Associates Inc., 2024.
[37] X. Liu, H. Yu, H. Zhang, Y. Xu, X. Lei, H. Lai et al., “Agentbench: Evaluating llms as agents,” in ICLR 2024. OpenReview.net, 2024.
[38] GitHub, “GitHub REST API,” https://docs.github.com/en/rest, 2026.
[39] OpenAI, “Openai: Advancing digital intelligence,” https://openai.com/, 2024.
[40] Meta, “Llama,” https://llama.meta.com/, 2024.
[41] Z. Wu, Z. Wu, F. Xu, Y. Wang, Q. Sun, C. Jia, K. Cheng, Z. Ding, L. Chen, P. P. Liang, and Y. Qiao, “OS-ATLAS: Foundation action model for generalist GUI agents,” in ICLR, 2025. [Online]. Available: https://openreview.net/forum?id=n9PDaFNi8t
[42] L. Zheng, W.-L. Chiang, Y. Sheng, S. Zhuang, Z. Wu et al., “Judging llm-as-a-judge with mt-bench and chatbot arena,” in NIPS. Red Hook, NY, USA: Curran Associates Inc., 2023.
[43] OpenAI, “GPT-4o model,” https://developers.openai.com/api/docs/models/gpt-4o, 2024.
[44] Browserbase, “A project for integrating google gemini with browserbase for web automation,” https://github.com/browserbase/gemini-browser, 2024.
[45] esinecan, “agentic-ai-browser: Ai-driven web automation agent,” https://github.com/esinecan/agentic-ai-browser, 2024.
[46] lavagueai, “lavagueai/lavague: Large action model framework to develop ai web agents,” https://github.com/lavague-ai/LaVague, 2026.
[47] showlab, “showlab/computer_use_ootb: Out-of-the-box (ootb) gui agent for windows and macos,” https://github.com/showlab/computer_use_ootb, 2026.
[48] Clevrr-AI, “ClevrrComputer: an opensource ai agent for automating desktop tasks,” 2024. [Online]. Available: https://github.com/Clevrr-AI/Clevrr-Computer
[49] OSUNLPGroup, “OSUNLPGroup/seeact: Generalist web agent framework,” https://github.com/OSU-NLP-Group/SeeAct, 2026.
[50] Beaver106, “Windows-use: A benchmark for windows gui automation,” https://github.com/Beaver106/Windows-Use, 2026.
[51] MinorJerry, “Webvoyager,” https://github.com/MinorJerry/WebVoyager, 2024.
[52] A. P. Felt, E. Chin, S. Hanna, D. Song, and D. Wagner, “Android permissions demystified,” in CCS, ser. CCS '11. New York, NY, USA: Association for Computing Machinery, 2011, p. 627638. [Online]. Available: https://doi.org/10.1145/2046707.2046779
[53] A. Alkinoon, T. C. Dang, A. Alghuried, A. Alghamdi et al., “A comprehensive analysis of evolving permission usage in android apps: Trends, threats, and ecosystem insights,” JCP, vol. 5, no. 3, 2025. [Online]. Available: https://www.mdpi.com/2624-800X/5/3/58
[54] W. Enck, P. Gilbert, S. Han, V. Tendulkar et al., “Taintdroid: An information-flow tracking system for realtime privacy monitoring on
smartphones," ACM Trans. Comput. Syst., vol. 32, no. 2, Jun. 2014. [Online]. Available: https://doi.org/10.1145/2619091
[55] Google, “Google Search,” https://www.google.com, 2025.
[56] jaskirat05, “browser-use-typescript: A typescript port of the browser-use automation agent,” https://github.com/jaskirat05/browser-use-typescript, 2025.
[57] xlang-ai, “Openagents: An open platform for language agents in the wild,” https://github.com/xlang-ai/OpenAgents, 2023.
[58] yuruotong1, “yuruotong1/automate: Aipowered local automation tool,” https://github.com/yuruotong1/autoMate, 2026.
[59] a-real-ai, “Opensource natural language gui automation assistant for windows,” https://github.com/a-real-ai/pywinassistant, 2026.
[60] niuzaisheng, “A vision language modeldriven computer control agent,” https://github.com/niuzaisheng/ScreenAgent, 2024.
[61] e2bdev, “e2bdev:surf: Aipowered computer use agent with virtual desktop,” https://github.com/e2b-dev/surf, 2026.
[62] Apify, “Ai web automation agent for natural-language web browsing,” https://github.com/apify/actor-web-automation-agent, 2023.
[63] C. Team, “Cua: Open-source infrastructure for computer-use agents,” https://github.com/trycua/cua, 2024.
[64] T. Lee, “llama4-computer-use: Computer-use agent powered by llama 4,” https://github.com/TheoLeeCJ/llama4-computer-use, 2024.
[65] M. Leotta, D. Clerissi, F. Ricca, and C. Spadaro, “Comparing the maintainability of selenium webdriver test suites employing different locators: a case study,” in JAMAICA. ACM, 2013, p. 5358. [Online]. Available: https://doi.org/10.1145/2489280.2489284
[66] RuslanKoroy, “desktop-agent: Ai desktop automation agent,” https://github.com/RuslanKoroy/desktop-agent, 2024.
[67] C. Sadowski, E. Aftandilian, A. Eagle, L. Miller-Cushon, and C. Jaspan, “Lessons from building static analysis tools at google,” Commun. ACM, vol. 61, no. 4, p. 5866, 2018.
[68] C. Sadowski, J. Van Gogh, C. Jaspan, E. Soderberg, and C. Winter, "Tricorder: Building a program analysis ecosystem," in ICSE, vol. 1, 2015, pp. 598–608.
[69] Python Software Foundation, “ast — Abstract Syntax Trees,” https://docs.python.org/3/library/ast.html, 2026.
[70] Tree-sitter, “Tree-sitter: An incremental parsing system for programming tools,” https://github.com/tree-sitter/tree-sitter, 2026.
[71] Skyvern-AI, “Skyvern: Automate browser-based workflows with LLMs and computer vision,” https://github.com/Skyvern-AI/skyvern, 2024.
[72] R. Malhotra, S. Chawla, and A. Sharma, “Software defect prediction using hybrid techniques: a systematic literature review,” Soft Comput., vol. 27, no. 12, p. 82558288, Jan. 2023. [Online]. Available: https://doi.org/10.1007/s00500-022-07738-w
[73] C. Wan, Y. Liu, K. Du, H. Hoffmann, J. Jiang, M. Maire, and S. Lu, "Run-time prevention of software integration failures of machine learning apis," Proc. ACM Program. Lang., vol. 7, no. OOPSLA2, Oct. 2023. [Online]. Available: https://doi.org/10.1145/3622806
[74] F. Tambon, A. Moradi-Dakhel, A. Nikanjam, F. Khomh, M. C. Desmarais, and G. Antoniol, “Bugs in large language models generated code: an empirical study,” Empirical Softw. Engg., vol. 30, no. 3, Feb. 2025. [Online]. Available: https://doi.org/10.1007/s10664-025-10614-4
[75] L. Wang, C. Ma, X. Feng, Z. Zhang et al., “A survey on large language model based autonomous agents,” Frontiers of Computer Science, vol. 18, no. 6, Mar. 2024. [Online]. Available: http://dx.doi.org/10.1007/s11704-024-40231-1
[76] Z. Xi, W. Chen, X. Guo, W. He, Y. Ding, B. Hong, M. Zhang, J. Wang et al., “The rise and potential of large language model based agents: A survey,” 2023. [Online]. Available: https://arxiv.org/abs/2309.07864
[77] J. S. Park, J. O'Brien, C. J. Cai, M. R. Morris, P. Liang, and M. S. Bernstein, "Generative agents: Interactive simulacra of human behavior," in UIST '23. ACM, 2023. [Online]. Available: https://doi.org/10.1145/3586183.3606763
[78] T. Schick, J. Dwivedi-Yu, R. Dessí, R. Raileanu, M. Lomeli, E. Hambro et al., “Toolformer: language models can teach themselves to use tools,” in NIPS, ser. NIPS '23. Curran Associates Inc., 2023.
[79] Y. Huang, J. Song, D. Song, Z. Ji, W. Wang, S. Wang, and L. Ma, "Evaluating llms on sequential api call through automated test generation," arXiv preprint arXiv:2507.09481, 2025.
[80] C. E. Jimenez, J. Yang, A. Wettig, S. Yao, K. Pei et al., “SWE-bench: Can language models resolve real-world github issues?” in ICLR, 2024. [Online]. Available: https://openreview.net/forum?id=VTF8yNQM66
[81] T. L. S. de Chezelles, M. Gasse, A. Lacoste, M. Caccia et al., “The browsergym ecosystem for web agent research,” TMLR, 2025.
[82] R. Niu, J. Li, S. Wang, Y. Fu et al., “Screenagent: a vision language model-driven computer control agent,” in IJCAI '24, 2024. [Online]. Available: https://doi.org/10.24963/ijcai.2024/711
[83] C. Zhang, S. He, J. Qian, B. Li et al., “Large language model-brained GUI agents: A survey,” TMLR, 2025.
[84] X. Tao, Y. Wang, Y. Cai, Z. Yang, and J. Tang, “Understanding GUI agent localization biases through logit sharpness,” in EMNLP, C. Christodoulopoulos, T. Chakraborty, C. Rose, and V. Peng, Eds. ACL, 2025, pp. 23 361–23 374.
[85] Q. Wu, K. Cheng, R. Yang, C. Zhang, J. Yang et al., “Gui-actor: Coordinate-free visual grounding for gui agents,” in Advances in Neural Information Processing Systems, D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen, Eds., vol. 38. Curran Associates, Inc., 2025, pp. 15 101–15 128.
[86] M. Xing, R. Zhang, H. Xue et al., “Understanding the weakness of large language model agents within a complex android environment,” in KDD. ACM, 2024, p. 60616072.
[87] C. Rawles, S. Clinckemaillie, Y. Chang et al., “Androidworld: A dynamic benchmarking environment for autonomous agents,” 2025. [Online]. Available: https://arxiv.org/abs/2405.14573
[88] S. Zhang, J. Chen, Z. Gao, J. Gao, X. Yi, and H. Li, "Characterizing unintended consequences of gui agents for web browsing," in CHI, ser. CHI '26. ACM, 2026. [Online]. Available: https://doi.org/10.1145/3772318.3790696
[89] T. Yeh, T.-H. Chang, and R. C. Miller, “Sikuli: using gui screenshots for search and automation,” in UIST '09. ACM, 2009, p. 183192. [Online]. Available: https://doi.org/10.1145/1622176.1622213
[90] L. Gomez, I. Neamtiu, T. Azim, and T. Millstein, “Reran: timing- and touch-sensitive record and replay for android,” in ICSE '13. IEEE Press, 2013, p. 7281.
[91] Appium, “Appium: Cross-platform automation framework for all kinds of apps,” https://github.com/appium/appium, Appium, 2026.
[92] Google, “Ui/application exerciser monkey,” https://developer.android.com/studio/test/other-testing-tools/monkey, 2026.
[93] marmelab, “gremlins.js: Monkey testing library for web apps and Node.js,” https://github.com/marmelab/gremlins.js, 2026.
[94] A. Machiry, R. Tahiliani, and M. Naik, “Dynodroid: An input generation system for android apps,” in ESEC/FSE, 2013, pp. 224–234.
[95] P. Patel, G. Srinivasan, S. Rahaman, and I. Neamtiu, “On the effectiveness of random testing for android: or how i learned to stop worrying and love the monkey,” in AST, ser. AST '18. ACM, 2018, p. 3437.
[96] T. Su, G. Meng, Y. Chen et al., “Guided, stochastic model-based gui testing of android apps,” in ESEC/FSE, 2017, pp. 245–256.
[97] Y. Li, Z. Yang et al., “Droidbot: a lightweight ui-guided test input generator for android,” in ICSE-C. IEEE, 2017, pp. 23–26.
[98] W. Yang, M. R. Prasad, and T. Xie, “A grey-box approach for automated gui-model generation of mobile applications,” in FASE, 2013, pp. 250–265.
[99] J. Wang, Y. Jiang, C. Xu, C. Cao, X. Ma, and J. Lu, “Combodroid: generating high-quality test inputs for android apps via use case combinations,” in ICSE, ser. ICSE '20. ACM, 2020, p. 469480.
[100] A. Mesbah, E. Bozdag et al., “Crawling ajax by inferring user interface state changes,” in ICWE. IEEE, 2008, pp. 122–134.
[101] M. Mobilio, D. Clerissi, G. Denaro, and L. Mariani, “Gui testing to the power of parallel q-learning,” in ICSE '23, 2023, p. 5559.
[102] W. Wang, W. Yang, T. Xu, and T. Xie, “Vet: identifying and avoiding ui exploration tariffs,” in ESEC/FSE’21. ACM, 2021, p. 8394. [Online]. Available: https://doi.org/10.1145/3468264.3468554
[103] X. Zeng, D. Li, W. Zheng, F. Xia, Y. Deng, W. Lam, W. Yang, and T. Xie, “Automated test input generation for android: are we really there yet in an industrial case?” in FSE’16. ACM, 2016, p. 987992.
[104] Y. Zheng, Y. Liu, X. Xie, Y. Liu, L. Ma, J. Hao, and Y. Liu, “Automatic web testing using curiosity-driven reinforcement learning,” in ICSE. IEEE, 2021, pp. 423–435.
[105] X. Chang, Z. Liang, Y. Zhang, L. Cui, Z. Long et al., “A reinforcement learning approach to generating test cases for web applications,” in AST. IEEE, 2023, pp. 13–23.
[106] Z. Liu, C. Chen, J. Wang, M. Chen et al., “Make llm a testing expert: Bringing human-like interaction to mobile gui testing via functionality-aware decisions,” in ICSE, 2024, pp. 1–13.
[107] Z. Liu, C. Li, C. Chen, J. Wang, M. Chen, B. Wu, Y. Wang, J. Hu, and Q. Wang, “Seeing is believing: Vision-driven non-crash functional bug detection for mobile apps,” TSE, vol. 51, no. 12, pp. 3452–3466, 2025.