On December 2, the Allen Institute for AI released something the web-agent world has been waiting for: a visual web agent you can actually run, inspect, and retrain yourself. MolmoWeb 2 is a family of open-weight models — 4B, 9B, and 27B parameters — that operate a browser the way a person does: look at a screenshot, think about what to do next, click, type, or scroll, and repeat until the task is done. The weights are Apache 2.0. So are the training data, the training code, the data-generation pipeline, and the evaluation harness. Nothing about how the agent was built is hidden.

The numbers are the reason this release landed hard. Ai2's 27B model scores 94.2% on WebVoyager and 75.3% on Online-Mind2Web, and perfectly completes 46.0% of the long, multi-website tasks on Odysseys — ahead of Claude Opus 4.6's reported 44.5% on that measure, and ahead of GLM-5.3-Flash on Online-Mind2Web. The 4B model, small enough to run on a single consumer GPU, scores 89.1% on WebVoyager. One caveat runs through all of this, and Ai2 says so itself: live websites change, and the Online-Mind2Web scores are graded by GPT-6 Luna, a closed OpenAI model that also supplied the training reward. Treat the leaderboard as a signal, not a verdict — and then go run the agent yourself, which is what this tutorial is for.

By the end you will have MolmoWeb 2 served on your own GPU, run your own task through Ai2's official benchmark harness, understood the 100-line loop at the heart of the agent, and driven it from your own Chrome window with the side-panel extension. Every command below was taken from Ai2's repository and model card, and every line of the agent loop in step 4 was executed in a sandbox against a real Chromium browser.

