cs.AISep 28, 2026

PhoneCLI: From App Interfaces to Callable Commands for Mobile Agents

Authors: Yangqin Jiang, Lingrui Xu, Chao Huang

Organizations: The University of Hong Kong

Abstract

Mobile GUI agents operate through a perception--action loop: at each step they screenshot the device, invoke a vision--language model (VLM), and emit an action. It is slow, costly, and brittle, yet most of what it does is navigation---and everyday navigation is static, ordered, and endlessly repeated. We present PhoneCLI, which compiles an app's GUI navigation into callable commands, without any app-internal API, runtime instrumentation, or model training. Offline, PhoneCLI explores a target app from the outside and distills its screens, interactive elements, and navigation edges into a semantically annotated map; each screen yields one deterministic command: a replay sequence that reaches it. Online, the agent selects a command, verifies it before execution, and then executes it deterministically in sub-second time at zero VLM cost; open-ended interaction and every failure of the compiled path fall back to the embedded VLM interpreter, exactly the pure VLM agent, so compilation can only help. On AndroidLab, PhoneCLI improves the task success rate while reducing steps and token consumption, and it transfers to AndroidWorld's official M3A agent with consistent efficiency gains. What PhoneCLI compiles is the app's navigation rather than one run, so it serves new tasks, not only repeated ones.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Beyond the GUI Paradigm: Do Mobile Agents Need the Phone Screen?

    Jun 16, 2026Li Gu, Zihuan Jiang, Linqiang Guo +6Graphical User Interface AgentsDevice

  2. PhoneHarness: Harnessing Phone-Use Agents through Mixed GUI, CLI, and Tool Actions

    Jun 12, 2026Chenxin Li, Zhengyao Fang, Zhengyang Tang +18Computer-Use AgentsDial

  3. PhoneBuddy: Training Open Models for Agentic Phone Use

    Jun 22, 2026Zhengyang Tang, Xin Lai, Pengyuan Lyu +23DialDevice