PreAct: Computer-Using Agents that Get Faster on Repeated Tasks
On the map: LLM agents and tool use → GUI and mobile agents
Abstract (arXiv)
Computer-using agents drive real software through the screen -- clicking and typing -- but they solve every task from scratch: asked to repeat a task, an agent re-reads the screen, re-reasons every tap, and pays the full cost again. We present PreAct, which lets such an agent get faster on tasks it has done before. The first time it succeeds, PreAct compiles the run into a small state-machine program-states that check the screen, transitions that act-and on later runs replays it directly instead of invoking the agent 8.5-13x faster, with no per-step language-model calls. Replay is not blind: at each step PreAct checks that the screen matches what the program expects before acting, and hands control back to the agent the moment something is off. PreAct applies the same discipline when deciding what to keep: a freshly compiled program enters the store only if, re-run from a clean state, an independent evaluator confirms it solved the task-catching programs that replay to their last step yet leave the task undone. Across a mobile, a desktop, and a web benchmark, this store-time check separates repeated runs that improve from ones that degrade as faulty programs accumulate, worth 1.75-2.6 tasks per benchmark, the same direction on all three; a fallback that explores afresh when no program fits brings PreAct level with a strong record-and-replay baseline. We also report what did not matter: prompt wording, runtime guardrails, and whether a language model or a plain embedding retriever selects which program to reuse.
Key facts. Cited by 5 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 56 of its 68 references that are in the map. First posted on arXiv 16 Jun 2026.
Builds on
56 of 68 references.
Closest ancestors · 10
Same direction, newest first
- 2025UI-TARS: Pioneering Automated GUI Interaction with Native Agents21 Jan
- 2024Windows Agent Arena: Evaluating Multi-Modal OS Agents at Scale12 Sep
- 2024DigiRL: Training In-The-Wild Device-Control Agents with Autonomous Reinforcement Learning14 Jun
- 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments11 Apr
- 2024OS-Copilot: Towards Generalist Computer Agents with Self-Improvement12 Feb
- 2024ScreenAgent: A Vision Language Model-driven Computer Control Agent9 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
Other references · 46
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
34 more
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2018World Modelscited by 1,513
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2023Mastering Diverse Domains through World Modelscited by 1,253
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,251
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,210
- 2023GAIA: a benchmark for General AI Assistantscited by 1,128
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2023Reasoning with Language Model is Planning with World Modelcited by 861
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
- 2022PAL: Program-aided Language Modelscited by 652
- 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 634
- 2024Executable Code Actions Elicit Better LLM Agentscited by 564
- 2024GPT-4V(ision) is a Generalist Web Agent, if Groundedcited by 563
- 2024AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agentscited by 468
- 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Modelscited by 438
- 2023Cognitive Architectures for Language Agentscited by 429
- 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
- 2023Large Language Models as Tool Makerscited by 303
- 2022Language Models of Code are Few-Shot Commonsense Learnerscited by 160
- 2024UFO: A UI-Focused Agent for Windows OS Interactioncited by 148
- 2024Web Agents with World Models: Learning and Leveraging Environment Dynamics in Web Navigationcited by 126
- 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 123
- 2024Proactive Agent: Shifting LLM Agents from Reactive Responses to Active Assistancecited by 87
- 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Taskscited by 75
- 2024Self-evolving Agents with reflective and memory-augmented abilitiescited by 52
- 2026Skill-Pro: Learning Reusable Skills from Experience via Non-Parametric PPO for LLM Agentscited by 47
- 2025Get Experience from Practice: LLM Agents with Record & Replaycited by 23
- 2026User as Code: Executable Memory for Personalized Agentscited by 7
- 2026Compiled AI: Deterministic Code Generation for LLM-Based Workflow Automationcited by 4
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026TraceCompiler: Skill-Guided Mining and Compilation of LLM Agent Traces into Mostly Deterministic Workflowscited by 5
- 2026Activity Frames: Deterministic Screen-Activity Compilation for Agent Memory and Replaycited by 0
- 2026ATLAS: Discovering Agent Strategies through LLM-Guided Abstraction and Automata Learningcited by 0
- 2026PhoneCLI: From App Interfaces to Callable Commands for Mobile Agentscited by 0
- 2026When to Compile a Computer-Use Agent? Measuring Payback and Making Compilation Decisions for Token Efficiencycited by 0
- 2026When to Compile a Computer-Use Agent? Measuring Payback and Making Compilation Decisions for Token Efficiency2 Oct 2026
- 2026PhoneCLI: From App Interfaces to Callable Commands for Mobile Agents28 Sep 2026
- 2026ATLAS: Discovering Agent Strategies through LLM-Guided Abstraction and Automata Learning14 Aug 2026
- 2026Activity Frames: Deterministic Screen-Activity Compilation for Agent Memory and Replay6 Aug 2026
- 2026TraceCompiler: Skill-Guided Mining and Compilation of LLM Agent Traces into Mostly Deterministic Workflows3 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026DeltaReplay: Task-Relative Memory Reuse for Mobile GUI Agents
- 2026AgentHorizon: Evaluating Agentic Judges for Long-Horizon Computer-Use Tasks
- 2026ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks
- 2026Computer Use at the Edge of the Statistical Precipice
- 2026Efficient GUI Agents: A Systems Survey of Observation, Memory, Action, and Runtime Optimization
- 2026Step-level Optimization for Efficient Computer-use Agents
- 2026PREPING: Zero-Task Agent Memory Construction via Self-Practice
- 2026EchoPath: Execution-Level Replayable Memory for GUI Agents