Agent JIT Compilation for Latency-Optimizing Web Agent Planning and Scheduling
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Computer-use agents (CUAs) automate tasks specified with natural language such as "order the cheapest item from Taco Bell" by generating sequences of calls to tools such as click, type, and scroll on a browser. Current implementations follow a sequential fetch-screenshot-execute loop where each iteration requires an LLM call, resulting in high latency and frequent errors from incorrect tool use. We present agent just-in-time (JIT) compilation, a system that compiles task descriptions directly into executable code that may include LLM calls, tool calls, and parallelization. Our approach comprises three components: (1) JIT-Planner, which generates multiple code plans, validates each against tool specifications, and selects the minimum-cost candidate; (2) JIT-Scheduler, which explores parallelization strategies via Monte Carlo cost estimation from learned latency distributions; and (3) an invariant-enforcing tool protocol specifying precondition and postcondition requirements to reduce the rate of incorrect tool use. Across five applications, JIT-Planner achieves 10.4× speedup and 28% higher accuracy over Browser-Use, while JIT-Scheduler achieves 2.4× speedup and 9% higher accuracy over OpenAI CUA.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 14 of its 24 references that are in the map. First posted on arXiv 20 May 2026.
Builds on
14 of 24 references.
Closest ancestors · 2
Same direction, newest first
- 2025What Limits Agentic Systems Efficiency?18 Oct
- 2025A Survey on Code Generation with LLM-based Agents31 Jul
Other references · 12
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Modelscited by 438
- 2023Using an LLM to Help With Code Understandingcited by 228
- 2025WebAgent-R1: Training Web Agents via End-to-End Multi-Turn Reinforcement Learningcited by 165
- 2025OpenCUA: Open Foundations for Computer-Use Agentscited by 160
- 2025GDPval: Evaluating AI Model Performance on Real-World Economically Valuable Taskscited by 158
- 2024AgentOccam: A Simple Yet Strong Baseline for LLM-Based Web Agentscited by 114
- 2024Beyond Browsing: API-Based Web Agentscited by 78
- 2025REAL: Benchmarking Autonomous Agents on Deterministic Simulations of Real Websitescited by 45
- 2025ScaleMCP: Dynamic and Auto-Synchronizing Model Context Protocol Tools for LLM Agentscited by 36
- 2025WebSight: A Vision-First Architecture for Robust Web Agentscited by 8
- 2025Beyond Pixels: Exploring DOM Downsampling for LLM-Based Web Agentscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Parallelizing Tool Execution and LLM Generation for Low-Latency Agent Serving
- 2026Agentic Compilation: Mitigating the LLM Rerun Crisis for Minimized-Inference-Cost Web Automation
- 2026PeakBench: Benchmarking Resource-Aware Tool Invocation in LLM Agents
- 2025Budget-Aware Tool Use Enables Effective Agent Scaling
- 2026AsyncTool: Evaluating the Asynchronous Function Calling Capability under Multi-Task Scenarios
- 2026From Agent Loops to Structured Graphs:A Scheduler-Theoretic Framework for LLM Agent Execution
- 2026Verifying Coordination in Parallel Coding Agents: NP-Bench and a Scheduling Planner
- 2026Utility-Guided Agent Orchestration for Efficient LLM Tool Use