Skip to content
matthewcm.dev

    ↑ ↓ move · ↵ open · tab scopeopen graph →

    Multimodal Web Agents

    An agent that only reads HTML never sees the final render. Multimodal web agents like WebVoyager read screenshots like a person does, which unlocks real browsing and introduces the grounding problem.

    Seedtended planted 1 min read

    🌱 A rough idea, planted recently. Expect rough edges — it will grow.

    On this page

    WebVoyager (He et al., 2024) is a web agent that completes tasks end to end on live websites by mimicking how people use them: clicking, typing into forms, and deciding what to do next from what it sees. “Find the cheapest flight from New York to London next Tuesday” is the kind of task it’s built for.

    Why HTML alone isn’t enough

    Earlier web agents read the page’s HTML. That has three problems:

    • Verbose and noisy. Real pages are enormous, full of styling and scripts: thousands of tokens of mostly irrelevant markup.
    • No visual context. Layout, images and visual emphasis carry meaning that’s lost in raw markup.
    • Blind to the final render. The agent never sees what the user sees, including whatever the CSS and JavaScript did.

    Large multimodal models

    Large multimodal models (GPT-4V at the time) let the agent take screenshots and reason about visual cues, layout and context, which is much closer to how people browse.

    The new hard problem is grounding: mapping “click the blue Book button”, which the model understands in pixels, back to an element the browser can actually act on.

    Where I’d use it

    As a front-end engineer, the obvious home is testing: fully automated QA, end-to-end tests written as intent (“book a table for two tomorrow”) rather than selectors, and dry runs through a whole product before release. That doesn’t replace deterministic suites like Playwright; it adds a layer that notices when the page looks wrong even though the DOM is fine. It’s another case for the design questions in Agentic System Design Checklist, especially guardrails on anything the agent can submit.

    • #ai-agents
    • #multimodal
    • #web-agents
    • #grounding
    • #e2e-testing
    • #papers

    Nothing links here yet — it’s a fresh shoot.

    ↪ Links to (2)