JA EN
LearnAgents
·★ MEMBER·PAPER·10 min read

Paper Walkthrough: Qwen-UI-Agent — How Alibaba Built a GUI Agent That Works on Real Phones and PCs

A guided tour of Alibaba MAI-UI team's technical report on Qwen-UI-Agent: a foundation GUI agent trained on 100+ physical phones, a hybrid GUI+CLI action space, and online RL over 100+ turn trajectories, reaching 92.2% on a real-device benchmark.

ModalityimageTaskagents

Qwen-UI-Agent Technical Report: Toward Next-Generation Real-World Centric Foundation GUI Agents

Primary source — what this article is built on

undefined2026-07-30undefined2026-08-13same month

Qwen-UI-Agent Technical Report: Toward Next-Generation Real-World Centric Foundation GUI AgentsHanzhang Zhou, Panrong Tong, Xu Zhang et al. · 2026-07-30 · v1arXiv:2607.28227Paper page·PDF
undefined

GUI agents have the potential to become a general purpose executor over existing digital devices. To advance them toward real-world use, we envision agents that operate reliably on real devices, execute workflows across platforms, combine GUI interaction with CLI execution, complete long-horizon tasks, proactively initiate useful services, and autonomously improve their capabilities with minimal human effort. Guided by this vision, we present Qwen-UI-Agent, a real-world centric foundation GUI agent spanning mobile, computer-use, web, and DeepSearch environments. Qwen-UI-Agent combines diverse sandbox environments with a large-scale real-device mobile runtime. Its unified action space interleaves GUI operations with CLI execution and generates batched actions in a single model turn. An AutoResearch-style data flywheel uses agents to construct tasks and environments, diagnose failures, and plan subsequent iterations. Online RL supports training on trajectories exceeding 100 turns, with over 10,000 concurrent environments accelerating rollout. A lightweight harness layer supports proactive service initiation and stateful workflows across mobile and computer. Across a broad suite of evaluations, Qwen-UI-Agent sets state-of-the-art performance on mobile-use benchmarks while delivering competitive performance on computer- and browser-use tasks against frontier models, including Opus 4.8, Gemini 3.1 Pro, and GPT-5.6 Sol. On mobile use, it achieves 82.1% on MobileWorld, 92.2% on MobileWorld-Real, and 97.5% on AndroidDaily. On computer use, it achieves 79.5% on OSWorld-Verified and a 40.0% partial-progress score on OSWorld-v2. On browser use and GUI grounding, it achieves 73.6% on WebArena and 81.5% on ScreenSpot-Pro, respectively.


Why AI That Operates Your Phone Keeps Failing on Real Roads

Picture someone who aced every driving-school test, then freezes in real traffic. That is roughly where GUI agents — AI systems that complete tasks by looking at a screen and tapping or clicking on your behalf — stand today. Research simulators are the driving school: app states reset on demand, no ads appear. Real phones are the road: pop-ups land on top of your target button, logins expire mid-task, CAPTCHAs block the way.

The paper we are reading is the Qwen-UI-Agent technical report, published by Alibaba's MAI-UI team in July 2026, and it attacks this simulator-to-road gap head on. One model covers mobile, computer use, browser use, and DeepSearch (API-based web research). It reports 92.2% on MobileWorld-Real, a benchmark run on live Android phones, ahead of Claude Opus 4.8, GPT-5.6 Sol, and Gemini 3.1 Pro (§3.3) — with a 27B-parameter model, far smaller than those systems.

The Design Philosophy: Six Transitions (§1)

The paper opens by naming six transitions next-generation GUI agents must make: (1) from simulators to real-device execution; (2) from isolated domains to cross-platform workflows; (3) from GUI-only actions to hybrid GUI+CLI and batched actions; (4) from short tasks to reliable long-horizon completion; (5) from human-intensive pipelines to AutoResearch-style development, where agents drive data construction themselves; (6) from reactive execution to proactive service initiation. The rest of this article traces how these six ideas are baked into each stage: formulation → environments → data → training → verification.

