MolmoWeb 2 uses reinforcement learning to advance web agents
Allen Institute for AI released MolmoWeb 2, a family of visual web agents that use reinforcement learning to master complex, long-horizon browsing tasks.
Source: Hugging Face BlogAllen Institute for AI (Ai2) has introduced MolmoWeb 2, a new family of visual web agents designed to navigate the internet by interacting with pages much like a human does. This release marks a significant step in making web agents more capable of handling long-horizon tasks, such as comparing restaurant prices across different sites or researching open-source software repositories.
By releasing model weights and training data for three different sizes—ranging from a 4B parameter model to a 27B parameter model—Ai2 is providing a foundation for developers to build specialized agents for specific workflows. According to the Hugging Face Blog, the primary innovation lies in the use of reinforcement learning (RL) to allow these agents to learn from their own experiences on live websites.
How does reinforcement learning improve web agents?
Completing complex web tasks often requires dozens of sequential actions, such as searching, clicking, and scrolling. Every additional step introduces a higher probability of error. While many agents rely on supervised fine-tuning (SFT) to imitate human demonstrations, MolmoWeb 2 uses RL to go beyond simple imitation.
In the MolmoWeb 2 training process, the agent attempts tasks on live websites and receives feedback from a model judge regarding its success. To optimize this, Ai2 implemented an asynchronous RL setup, which allows the model to learn from completed attempts while other browser sessions are still active. This approach reportedly makes each training step approximately three times faster than synchronous methods. Furthermore, instead of making a separate LLM call for every single screenshot, the judge evaluates the entire browsing attempt in one call, increasing efficiency.
According to the technical report, this RL stage led to measurable gains. For the 27B model, task success on the Online-Mind2Web benchmark rose from 64.8% after SFT to 75.3% after the addition of RL. On the Odysseys benchmark, which tests more complex workflows, the rate of perfect task completion increased from 37.8% to 46.0%.
What are the capabilities of MolmoWeb 2?
MolmoWeb 2 is designed to work with the same visual controls and layouts that humans use. This allows it to perform multi-website workflows, such as gathering information from one site and combining it with data from another to satisfy a user's specific requirements.
To prepare the models for these tasks, Ai2 created the MolmoWebMix 2 dataset. This dataset contains approximately 34,000 browsing trajectories and includes several key improvements over previous versions: it covers more websites to expose the model to unfamiliar interfaces, features more challenging tasks, includes multi-website workflows, and incorporates safety examples.
In terms of raw performance, the 27B model is highly competitive. According to the Hugging Face Blog, it outperforms many prior open-recipe web agents and even exceeds the performance of some proprietary models on specific benchmarks. For instance, its 46.0% perfect completion rate on Odysseys is higher than the reported 44.5% for Claude Opus 4.6. On the WebVoyager benchmark, the 27B model achieved a score of 94.2%, trailing only slightly behind GLM-5.3-Flash at 95.4%.
How does the model handle safety and refusals?
As agents gain the ability to act independently on the web, the risk of them being used for harmful purposes increases. Ai2 focused on teaching MolmoWeb 2 when to refuse a request, such as those involving fraud or the spread of misinformation.
Research shows that even a relatively small amount of safety-specific training can have a massive impact. According to the source, adding just 4,000 one-step refusal examples during supervised training caused the 27B model's refusal rate on the WebTailBench-Refusals benchmark to jump from 61.9% to 95.5%. Interestingly, this high refusal rate persisted even after the RL stage, which rewarded task completion rather than explicit safe behavior. This suggests that safety training can create a robust baseline that remains effective even when the model is optimizing for other goals.
What does this mean for developers and researchers?
Because many of the most advanced web agents are proprietary, researchers often struggle to understand their underlying mechanics or adapt them to new needs. MolmoWeb 2 aims to bridge this gap by providing an open recipe for building agents.
Ai2 has released the model weights, training data, technical report, data generation pipeline, training code, and the evaluation harness. This allows developers to take the existing models and fine-tune them for specific domains, such as e-commerce, academic research, or specialized administrative workflows. This openness allows for a more transparent understanding of how visual agents learn and adapt to the ever-changing landscape of the live web.
How can you apply these concepts in Grafy?
While MolmoWeb 2 is a research-oriented release for developers to build their own tools, the concept of a visual agent that can navigate the web to complete tasks is a core part of the modern AI landscape. If you are looking to use a browsing agent to perform web-based tasks right now, you can try Operator, Grafy's browsing agent designed to handle web tasks for you.
For those interested in analyzing the research behind these developments, you can use Reader to upload the MolmoWeb 2 technical report and ask specific questions about its architecture or training metrics.
Frequently asked questions
What models are included in the MolmoWeb 2 family?
Ai2 has released three different sizes of the MolmoWeb 2 model. These range from a compact 4B parameter model designed for efficiency to a more capable 27B parameter model that is optimized for high performance on complex, long-horizon browsing tasks.
How much faster is the asynchronous RL setup?
The asynchronous reinforcement learning setup makes the training process approximately three times faster than using a synchronous approach. This efficiency is achieved by allowing the model to begin learning from completed browsing attempts while other browser sessions are still actively running.
What was the impact of adding refusal examples to the training?
Adding 4,000 one-step refusal examples during the supervised training stage significantly increased the refusal rate for harmful requests. Specifically, the refusal rate for the 27B model on the WebTailBench-Refusals benchmark rose from 61.9% to 95.5%.


