arXiv · 2609.35671
PhoneCLI: From App Interfaces to Callable Commands for Mobile Agents
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Yangqin Jiang, Lingrui Xu, Chao Huang. 2026-09-28. PhoneCLI: From App Interfaces to Callable Commands for Mobile Agents. https://arxiv.org/abs/2609.35671
Cite the original work for its findings. Save a collection to share your selection of sources.