← All papers  /  Oct 16, 2026
Agents · Reinforcement Learning

WebCoder: Scaling General Frontend Development with Artifact-Grounded Agentic Reinforcement Learning

First page
WebCoder: Scaling General Frontend Development with Artifact-Grounded Agentic Reinforcement Learning
The curator’s take

Zijun Dou, Zhen Yang, Aohan Zeng, Jie Tang and colleagues (Tsinghua University, Zhipu AI) train WebCoder, a general frontend development agent, with artifact-grounded agentic RL that scores every development activity by its effect on a shared executable application.

Ask this paper

Key points
01

Environment. Webdev-World integrates code editing, application execution, browser inspection and on-demand skills, and preserves project state across interactions so reproduction, generation, modification and repair can be composed.

02

Rewards. An independent verifier checks the final application against the task requirements for the terminal reward. Changes in intermediate artifact progress redistribute the rollout advantage across development segments.

03

Long trajectories. Context compaction and message-tree sample construction allow training on trajectories longer than one context window without repeating loss computation on shared history.

04

Results. On the new Webdev-Bench, WebCoder-27B raises requirement satisfaction from 64.8 for its Qwen3.8-27B base to 72.8, above Claude-Opus-4.8 (65.1) and GPT-5.4 (59.6). On Vision2Web the average visual and functional score goes from 41.1 to 62.4, on par with Claude-Opus-4.8.

05

Ablations. Removing artifact-grounded credit assignment or long-horizon training lowers results, confirming both contribute.

Abstract

Real-world frontend development requires agents to compose reproduction, generation, modification, and repair over an evolving application state. Learning a general policy for this process requires translating heterogeneous execution feedback into task-aligned rewards and effective credit assignment across long sequences of interdependent actions. We introduce WebCoder, a general frontend development agent trained with artifact-grounded agentic reinforcement learning. Our key idea is to assess diverse development activities through their effects on a shared executable artifact and its satisfaction of task requirements. We build Webdev-World, an executable environment that integrates code editing, application execution, browser inspection, and on-demand skills while preserving project state across interactions. An independent verifier evaluates the final application against task requirements to provide terminal rewards, while changes in intermediate artifact progress redistribute the resulting rollout advantage across development segments. Context compaction and message-tree sample construction support training on trajectories beyond a single context window while avoiding repeated loss computation on shared generated history. We further introduce Webdev-Bench to evaluate composed development requirements within a single project. On Webdev-Bench, WebCoder-27B raises requirement satisfaction from 64.8 for its Qwen3.8-27B base model to 72.8, exceeding Claude-Opus-4.8 (65.1) and GPT-5.4 (59.6); on Vision2Web, it improves the average visual and functional score from 41.1 to 62.4, on par with Claude-Opus-4.8. Ablation studies confirm the contributions of artifact-grounded credit assignment and long-horizon training.

Every Monday
Get next week’s papers.
Subscribe on Substack