WALT: Web Agents that Learn Tools

Viraj Prabhu, Yutong Dai, Matthew Fernandez, Krithika Ramakrishnan, Jing Gu, Yanqi Luo, silvio savarese, Caiming Xiong, Junnan Li, Zeyuan Chen, Ran Xu

TL;DR

WALT (Web Agents that Learn Tools) shifts browser automation from fragile, step-by-step UI clicking to a robust "tool-based" abstraction. By reverse-engineering website functionality—like search bars and filters—into deterministic, reusable API-like calls, WALT achieves state-of-the-art performance on major benchmarks while requiring significantly fewer steps and less LLM reasoning.

What Problem Does This Paper Address?

Current web agents are notoriously brittle. Most operate by reasoning through every single low-level interaction: "Find the search box, click it, type the query, find the 'Go' button, click it." This approach frequently breaks due to dynamic layouts, slow loading times, or minor UI changes. Furthermore, requiring a Large Language Model (LLM) to reason about every primitive click is computationally expensive and prone to "hallucinating" interactions that don't exist.

The authors observe that humans don't think in clicks; we think in functionality. We recognize that a website has a "search" function or a "filter by price" feature. The gap WALT addresses is the lack of a high-level "API layer" for the web that agents can use to interact with sites reliably and efficiently.

Comparison of step-by-step UI interaction versus WALT's tool-based URL promotion.

Methods

WALT introduces a framework that discovers and "wraps" latent website functionality into invocable tools. It follows a two-stage process:

  1. Strategic Discovery: A browser agent explores a website to identify reusable patterns (e.g., search, content creation, social interactions). It proposes "tool candidates" based on user intent.
  2. Multi-level Exploitation (The Loop): For each candidate, WALT enters a demonstrate-generate-optimize-test loop:
  3. Demonstration: An agent records a detailed execution trace of the functionality.
  4. Generation: A specialized "tool builder" agent synthesizes a structured tool, including an input schema (like JSON) and an action script.
  5. Optimization (The "Aha!" Moment): WALT attempts to replace multi-step UI sequences with URL promotion. For example, instead of clicking five filters, it reverse-engineers the URL parameters (e.g., ?price_min=10&sort=new) to reach the result in a single navigation step.
  6. Validation: A test agent verifies the tool against various inputs. If it fails, the tool is refined until it is robust.

At runtime, the agent simply calls these tools (e.g., search(query='kayak')) instead of navigating the UI manually. If a tool fails, a "targeted agentic fallback" kicks in to handle the specific failure.

Datasets

The researchers evaluated WALT on three major benchmarks:

  • WebArena: A realistic web simulation environment with 812 complex tasks.
  • VisualWebArena: An extension of WebArena focusing on 910 visually-grounded tasks (e.g., "find the item in this image").
  • Online-Mind2Web: A challenging benchmark involving 139 live, real-world websites, testing the agent's ability to generalize to the actual internet.

Key Insights and Ideas

  • Websites are Latent APIs: Site designers have already engineered robust automations (search, sort, filter). WALT's core insight is that agents should uncover these existing designs rather than trying to invent their own "skills" from scratch.
  • URL Promotion is Key to Robustness: Moving from DOM-based interactions (which change) to URL-based interactions (which are often more stable) drastically increases reliability and speed.
  • Abstraction Reduces Cognitive Load: By shifting the burden from "how to click" to "which tool to call," the agent can focus on high-level planning. This leads to a "virtuous cycle" where better tools lead to better planning, and vice versa.
  • Economic Viability: The authors provide a cost analysis showing that while tool discovery has an upfront cost (approx. $1.67 per tool), the "break-even" point compared to standard LLM inference occurs after only ~14 uses.

Key Results

  • State-of-the-Art Performance: WALT achieved success rates of 52.9% on VisualWebArena and 50.1% on WebArena, outperforming previous methods and even specialized models like Claude's Computer-Use agent.
  • Real-World Success: On the live Online-Mind2Web benchmark, WALT discovered 252 tools and improved success rates by 20.5% over tool-free baselines.
  • Efficiency Gains: WALT required 1.3x to 1.4x fewer steps on average to complete tasks compared to traditional step-by-step agents.
  • Robustness: In ablation studies, the combination of discovered tools and URL optimization provided a 10-30% boost in success rates across different website categories.
Performance comparison of WALT against state-of-the-art baselines, demonstrating higher success rates and fewer steps.

Limitations and Future Work

  • Offline Discovery Cost: The current version requires an "exploration phase" to learn tools before they can be used, which incurs an initial time and compute cost.
  • Anti-Automation Barriers: Highly dynamic interfaces, CAPTCHAs, and aggressive bot detection can still hinder the discovery and optimization process.
  • Schema Drift: If a website undergoes a major redesign, the learned tools may break, requiring a "re-learning" or "patching" phase.
  • Future Directions: The authors suggest "online tool patching" to handle UI drift in real-time and exploring "cross-site generalization," where a tool learned on one e-commerce site might help bootstrap a tool for another.

Summary updated

BibTeX
@inproceedings{prabhu2026walt,
  author = {Viraj Prabhu and Yutong Dai and Matthew Fernandez and Krithika Ramakrishnan and Jing Gu and Yanqi Luo and silvio savarese and Caiming Xiong and Junnan Li and Zeyuan Chen and Ran Xu},
  title = {{WALT: Web Agents that Learn Tools}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=cgIDqcJcoI},
}
Figure