CAAP: Context-Aware Action Planning Prompting to Solve Computer Tasks with Front-End UI Only
Not on the map. Why?
Abstract (arXiv)
Software robots have long been used in Robotic Process Automation (RPA) to automate mundane and repetitive computer tasks. With the advent of Large Language Models (LLMs) and their advanced reasoning capabilities, these agents are now able to handle more complex or previously unseen tasks. However, LLM-based automation techniques in recent literature frequently rely on HTML source code for input or application-specific API calls for actions, limiting their applicability to specific environments. We propose an LLM-based agent that mimics human behavior in solving computer tasks. It perceives its environment solely through screenshot images, which are then converted into text for an LLM to process. By leveraging the reasoning capability of the LLM, we eliminate the need for large-scale human demonstration data typically required for model training. The agent only executes keyboard and mouse operations on Graphical User Interface (GUI), removing the need for pre-provided APIs to function. To further enhance the agent's performance in this setting, we propose a novel prompting strategy called Context-Aware Action Planning (CAAP) prompting, which enables the agent to thoroughly examine the task context from multiple perspectives. Our agent achieves an average success rate of 94.5% on MiniWoB++ and an average task score of 62.3 on WebShop, outperforming all previous studies of agents that rely solely on screen images. This method demonstrates potential for broader applications, particularly for tasks requiring coordination across multiple applications on desktops or smartphones, marking a significant advancement in the field of automation agents. Codes and models are accessible at https://github.com/caap-agent/caap-agent.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 32 of its 40 references that are in the map. First posted on arXiv 11 Jun 2024.
Builds on
32 of 40 references.
References · 32
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,852
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2015SSD: Single Shot MultiBox Detectorcited by 3,130
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,251
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,205
20 more
- 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,081
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2024SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agentscited by 567
- 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Modelscited by 438
- 2023Language Models can Solve Computer Taskscited by 372
- 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 366
- 2022Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentationcited by 344
- 2023Set-of-Mark Prompting Unleashes Extraordinary Visual Grounding in GPT-4Vcited by 299
- 2018Reinforcement Learning on Web Interfaces Using Workflow-Guided Explorationcited by 284
- 2022DETRs with Collaborative Hybrid Assignments Trainingcited by 274
- 2023Text2Motion: From Natural Language Instructions to Feasible Planscited by 224
- 2023AdaPlanner: Adaptive Planning from Feedback with Language Modelscited by 196
- 2023Synapse: Trajectory-as-Exemplar Prompting with Memory for Computer Controlcited by 187
- 2023Multimodal Web Navigation with Instruction-Finetuned Foundation Modelscited by 160
- 2024ScreenAI: A Vision-Language Model for UI and Infographics Understandingcited by 98
- 2022A data-driven approach for learning to control computerscited by 88
- 2023From Pixels to UI Actions: Learning to Follow Instructions via Graphical User Interfacescited by 68
- 2024From LLM to Conversational Agent: A Memory Enhanced Architecture with Fine-Tuning of Large Language Modelscited by 43
- 2023Hierarchical Prompting Assists Large Language Model on Web Navigationcited by 36
- 2023Grounding for Artificial Intelligencecited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 3.
4 papers.
- 2024Large Language Model-Brained GUI Agents: A Surveycited by 162
- 2025A Survey of WebAgents: Towards Next-Generation AI Agents for Web Automation with Large Foundation Modelscited by 87
- 2025OS Agents: A Survey on MLLM-based Agents for General Computing Devices Usecited by 35
- 2025A Comprehensive Survey of Agents for Computer Use: Foundations, Challenges, and Future Directionscited by 34
- 2025OS Agents: A Survey on MLLM-based Agents for General Computing Devices Use6 Aug 2025
- 2025A Survey of WebAgents: Towards Next-Generation AI Agents for Web Automation with Large Foundation Models30 Mar 2025
- 2025A Comprehensive Survey of Agents for Computer Use: Foundations, Challenges, and Future Directions27 Jan 2025
- 2024Large Language Model-Brained GUI Agents: A Survey27 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2024Dynamic Planning for LLM-based Graphical User Interface Automation
- 2025A Survey on (M)LLM-Based GUI Agents
- 2023You Only Look at Screens: Multimodal Chain-of-Action Agents
- 2025Leveraging Pre-trained Large Language Models with Refined Prompting for Online Task and Motion Planning
- 2026AutoRPA: Efficient GUI Automation through LLM-Driven Code Synthesis from Interactions
- 2024ConceptAgent: LLM-Driven Precondition Grounding and Tree Search for Robust Task Planning and Execution
- 2023ASSISTGUI: Task-Oriented Desktop Graphical User Interface Automation
- 2025API Agents vs. GUI Agents: Divergence and Convergence