Agent+P: Guiding UI Agents via Symbolic Planning

Shang Ma, Xusheng Xiao, Yanfang Ye


Abstract
Large Language Model (LLM)-based UI agents show great promise for UI automation but of- ten hallucinate in long-horizon tasks due to their lack of understanding of the global UI transition structure. To address this, we in- troduce 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 Transi- tion Graph (UTG), which allows us to refor- mulate 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 explo- ration and guiding the agent to achieve the au- tomation 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 im- proves the success rates of state-of-the-art UI agents by up to 14.32% and reduces the ac- tion steps by 37.70%. Our code is available at: https://github.com/KiteFlyKid/agentp.
Anthology ID:
2026.aacl-long.26
Volume:
Proceedings of the 15th International Joint Conference on Natural Language Processing and the 5th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics (Volume 1: Long Papers)
Month:
November
Year:
2026
Address:
Hengqin, China
Editors:
Yue Zhang, Ruifeng Xu, Ayu Purwarianti, Tong Rong, Jun Suzuki
Venues:
AACL | IJCNLP
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
561–578
Language:
URL:
https://aclanthology.org/2026.aacl-long.26/
DOI:
Bibkey:
Cite (ACL):
Shang Ma, Xusheng Xiao, and Yanfang Ye. 2026. Agent+P: Guiding UI Agents via Symbolic Planning. In Proceedings of the 15th International Joint Conference on Natural Language Processing and the 5th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 561–578, Hengqin, China. Association for Computational Linguistics.
Cite (Informal):
Agent+P: Guiding UI Agents via Symbolic Planning (Ma et al., AACL-IJCNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.aacl-long.26.pdf