Formulation: Turning One "Step" of an Agent into Math (§2.1)

A task is the pair of an instruction II and a set of available environments Eτ\mathcal{E}_\tau. At each step tt the agent receives a three-channel observation ot=(otGUI,otCLI,otAPI)o_t = (o_t^{\mathrm{GUI}}, o_t^{\mathrm{CLI}}, o_t^{\mathrm{API}}) — a screenshot, command-line output, and structured API responses. Eyes on the screen, hands on a shell. The model πθ\pi_\theta produces:

(rt,at)=πθ(I,ot,ht)(r_t, \mathbf{a}_t) = \pi_\theta(I, o_t, h_t)
(1)

Read in words, the right side is everything the agent is handed and the left side is everything it gives back. Hand it the instruction II (the goal, in plain English), the current observation oto_t (this moment's screenshot, shell output and API response), and the history hth_t (everything it has already seen and done on this task), and it returns a short piece of thinking rtr_t — the reasoning it writes to itself — together with what to actually do next, at\mathbf{a}_t. The key detail is that at\mathbf{a}_t need not be a single action: it is defined as at=(at(1),,at(Kt))\mathbf{a}_t = (a_t^{(1)}, \ldots, a_t^{(K_t)}), so one model turn can emit a whole batch of actions. A routine like "click the search box → type → press Enter" needs no fresh screenshot between steps, so it collapses into one turn.

Beyond GUI operations (click, drag, type…), the action space includes cli_command for running bash directly, api_call for external services, and ask_user, which pauses for missing information or explicit confirmation before sensitive operations like payments (§2.1.2). A policy, at heart, is a probability distribution over the available actions — and how sharp that distribution is shapes the agent's character. The widget below lets you feel this.

FIG 1A policy is a probability distribution over candidate actions. Low temperature concentrates mass on one action (decisive but rigid); high temperature spreads it out (exploratory). Action RL, below, uses entropy regularization to keep this distribution from collapsing into a single spike.

As pseudocode, the core agent loop is compact:

h = []                                  # interaction history
while True:
    o = env.observe()                   # screenshot / CLI output / API response
    r, actions = model(I, o, h)         # one turn: reasoning + action batch
    for a in actions:                   # execute batched actions in order
        env.execute(a)                  # click / type / cli_command ...
    h.append((o, r, actions))
    if actions[-1].type == "terminate":
        break

The Environment Sets the Ceiling (§2.2)

"The environment defines the capability boundary of an agent," the authors write. On the sandbox side: mobile (the MobileWorld environment rebuilt on redroid, a containerized Android), computer use (OSWorld's Ubuntu VMs extended with direct bash execution), browser (Playwright + Chromium), and DeepSearch (Serper for ranked search, Jina Reader for page content) — with up to 10,000 isolated sandboxes running in parallel (§2.2.1).

The real-device side is this paper's signature: a runtime of over 100 physical phones and 150+ apps, used for both training and evaluation (§2.2.2). Real phones break, so the system adds a health-aware scheduler that tracks devices, apps, accounts, and network links and blacklists unhealthy ones, plus virtual displays that let one phone host several concurrent app sessions (roughly 20× rollout throughput across the cluster).

Two more pieces complete the runtime: a dedicated User Agent that takes over for CAPTCHAs, logins, and payment confirmations, and a VLM-based (vision-language-model) judge that classifies each run as task success, model failure, or environment failure. That last distinction matters: blame the model for an environment o

What's behind this

§

Members-only from here

371 walkthroughs, 26 textbook chapters, 48 student units and 6 close readings — all included for $4.99/mo, with three new explainers every day. Cancel any time; access runs to the end of the period.

Already a member? Sign in to keep reading

References

  1. Hanzhang Zhou, Panrong Tong, Xu Zhang, Quyu Kong et al.. (2026-07-30) Qwen-UI-Agent Technical Report: Toward Next-Generation Real-World Centric Foundation GUI Agents. arXiv:2607.28227Paper page·PDF

This article is written from the source paper above. Where they differ, the original is authoritative.

Comments

Sign in to comment