Agent+P: Guiding UI Agents via Symbolic Planning

Shang Ma, Xusheng Xiao, Yanfang Ye
10/7/2025
cs.MA

No confident code implementation found for this paper.

Abstract

Large Language Model (LLM)-based UI agents show great promise for UI automation but often hallucinate in long-horizon tasks due to their lack of understanding of the global UI transition structure. To address this, we introduce AGENT+P, a novel framework that leverages symbolic planning to guide LLM-based UI agents. Specifically, we model an app's UI transition structure as a UI Transition Graph (UTG), which allows us to reformulate the UI automation task as a pathfinding problem on the UTG. This further enables an off-the-shelf symbolic planner to generate a provably correct and optimal high-level plan, preventing the agent from redundant exploration and guiding the agent to achieve the automation goals. AGENT+P is designed as a plug-and-play framework to enhance existing UI agents. Evaluation on the AndroidWorld benchmark demonstrates that AGENT+P improves the success rates of state-of-the-art UI agents by up to 14.31% and reduces the action steps by 37.70%.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{ma2025agentp,
  title  = {Agent+P: Guiding UI Agents via Symbolic Planning},
  author = {Shang Ma and Xusheng Xiao and Yanfang Ye},
  year   = {2025},
  eprint = {2510.06042},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.06042v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.06042.svg)](https://codeofpaper.com/paper/2510.06042)

Discussion