AutoDroid-V2: Boosting SLM-based GUI Agents via Code Generation
On the map: LLM agents and tool use → GUI and mobile agents
Abstract (arXiv)
Large language models (LLMs) have brought exciting new advances to mobile UI agents, a long-standing research field that aims to complete arbitrary natural language tasks through mobile UI interactions. However, existing UI agents usually demand powerful large language models that are difficult to be deployed locally on end-users' devices, raising huge concerns about user privacy and centralized serving cost. Inspired by the remarkable coding abilities of recent small language models (SLMs), we propose to convert the UI task automation problem to a code generation problem, which can be effectively solved by an on-device SLM and efficiently executed with an on-device code interpreter. Unlike normal coding tasks that can be extensively pre-trained with public datasets, generating UI automation code is challenging due to the diversity, complexity, and variability of target apps. Therefore, we adopt a document-centered approach that automatically builds fine-grained API documentation for each app and generates diverse task samples based on this documentation. By guiding the agent with the synthetic documents and task samples, it learns to generate precise and efficient scripts to complete unseen tasks. Based on detailed comparisons with state-of-the-art mobile UI agents, our approach effectively improves the mobile task automation with significantly higher success rates and lower latency/token consumption. Code is open-sourced at https://github.com/MobileLLM/AutoDroid-V2.
Key facts. Cited by 34 papers in the map (data through 14 Oct 2026). Placed in GUI and mobile agents, one of 16 directions in LLM agents and tool use. Builds on 36 of its 51 references that are in the map. First posted on arXiv 24 Dec 2024.
Builds on
36 of 51 references.
Closest ancestors · 12
Same direction, newest first
- 2024Large Language Model-Brained GUI Agents: A Survey27 Nov
- 2024AutoGLM: Autonomous Foundation Agents for GUIs28 Oct
- 2024Navigating the Digital World as Humans Do: Universal Visual Grounding for GUI Agents7 Oct
- 2024Caution for the Environment: Multimodal LLM Agents are Susceptible to Environmental Distractions5 Aug
- 2024Mobile-Agent-v2: Mobile Device Operation Assistant with Effective Navigation via Multi-Agent Collaboration3 Jun
- 2024LlamaTouch: A Faithful and Scalable Testbed for Mobile UI Task Automation12 Apr
- 2024Understanding the Weakness of Large Language Model Agents within a Complex Android Environment9 Feb
- 2024Mobile-Agent: Autonomous Multi-Modal Mobile Device Agent with Visual Perception29 Jan
- 2024SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agents17 Jan
- 2023AppAgent: Multimodal Agents as Smartphone Users21 Dec
- 2023CogAgent: A Visual Language Model for GUI Agents14 Dec
- 2023You Only Look at Screens: Multimodal Chain-of-Action Agents20 Sep
Other references · 24
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyondcited by 2,224
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
- 2023Textbooks Are All You Needcited by 569
- 2024Executable Code Actions Elicit Better LLM Agentscited by 564
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
- 2023A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesiscited by 353
- 2023Android in the Wild: A Large-Scale Dataset for Android Device Controlcited by 319
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 260
12 more
- 2023AutoDroid: LLM-powered Task Automation in Androidcited by 184
- 2024Ferret-UI: Grounded Mobile UI Understanding with Multimodal LLMscited by 176
- 2023GPT-4V in Wonderland: Large Multimodal Models for Zero-Shot Smartphone GUI Navigationcited by 137
- 2024Attacking Vision-Language Computer Agents via Pop-upscited by 116
- 2024Small Language Models: Survey, Measurements, and Insightscited by 112
- 2024On-Device Language Models: A Comprehensive Reviewcited by 104
- 2022META-GUI: Towards Multi-modal Conversational Agents on Mobile GUIcited by 81
- 2023Explore, Select, Derive, and Recall: Augmenting LLM with Human-like Memory for Mobile Task Automationcited by 58
- 2023DroidBot-GPT: GPT-powered UI Automation for Androidcited by 47
- 2023Mobile Foundation Model as Firmwarecited by 25
- 2023Responsible Task Automation: Empowering Large Language Models as Responsible Task Automatorscited by 14
- 2024Latent State Estimation Helps UI Agents to Reasoncited by 9
Built on by
Citing papers per year: 2025: 21; 2026: 13.
34 papers.
Sort:
By area:
- 2025MobileRL: Online Agentic Reinforcement Learning for Mobile GUI Agentscited by 43
- 2025Advancing Mobile GUI Agents: A Verifier-Driven Approach to Practical Deploymentcited by 38
- 2025ViMo: A Generative Visual GUI World Model for App Agentscited by 35
- 2025LLM-Powered GUI Agents in Phone Automation: Surveying Progress and Prospectscited by 32
- 2025VeriSafe Agent: Safeguarding Mobile GUI Agent via Logic-based Action Verificationcited by 22
- 2025Does Chain-of-Thought Reasoning Help Mobile GUI Agent? An Empirical Studycited by 11
- 2025Toward a Human-Centered Evaluation Framework for Trustworthy LLM-Powered GUI Agentscited by 11
- 2025MAS-Bench: A Unified Benchmark for Shortcut-Augmented Hybrid Mobile GUI Agentscited by 11
- 2025AgentProg: Empowering Long-Horizon GUI Agents with Program-Guided Context Managementcited by 11
- 2025Which Heads Matter for Reasoning? RL-Guided KV Cache Compressioncited by 10
- 2025EcoAgent: An Efficient Device-Cloud Collaborative Multi-Agent Framework for Mobile Automationcited by 8
- 2025MVISU-Bench: Benchmarking Mobile Agents for Real-World Tasks by Multi-App, Vague, Interactive, Single-App and Unethical Instructionscited by 7
22 more
- 2025AI Agents for Web Testing: A Case Study in the Wildcited by 6
- 2025Mobile GUI Agents under Real-world Threats: Are We There Yet?cited by 5
- 2025CORE: Reducing UI Exposure in Mobile Agents via Collaboration Between Cloud and Local LLMscited by 5
- 2026Executable Agentic Memory for GUI Agentcited by 5
- 2025Towards Pervasive Distributed Agentic Generative AI -- A State of The Artcited by 4
- 2025From Imperative to Declarative: Towards LLM-friendly OS Interfaces for Boosted Computer-Use Agentscited by 4
- 2025MobiBench: Multi-Branch, Modular Benchmark for Mobile GUI Agentscited by 3
- 2025Every Software as an Agent: Blueprint and Case Studycited by 2
- 2026Do Multi-Agents Dream of Electric Screens? Achieving Perfect Accuracy on AndroidWorld Through Task Decompositioncited by 2
- 2026AOHP: An Open-Source OS-Level Agent Harness for Personalized, Efficient and Secure Interactioncited by 2
- 2026Parameter-Free Encoders Remain Viable for RDB Foundation Modelscited by 2
- 20261D-Bench: A Benchmark for Iterative UI Code Generation with Visual Feedback in Real-Worldcited by 1
- 2026AgentLens: Adaptive Visual Modalities for Human-Agent Interaction in Mobile GUI Agentscited by 1
- 2025iPanda: An LLM-based Agent for Automated Conformance Testing of Communication Protocolscited by 0
- 2025See-Control: A Multimodal Agent Framework for Smartphone Interaction with a Robotic Armcited by 0
- 2026PowerLens: Taming LLM Agents for Safe and Personalized Mobile Power Managementcited by 0
- 2026Scaling Mobile Agent Systems: From Capability Density to Collective Intelligencecited by 0
- 2026Act2Intention: A Benchmark For Developing Active Mobile Agents Through Inferring User Intention from GUI Actionscited by 0
- 2026When Agents See Differently: Exposing UI Desynchronization Threats in Mobile Agentscited by 0
- 2026Should SLMs be in the Driver's Seat? A Study of Local Models as Interpreters in Cloud-Written Agent Programscited by 0
- 2026PEAM: On-device Communication Agent for Personalized, Efficient and Autonomous Mobile Network Configurationcited by 0
- 2026SchemaWeaver: Accelerating On-Device Mobile Agentic AI via Schema-Guided Parallel LLM Decodingcited by 0
- 2026SchemaWeaver: Accelerating On-Device Mobile Agentic AI via Schema-Guided Parallel LLM Decoding12 Oct 2026
- 2026PEAM: On-device Communication Agent for Personalized, Efficient and Autonomous Mobile Network Configuration10 Oct 2026
- 2026Should SLMs be in the Driver's Seat? A Study of Local Models as Interpreters in Cloud-Written Agent Programs9 Oct 2026
- 2026When Agents See Differently: Exposing UI Desynchronization Threats in Mobile Agents15 Sep 2026
- 2026Act2Intention: A Benchmark For Developing Active Mobile Agents Through Inferring User Intention from GUI Actions14 Aug 2026
- 2026Parameter-Free Encoders Remain Viable for RDB Foundation Models6 Jul 2026
- 2026AOHP: An Open-Source OS-Level Agent Harness for Personalized, Efficient and Secure Interaction22 Jun 2026
- 2026Executable Agentic Memory for GUI Agent12 May 2026
- 2026Scaling Mobile Agent Systems: From Capability Density to Collective Intelligence29 Apr 2026
- 2026AgentLens: Adaptive Visual Modalities for Human-Agent Interaction in Mobile GUI Agents22 Apr 2026
- 2026PowerLens: Taming LLM Agents for Safe and Personalized Mobile Power Management20 Mar 2026
- 20261D-Bench: A Benchmark for Iterative UI Code Generation with Visual Feedback in Real-World20 Feb 2026
22 more
- 2026Do Multi-Agents Dream of Electric Screens? Achieving Perfect Accuracy on AndroidWorld Through Task Decomposition8 Feb 2026
- 2025MobiBench: Multi-Branch, Modular Benchmark for Mobile GUI Agents14 Dec 2025
- 2025AgentProg: Empowering Long-Horizon GUI Agents with Program-Guided Context Management11 Dec 2025
- 2025See-Control: A Multimodal Agent Framework for Smartphone Interaction with a Robotic Arm9 Dec 2025
- 2025CORE: Reducing UI Exposure in Mobile Agents via Collaboration Between Cloud and Local LLMs17 Oct 2025
- 2025Which Heads Matter for Reasoning? RL-Guided KV Cache Compression9 Oct 2025
- 2025From Imperative to Declarative: Towards LLM-friendly OS Interfaces for Boosted Computer-Use Agents6 Oct 2025
- 2025MobileRL: Online Agentic Reinforcement Learning for Mobile GUI Agents10 Sep 2025
- 2025MAS-Bench: A Unified Benchmark for Shortcut-Augmented Hybrid Mobile GUI Agents8 Sep 2025
- 2025AI Agents for Web Testing: A Case Study in the Wild5 Sep 2025
- 2025MVISU-Bench: Benchmarking Mobile Agents for Real-World Tasks by Multi-App, Vague, Interactive, Single-App and Unethical Instructions12 Aug 2025
- 2025Mobile GUI Agents under Real-world Threats: Are We There Yet?6 Jul 2025
- 2025iPanda: An LLM-based Agent for Automated Conformance Testing of Communication Protocols1 Jul 2025
- 2025Towards Pervasive Distributed Agentic Generative AI -- A State of The Art16 Jun 2025
- 2025EcoAgent: An Efficient Device-Cloud Collaborative Multi-Agent Framework for Mobile Automation8 May 2025
- 2025LLM-Powered GUI Agents in Phone Automation: Surveying Progress and Prospects28 Apr 2025
- 2025Toward a Human-Centered Evaluation Framework for Trustworthy LLM-Powered GUI Agents24 Apr 2025
- 2025ViMo: A Generative Visual GUI World Model for App Agents15 Apr 2025
- 2025VeriSafe Agent: Safeguarding Mobile GUI Agent via Logic-based Action Verification24 Mar 2025
- 2025Does Chain-of-Thought Reasoning Help Mobile GUI Agent? An Empirical Study21 Mar 2025
- 2025Advancing Mobile GUI Agents: A Verifier-Driven Approach to Practical Deployment20 Mar 2025
- 2025Every Software as an Agent: Blueprint and Case Study7 Feb 2025
- 2025MobileRL: Online Agentic Reinforcement Learning for Mobile GUI Agentscited by 43
- 2025Advancing Mobile GUI Agents: A Verifier-Driven Approach to Practical Deploymentcited by 38
- 2025LLM-Powered GUI Agents in Phone Automation: Surveying Progress and Prospectscited by 32
- 2025VeriSafe Agent: Safeguarding Mobile GUI Agent via Logic-based Action Verificationcited by 22
- 2025Toward a Human-Centered Evaluation Framework for Trustworthy LLM-Powered GUI Agentscited by 11
- 2025MAS-Bench: A Unified Benchmark for Shortcut-Augmented Hybrid Mobile GUI Agentscited by 11
- 2025AgentProg: Empowering Long-Horizon GUI Agents with Program-Guided Context Managementcited by 11
- 2025EcoAgent: An Efficient Device-Cloud Collaborative Multi-Agent Framework for Mobile Automationcited by 8
- 2025AI Agents for Web Testing: A Case Study in the Wildcited by 6
- 2025Mobile GUI Agents under Real-world Threats: Are We There Yet?cited by 5
- 2025CORE: Reducing UI Exposure in Mobile Agents via Collaboration Between Cloud and Local LLMscited by 5
- 2026Executable Agentic Memory for GUI Agentcited by 5
12 most cited of 25 All 25 (JSON)
- 2026SchemaWeaver: Accelerating On-Device Mobile Agentic AI via Schema-Guided Parallel LLM Decoding12 Oct 2026
- 2026PEAM: On-device Communication Agent for Personalized, Efficient and Autonomous Mobile Network Configuration10 Oct 2026
- 2026When Agents See Differently: Exposing UI Desynchronization Threats in Mobile Agents15 Sep 2026
- 2026Act2Intention: A Benchmark For Developing Active Mobile Agents Through Inferring User Intention from GUI Actions14 Aug 2026
- 2026Executable Agentic Memory for GUI Agent12 May 2026
- 2026Scaling Mobile Agent Systems: From Capability Density to Collective Intelligence29 Apr 2026
- 2026AgentLens: Adaptive Visual Modalities for Human-Agent Interaction in Mobile GUI Agents22 Apr 2026
- 2026PowerLens: Taming LLM Agents for Safe and Personalized Mobile Power Management20 Mar 2026
- 2025MobiBench: Multi-Branch, Modular Benchmark for Mobile GUI Agents14 Dec 2025
- 2025AgentProg: Empowering Long-Horizon GUI Agents with Program-Guided Context Management11 Dec 2025
- 2025See-Control: A Multimodal Agent Framework for Smartphone Interaction with a Robotic Arm9 Dec 2025
- 2025CORE: Reducing UI Exposure in Mobile Agents via Collaboration Between Cloud and Local LLMs17 Oct 2025
12 newest of 25 All 25 (JSON)
- 2025Does Chain-of-Thought Reasoning Help Mobile GUI Agent? An Empirical Studycited by 11
- 2025Which Heads Matter for Reasoning? RL-Guided KV Cache Compressioncited by 10
- 2025MVISU-Bench: Benchmarking Mobile Agents for Real-World Tasks by Multi-App, Vague, Interactive, Single-App and Unethical Instructionscited by 7
- 2025Which Heads Matter for Reasoning? RL-Guided KV Cache Compression9 Oct 2025
- 2025MVISU-Bench: Benchmarking Mobile Agents for Real-World Tasks by Multi-App, Vague, Interactive, Single-App and Unethical Instructions12 Aug 2025
- 2025Does Chain-of-Thought Reasoning Help Mobile GUI Agent? An Empirical Study21 Mar 2025
- 2025ViMo: A Generative Visual GUI World Model for App Agentscited by 35
- 2025ViMo: A Generative Visual GUI World Model for App Agents15 Apr 2025
- 2026Do Multi-Agents Dream of Electric Screens? Achieving Perfect Accuracy on AndroidWorld Through Task Decompositioncited by 2
- 2026AOHP: An Open-Source OS-Level Agent Harness for Personalized, Efficient and Secure Interactioncited by 2
- 2026Parameter-Free Encoders Remain Viable for RDB Foundation Modelscited by 2
- 20261D-Bench: A Benchmark for Iterative UI Code Generation with Visual Feedback in Real-Worldcited by 1
- 2026Should SLMs be in the Driver's Seat? A Study of Local Models as Interpreters in Cloud-Written Agent Programscited by 0
- 2026Should SLMs be in the Driver's Seat? A Study of Local Models as Interpreters in Cloud-Written Agent Programs9 Oct 2026
- 2026Parameter-Free Encoders Remain Viable for RDB Foundation Models6 Jul 2026
- 2026AOHP: An Open-Source OS-Level Agent Harness for Personalized, Efficient and Secure Interaction22 Jun 2026
- 20261D-Bench: A Benchmark for Iterative UI Code Generation with Visual Feedback in Real-World20 Feb 2026
- 2026Do Multi-Agents Dream of Electric Screens? Achieving Perfect Accuracy on AndroidWorld Through Task Decomposition8 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025API Agents vs. GUI Agents: Divergence and Convergence
- 2026APPSim-Bench: Bridging Real-world Apps and Reproducible Evaluation for Mobile GUI Agents
- 2025Agent+P: Guiding UI Agents via Symbolic Planning
- 2026SWE-Bench Mobile: Can Large Language Model Agents Develop Industry-Level Mobile Applications?
- 2025From User Interface to Agent Interface: Efficiency Optimization of UI Representations for LLM Agents
- 2024GUI Agents with Foundation Models: A Comprehensive Survey
- 2025Agent-SAMA: State-Aware Mobile Assistant
- 2026UI-Voyager: A Self-Evolving GUI Agent Learning via Failed Experience