WebVoyager: The Era of End-to-End Online Web Agency
He, S., et al. (2024). WebVoyager: Building an End-to-End Web Agent with Large Multimodal Models. arXiv preprint arXiv:2401.13919.

The WebVoyager research represents a transition from agents that operate on static datasets or local simulators to agents that navigate the live, dynamic "Open Web." While earlier web agents relied heavily on parsing the HTML DOM tree - a process that is notoriously noisy and prone to failure on modern, JavaScript-heavy sites - WebVoyager treats the web as a visual-first medium. By utilizing screenshots as the primary input and implementing a rigorous "Set-of-Mark" (SoM) prompting technique, the system achieves a 59.1% task success rate across 15 popular real-world websites.
Interaction Formulation and Context Clipping
WebVoyager formalizes web interaction as a sequence of state-action transitions: , where is the high-level instruction and is the visual observation at time . A major technical challenge identified in the research is "screenshot fatigue" - the accumulation of high-resolution images within the LLM's context window, which leads to quadratic token growth and decreased reasoning precision. To solve this, WebVoyager implements Context Clipping. The agent retains only the most recent three screenshots as visual context while maintaining the full textual history of thoughts and actions. This "moving window" strategy ensures that the agent remains focused on the immediate task state without sacrificing the long-term goal coherence.
Set-of-Mark (SoM) and Selenium Logic
To bridge the gap between high-level reasoning and low-level execution, WebVoyager uses a Set-of-Mark Javascript tool.
This tool programmatically identifies interactive elements (buttons, inputs, links) and overlays black-bordered numerical labels on the screenshot. The researchers empirically determined that black-bordered labels yielded the highest grounding success rates compared to other colors. This visual annotation allows the LMM (GPT-4V) to select actions via symbolic IDs (e.g., click(5)) rather than predicting raw pixel coordinates.
The execution engine is built on Selenium, allowing the agent to handle real-world web complexities such as floating ads, modal pop-ups, and real-time content updates. The agent follows a strict Thought Action Code sequence, ensuring that every move is preceded by a stated rationale. This decoupling of "seeing" (the annotated screenshot) from "acting" (the Selenium driver) provides a modular blueprint for deploying agents in production environments.
The Automatic Evaluation Protocol (GPT-4V as Judge)
One of the paper's most impactful contributions is the Automatic Evaluation system. Traditional web agent evaluation is manually intensive and non-scalable. The WebVoyager team introduced a protocol where a frontier LMM (GPT-4V) acts as a "virtual judge," reviewing the agent's full trajectory and the final answer to determine success. The judge is provided with the Interaction History (all screenshots) and the final output. It must answer three diagnostic questions:
- Did the agent reach the correct final answer?
- Were the intermediate steps logical and safe?
- Did the agent fail due to environmental noise (e.g., a broken link)?
The judge was found to have an 85.3% agreement rate with human evaluators, proving that we can now automate the "AgentOps" pipeline. For researchers, this highlights that the future of web agency is not just about better navigation, but about building the Verification Infrastructure that allows agents to learn from their own recorded trajectories.
Join the EulerFold community
Track progress and collaborate on roadmaps with students worldwide.
Dive Deeper
WebVoyager Paper on arXiv
arXiv • article
Explore ResourceWebVoyager GitHub Repository
GitHub • code
Explore Resource
Discussion
0Join the discussion
Sign in to share your thoughts and technical insights.
Loading insights...
Recommended Readings
The author of this article utilized generative AI (Google Gemini 3.1 Pro) to assist in part of the drafting and editing process.