What you'll need#

  • A GPU machine. The 4B model needs 16–24 GB of GPU memory, the 9B needs 32 GB, the 27B needs 80 GB across two GPUs. A single RTX 3090 (24 GB) runs the 4B; a single H100 runs the 9B. No GPU? Try Ai2's public demo at molmoweb.allen.ai first, and come back when you have one — the weights are not going anywhere.
  • Python 3.10 to 3.12 on that machine, plus uv (Ai2's dependency manager of choice) and about 50 GB of free disk for the 4B model, 100 GB for the 9B, 200 GB for the 27B.
  • An OpenAI API key — only if you want scored results. Running the agent needs no key at all. The judges that score benchmark runs do; the WebVoyager judge and the WebJudge behind Online-Mind2Web both call OpenAI models.
  • About an hour. Most of that is the model download and the first vLLM startup; the commands themselves take minutes.
  • No accounts, no subscriptions. The weights, the code, and the data are all public. Nothing in this tutorial phones home except the model download itself.

The 60-second background#

A visual web agent is a model with hands. A chatbot answers questions about the web; MolmoWeb 2 operates the web. Each turn it receives three things: your task in plain language, the last 30 actions it took as text, and one screenshot of the current page. It replies with a short thought and exactly one tool call — computer_use — naming an action like left_click with a coordinate on a 0–1000 grid, or type with a string, or visit_url with an address. A harness executes that action in a real browser, takes a fresh screenshot, and the loop repeats, up to 100 steps. When the task is done, the model calls terminate with its answer.

MolmoWeb 2 is built on Alibaba's Qwen3.5 family and trained in three stages. Stage 1 of supervised fine-tuning ran 26,000 steps on web-browsing trajectories, grounding examples (pointing at the right element), and screenshot question-answering. Stage 2 ran one epoch on harder, longer trajectories plus 4,000 one-step refusal examples — the safety training, which turns out to matter more than its size suggests. Then came the new part: online reinforcement learning (GRPO) on live websites, where the agent attempted real tasks and was rewarded by a model judge for completing them. That last stage is where most of the gains came from. On Online-Mind2Web, the 27B model went from 64.8% after supervised training to 75.3% after RL; on Odysseys, perfectly completed tasks rose from 37.8% to 46.0%.

Diagram of the MolmoWeb 2 training pipeline: supervised fine-tuning stage 1, supervised fine-tuning stage 2 with a shield, reinforcement learning on live websites, resulting in MolmoWeb 2
How MolmoWeb 2 was trained: two stages of supervised fine-tuning, then reinforcement learning on live websites. The shield in stage 2 is the refusal training — 4,000 examples that teach the agent when not to act. Diagram: AI Frontier Post.

The training data is public too. MolmoWebMix 2 holds about 34,000 browsing trajectories, plus 71,000 grounding examples and 71,000 screenshot question-answering examples. That is the whole point of the release: Ai2 is not just handing you a model, it is handing you the recipe, so you can retrain the agent for your own websites and workflows. The sft/ and rl/ folders in the repo reproduce both halves of the training.

Here are the headline numbers, all Ai2's own, measured with the Browser Use environment, a 1280×720 viewport, 100 steps, and sampling at temperature 0.7, top_p 0.8. Each benchmark is run once and judged three times; the table reports the average.

ModelWebVoyagerOnline-Mind2WebDeepShopOdysseys (perfect)
MolmoWeb2-4B (RL)89.160.362.430.5
MolmoWeb2-9B (RL)88.566.865.838.5
MolmoWeb2-27B (RL)94.275.368.446.0
GLM-5.3-Flash (for comparison)95.470.769.139.2
Claude Opus 4.6 (for comparison)—65.8—44.5

The pattern worth noticing is the size ladder: the 4B model already clears 89% on WebVoyager's everyday tasks, and the gaps between sizes show up on the harder, multi-website benchmarks. That is why the size choice in step 2 matters more than it first looks — the 4B is fine for single-site lookups, and the 27B earns its keep on tasks that cross websites. Also note what the table does not show: every one of these scores was graded by an LLM judge, and the Online-Mind2Web judge is GPT-6 Luna, a closed model. Ai2's own guidance is to compare runs made at the same time, never against a number from months ago, because live websites drift. Keep that in mind when you run the benchmarks yourself in step 3.

1. Install the harness#

Everything in this tutorial runs from one repository, allenai/molmoweb. Clone it on the machine that will do the work — the harness and the browser run on your laptop or a small CPU box, while the model itself needs the GPU machine from the previous section. They can be the same machine.

# Install uv if you don't have it
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone and install
git clone https://github.com/allenai/molmoweb.git
cd molmoweb
uv venv --python ">=3.10,<3.13"
uv sync

# Install Playwright browsers (needed for local browser control)
uv run playwright install --with-deps chromium

Two version pins matter and Ai2 is explicit about them: serve the model with vLLM 0.19.1 and transformers 5.18.0. Newer transformers releases (5.25 is named in the README) fail to start the server. vLLM is installed separately from the harness, in its own virtual environment, because it pins different versions than the harness does:

uv venv vllm-env --python 3.12
uv pip install --python vllm-env/bin/python "vllm==0.19.1" "transformers==5.18.0"

If the harness will judge results, set the API keys it needs. Running the agent needs none of these; judging does.

# OpenAI (judges: WebVoyager, WebJudge, Universal Verifier)
export OPENAI_API_KEY="your-openai-api-key"

The repo also documents keys for Browserbase and Browser Use Cloud (only if you run the agent in hosted browsers instead of local Chromium), Google Gemini (Gemini-based agents and judges), and Anthropic (the Opus baseline agent). You need none of them for this tutorial.

2. Serve the model with vLLM#

MolmoWeb 2 is a standard Qwen3.5 checkpoint, so it serves directly with vLLM through an OpenAI-compatible endpoint. Pick a size first — this is the one decision that determines your hardware bill:

ModelBF16 weightsGPU memoryDisk spaceWhat it runs on
allenai/molmoweb2_4B9.1 GB16–24 GB~50 GB1 × RTX 3090 / 4090
allenai/molmoweb2_9B18.8 GB32 GB~100 GB1 × H100
allenai/molmoweb2_27B54.7 GB80 GB~200 GB2 × H100

The 9B is the default recommendation in this tutorial: it is the size Ai2's own quick-start uses, and at 66.8% on Online-Mind2Web it is close enough to the 27B for most real tasks while fitting on one GPU. Serve it:

vllm serve allenai/molmoweb2_9B --port 8005 --max-model-len 65536

For the 4B, swap in allenai/molmoweb2_4B. For the 27B, add --tensor-parallel-size 2 on two 80 GB GPUs. Two gotchas from the README, both worth knowing before you debug them: first, do not pass --chat-template — vLLM picks up the chat template shipped in the model repo, which is the one the model was trained with, and a different template produces valid-looking output that silently scores lower. Second, if the machine has no CUDA compiler (nvcc), add --gdn-prefill-backend triton: the default kernel for Qwen3.5's linear-attention layers is compiled on the first request, and the server stops responding if it cannot be compiled.

The first startup downloads the weights from Hugging Face (18.8 GB for the 9B) and takes several minutes. When it is ready you will see the server listening on port 8005. Confirm it answers before moving on:

curl http://localhost:8005/v1/models
{"object":"list","data":[{"id":"allenai/molmoweb2_9B","object":"model", ...}]}

If the model id is not there, the server is still loading — wait and retry. Everything from here on talks to this endpoint.

3. Run your first task — through the official harness#

The fastest way to see the agent work is Ai2's own benchmark runner. It handles the browser, the episode loop, and the logging; you supply a task. Your own tasks go in a plain JSON file with the same shape as the repo's example, benchmarks/jsons/custom_example.json:

[
  {
    "id": "best_rapid_player",
    "prompt": "On lichess.org, find who is currently the highest rated rapid player. Report their username and rating.",
    "task_type": "demo"
  }
]

That example is real — it ships in the repo — and it is a good first task because it needs no login, the answer is a single verifiable fact, and the site is fast. Save your own file the same way, one object per task, each with an id, a prompt, and a task_type. If you leave out start_url, the browser starts at a blank page and the agent navigates itself. Then run it:

uv run python -m benchmarks.benchmarks run \
    --benchmark custom \
    --data_path my_tasks.json \
    --agent_type molmoweb2 \
    --endpoint_or_checkpoint http://127.0.0.1:8005 \
    --env_type simple \
    --results_dir ./results/my_tasks \
    --num_workers 1

The flags: --benchmark custom loads your JSON file; --agent_type molmoweb2 selects the MolmoWeb 2 agent; --endpoint_or_checkpoint points at the vLLM server from step 2; --env_type simple runs a local Chromium browser (the alternatives, browser_use and browserbase, use hosted browsers and need their API keys). I set --num_workers 1 for a first run so you can watch one task cleanly; the README's example uses 8 for a full benchmark sweep.

Watch the terminal. Each step prints the model's thought and its action, and the browser opens in front of you if you are on a desktop. A good run on the lichess task looks like this: the model navigates to lichess.org, clicks the search box, types a query, opens the players page, reads the rating, and terminates with the username and rating. A run writes one directory per task under --results_dir, containing trajectory.json (every thought, action, and screenshot reference), the screenshots themselves, and an HTML view you can open in a browser to replay the whole attempt.

Then score it. Judging reads those files — it never reruns the agent — and for custom tasks the default judge is the WebVoyager judge:

uv run python -m benchmarks.benchmarks judge \
    --benchmark custom \
    --results_dir ./results/my_tasks \
    --judge_type webvoyager

This is the step that needs the OpenAI key from step 1. The judge reads the trajectory and returns SUCCESS or FAILURE per task. Two things to know before you trust a number: live websites drift, so a task that passed last week can fail this week because the site changed; and a single run on a handful of tasks carries several points of noise — Ai2's own guidance is that a third of failures can pass on a plain retry, and not to trust a single-run delta under about five points. Judge your agent on dozens of tasks, not three.

4. The loop, stripped bare — 100 lines that are the whole agent#

The harness is convenient, but it hides the interesting part. The agent itself is a short loop, and understanding it is the difference between using MolmoWeb 2 and being able to adapt it. Here it is in full — save it as molmoweb2_minimal.py. It mirrors the repo's agent/molmoweb2_vllm.py and the Playwright calls in utils/envs/action_executor.py, with the benchmark machinery removed.

Diagram of the MolmoWeb 2 agent loop: screenshot, think, act, observe, repeating until the task is done
The whole agent is this loop: screenshot, think, act, observe — until the model terminates with an answer or the 100-step budget runs out. Diagram: AI Frontier Post.
"""molmoweb2_minimal.py — a minimal MolmoWeb 2 agent loop.

Mirrors allenai/molmoweb's agent/molmoweb2_vllm.py and the Playwright calls in
utils/envs/action_executor.py, minus the benchmark harness. Requires a vLLM
server (see the tutorial, step 1) and Playwright's Chromium.

Usage:
    python molmoweb2_minimal.py --task "On lichess.org, find who is currently
        the highest rated rapid player. Report their username and rating."
    python molmoweb2_minimal.py --task "..." --endpoint http://gpu-box:8005
"""

import argparse
import base64
import json
import re
import time
from urllib.parse import quote_plus

from openai import OpenAI
from playwright.sync_api import sync_playwright

SYSTEM = "molmoweb"  # the system prompt MolmoWeb 2 was trained with — do not change it
MAX_PAST_STEPS = 30  # the model only ever sees the last 30 steps as text
VIEWPORT = {"width": 1280, "height": 720}  # the viewport it was trained on
TOOL_CALL_RE = re.compile(r"<tool_call>\s*(.*?)\s*</tool_call>", re.DOTALL)
USER_MESSAGE = "Here is the next screenshot. Think about what to do next."


def parse_output(raw):
    """Split a reply into (thought, computer_use arguments); {} if no tool call."""
    match = TOOL_CALL_RE.search(raw)
    thought = raw[: match.start()] if match else raw
    thought = thought.replace("<think>", "").replace("</think>", "").strip()
    if match is None:
        return thought, {}
    try:
        call = json.loads(match.group(1))
    except json.JSONDecodeError:
        return thought, {}
    args = call.get("arguments") if isinstance(call, dict) else None
    return thought, args if isinstance(args, dict) else {}


def to_pixels(coord, width, height):
    """0-1000 model coordinates -> viewport pixels, clamped to the viewport."""
    x = max(0, min(round(coord[0] / 1000 * width), width))
    y = max(0, min(round(coord[1] / 1000 * height), height))
    return x, y


def normalize_url(url):
    if url.startswith(("https://", "http://", "file://", "about:")):
        return url
    if " " in url:
        return f"https://www.bing.com/search?q={quote_plus(url)}&FORM=QBLH"
    return "https://" + url


def execute(page, args, width, height):
    """Run one computer_use call. Returns (observation, done, answer)."""
    action = args.get("action", "")
    if action in ("left_click", "right_click", "double_click", "triple_click"):
        x, y = to_pixels(args["coordinate"], width, height)
        button = "right" if action == "right_click" else "left"
        if action == "double_click":
            page.mouse.dblclick(x, y, button=button)
        elif action == "triple_click":
            page.mouse.click(x, y, button=button, click_count=3)
        else:
            page.mouse.click(x, y, button=button)
        time.sleep(1)
        verb = {"left_click": "clicked", "right_click": "right-clicked",
                "double_click": "double-clicked",
                "triple_click": "triple-clicked"}[action]
        return f"I {verb} at coordinates ({x}, {y}).", False, ""
    if action == "type":
        text = str(args.get("text", ""))
        page.keyboard.type(text)
        return f"I typed '{text}'.", False, ""
    if action == "key":
        keys = args.get("keys")
        keys = [keys] if isinstance(keys, str) else keys
        chord = "+".join(str(k) for k in keys)
        page.keyboard.press(chord)
        time.sleep(1)
        return f"I pressed the following keys: {chord}", False, ""
    if action == "scroll":
        # pixels is positive-up in display space; Playwright wheel is positive-down.
        delta_y = -int(float(args.get("pixels", 0)) * height / 1000)
        page.mouse.wheel(0, delta_y)
        return f"I scrolled {'up' if delta_y < 0 else 'down'}.", False, ""
    if action == "visit_url":
        url = str(args.get("url", ""))
        page.goto(normalize_url(url), wait_until="domcontentloaded", timeout=60000)
        return f"I navigated to {url}.", False, ""
    if action == "history_back":
        page.go_back(timeout=30000)
        return "I clicked the browser back button.", False, ""
    if action == "wait":
        time.sleep(5)
        return "I waited for the page to change.", False, ""
    if action == "terminate":
        return str(args.get("answer", "")), True, str(args.get("answer", ""))
    return f"Unknown action: {action!r}", False, ""


def predict(client, model, messages):
    resp = client.chat.completions.create(
        model=model, messages=messages,
        temperature=0.7, top_p=0.8, max_tokens=4096,
        # Trained with enable_thinking=false: the prompt ends in an empty think block.
        extra_body={"chat_template_kwargs": {"enable_thinking": False}},
    )
    return resp.choices[0].message.content or ""


def build_messages(history, screenshot_b64):
    """Goal pair + last 30 steps; only the newest user turn carries a screenshot."""
    keep_from = len(history) + 1 - 2 * (MAX_PAST_STEPS + 1)
    trimmed = history[:2] + history[keep_from:] if keep_from > 2 else history
    messages = [{"role": "system", "content": SYSTEM}]
    messages += [{"role": m["role"], "content": m["text"]} for m in trimmed[:-1]]
    messages.append({"role": "user", "content": [
        {"type": "image_url",
         "image_url": {"url": f"data:image/png;base64,{screenshot_b64}"}},
        {"type": "text", "text": "\n" + trimmed[-1]["text"]},
    ]})
    return messages


def run(task, endpoint, model_name=None, max_steps=100, headless=True):
    client = OpenAI(base_url=endpoint.rstrip("/") + "/v1", api_key="dummy")
    model = model_name or client.models.list().data[0].id
    print(f"model: {model}  endpoint: {endpoint}")
    history = []  # {"role", "text"} turns; screenshots are never stored here
    with sync_playwright() as p:
        browser = p.chromium.launch(headless=headless)
        page = browser.new_page(viewport=VIEWPORT)
        page.goto("about:blank")
        observation = ""
        for step in range(max_steps):
            if step == 0:
                user_text = task
            else:
                prefix = f"Current URL: {page.url[:100]}\n" if page.url else ""
                user_text = f"{prefix}{observation}\n{USER_MESSAGE}"
            history.append({"role": "user", "text": user_text})
            shot = base64.b64encode(page.screenshot()).decode()
            messages = build_messages(history, shot)
            raw = predict(client, model, messages)
            history.append({"role": "assistant", "text": raw})
            thought, args = parse_output(raw)
            print(f"\n--- step {step + 1} ---\nthought: {thought[:200]}")
            if not args:
                print("no tool call in reply; stopping.")
                break
            print(f"action: {args}")
            observation, done, answer = execute(page, args,
                                                VIEWPORT["width"], VIEWPORT["height"])
            if done:
                print(f"\nANSWER: {answer}")
                return answer
        print("step budget exhausted without an answer.")
        return None


if __name__ == "__main__":
    ap = argparse.ArgumentParser()
    ap.add_argument("--task", required=True)
    ap.add_argument("--endpoint", default="http://localhost:8005")
    ap.add_argument("--model", default=None)
    ap.add_argument("--max-steps", type=int, default=100)
    ap.add_argument("--headed", action="store_true",
                    help="show the browser window instead of running headless")
    a = ap.parse_args()
    run(a.task, a.endpoint, a.model, a.max_steps, headless=not a.headed)

Run it against the server from step 2:

pip install openai playwright
playwright install chromium
python molmoweb2_minimal.py --task "On lichess.org, find who is currently the highest rated rapid player. Report their username and rating."

Add --headed to watch the browser window instead of running headless, or --endpoint http://gpu-box:8005 when the model lives on another machine. Five rules in that script are load-bearing, and all five come straight from how the model was trained:

  • The system prompt is one word: molmoweb. Listing the actions in the prompt did not help after fine-tuning and only made every sequence longer. Do not "improve" it — changing the system message changes what the model sees and lowers scores.
  • Only the newest turn carries a screenshot. Past turns are text only: the task, then the last 30 steps. Sending old screenshots as well never helped in Ai2's ablations and burns context.
  • History is capped at 30 steps. The goal pair plus the last 30 steps is exactly the context the model was trained on. Older steps are dropped, not summarized.
  • Clicks are in 0–1000 coordinates. The model outputs a point in Qwen's native coordinate space; the script converts it to viewport pixels (x / 1000 × width) and clamps it to the viewport. Do not convert to the 0–100 scale of the original MolmoWeb 1, and do not pass pixels to the model.
  • Sample, don't decode greedily. Temperature 0.7, top_p 0.8, and enable_thinking=false are the settings the model was trained and evaluated with. Greedy decoding costs several points on the benchmarks.

One more detail worth noticing: the script never sends tool definitions. The model was trained with a fixed action space, so the computer_use call arrives unprompted — the model just emits it. And when the reply contains no parseable tool call, the loop stops rather than guessing. That is the right failure mode for a program that clicks things in a real browser.

5. Drive it from your own Chrome#

If you want the agent in the browser you already use — your bookmarks, your logged-in sessions, your tabs — Ai2 ships a Chrome extension in the same repo. It runs MolmoWeb 2 in a side panel next to the page you are looking at: type a task, press Run, and watch it click, type, and scroll in your own tab, showing its reasoning and each action with the clicked spot marked on the screenshot.

First start the extension's agent server, pointing it at the vLLM server from step 2. Note the default: the server expects vLLM on port 8000 unless you say otherwise, so pass --vllm explicitly when you served on 8005:

uv run python extension/server/agent_server.py --vllm http://localhost:8005

The agent server listens on port 8001 by default. If the model is on a remote GPU machine, forward that port over SSH and the extension will reach it on your laptop as http://localhost:8001:

ssh -N -L 8001:localhost:8001 you@your-gpu-machine

Then load the extension by hand — it is not in the Chrome Web Store. In Chrome, go to chrome://extensions, turn on Developer mode, click Load unpacked, and select the extension folder inside the cloned repo. Pin MolmoWeb from the puzzle-piece menu so it is easy to find.

Using it: click the MolmoWeb icon and accept Ai2's Terms of Use once. Open the Agent server section, check the address, and click Test connection — it should say Reachable. Set the window size to 1280×720 when the bar under the settings turns pink; clicks land more accurately when the size matches the viewport the model was trained on. Go to a website from the allowed list (about 550 common sites: shopping, news, travel, recipes, reference), describe the task, and press Run. While it runs, Stop halts it immediately, Continue resumes a stopped run, and clicking any step expands it to show the reasoning, the exact action, and the screenshot. Chrome shows a banner saying "MolmoWeb started debugging this browser" — that is expected; the extension drives the page through Chrome's debugging interface so sites treat the actions like real ones.

Two limits of the extension, both deliberate. It only visits sites on an allowlist in extension/allowed_sites.txt — a task on any other site will not run, and if the model tries to navigate somewhere not on the list, the task stops before the page loads. And a run ends after 100 steps by default. Both are safety rails, not bugs: this is a program that clicks things in your browser, and the allowlist is what keeps it from wandering somewhere you did not intend.

Which approach should you use?#

Benchmark harness (step 3)Minimal loop (step 4)Chrome extension (step 5)
Best forScoring the agent, running many tasks, comparing sizesUnderstanding and adapting the agent; embedding it in your own systemDoing real tasks in your own browser, by hand
BrowserLocal Chromium, or hosted (Browser Use / Browserbase)Local Chromium via PlaywrightYour own Chrome, side panel
ScoringBuilt in (judges, trajectories, HTML replay)None — you read the terminalNone — you watch it work
NeedsOpenAI key for judgingNothing beyond the modelNothing beyond the model

For the model size, the choice is simpler than the table suggests. Start with the 4B if you are on a single consumer GPU: it already scores 89.1% on WebVoyager, and it is the fastest way to learn the loop. Move to the 9B when your tasks cross websites or need the better grounding — 66.8% on Online-Mind2Web against the 4B's 60.3%. Reserve the 27B for the cases where the score matters more than the hardware bill: long, multi-website workflows, where its 46.0% perfect completion on Odysseys is the best open number Ai2 reports. And if you are adapting the model rather than just running it, use the stage 2 SFT checkpoints as your starting point — that is what they were released for. The final RL models are the ones to run as agents.

Safety and honest limits#

A web agent that can click is a web agent that can do damage, and Ai2 built the release around that fact. Read this section before you hand it a task on a site you care about.

  • Run it in a sandboxed browser you are watching. The model card says so directly. Do not give it credentials or payment details, and do not run it on accounts that hold money or personal data. Login and payment flows were not a training focus.
  • Know what the refusal training does — and does not do. Stage 2 added 4,000 one-step refusal examples, and the 27B model's refusal rate on harmful requests rose from 61.9% to 95.5% — and stayed there through RL. The 9B refuses 88.9% of those tasks. That is a strong result for 4,000 examples, and it is not 100%. The model does not refuse every harmful request; no red teaming was done beyond the safety benchmarks.
  • Single instructions only. The model was trained on one instruction per episode, with no follow-up input from the user. It cannot hold a conversation about a task, and it has a fixed action space — it does not read new tool definitions from the prompt, and it was not trained on desktop apps or terminals.
  • Multi-step errors compound. Each action depends on the last screenshot, so one misclick can send the next ten steps down the wrong path. The 100-step budget is a ceiling, not a guarantee: long tasks fail more often than short ones, and the same task can pass or fail between runs as the live web changes underneath it.
  • Scores are judge-dependent. The headline numbers were graded by GPT-6 Luna, a closed model that also supplied the training reward. Ai2's technical report is candid about this, and its own guidance is that different judging methods produce different results. When you evaluate, use the same judge for every comparison, and re-run baselines at the same time as your own model.

The takeaway#

The most capable web agents used to be the ones you could not inspect. MolmoWeb 2 reverses that: the 27B model beats a frontier proprietary model on two public benchmarks, and every step of how it got there — the 34,000 trajectories, the two SFT stages, the GRPO loop on live websites, the refusal examples — is published alongside it. The practical consequence is that a visual web agent is now a component you can own: serve it on your own GPU for the price of electricity, point it at your own tasks, and when it is not good enough at your website, the training code to fix that is in the same repository.

Start with the 9B, the harness, and the lichess task. Watch one run all the way through before you automate anything. Then read the 100-line loop in step 4 until you could rewrite it from memory — that loop, not the benchmark table, is the thing you will actually build on.

How this was verified#

Every fact in this tutorial comes from Ai2's announcement (December 2, 2026), the allenai/molmoweb2_9B model card, and the allenai/molmoweb repository (commit 9c1b1c0), all read on December 3, 2026. Model facts, prices (there are none — the software is free), sizes, commands, and benchmark scores were checked against those sources, not against secondary coverage. In the sandbox, the repo's own parse_output and build_action functions were run against the model card's example reply — the click at [367.2, 79.2] converts to pixel (470, 57) on a 1280×720 viewport, exactly as the code specifies — including malformed replies and unknown actions. The minimal loop in step 4 was then executed end to end against a real Chromium browser with a stubbed model: visit, click, type, Enter, terminate, with the answer returned, and the typed text and the revealed results verified in the live page. The live model calls were not run — they need a GPU, and the sandbox has none — and the 27B deployment was not run either. Where the tutorial quotes an output you will see (the /v1/models response), it is the standard OpenAI-compatible shape vLLM serves.

Sources#