Studies visual reference incorporation in agentic webpage generation and critiques idealized existing benchmarks that focus on reconstruction rather than practical productivity tasks.
RefCraft is a benchmark introduced in October 2026 that evaluates visual-reference-conditioned agentic generation by requiring AI agents to build webpages using natural-language instructions combined with screenshots from one to five reference webpages. Unlike previous benchmarks that focus on exact reconstruction, RefCraft tests the practical workflow of selectively borrowing design elements, such as adopting a color palette from one site and a layout from another, while ignoring others.
The benchmark consists of 300 realistic multimodal tasks spanning eight application domains and uses a dual-track evaluation protocol combining programmatic judges for deterministic checks and Vision-Language Model (VLM) judges for perceptual requirements. Agents operate in an inspect-and-iterate loop, rendering intermediate outputs to visually inspect and refine their code before final submission.
Performance on RefCraft remains a significant challenge for current models; the best-performing system, GPT-6 Astra, achieved an overall score of only 52.12 out of 100. Ablation studies showed that removing visual references caused performance to drop drastically (e.g., GPT-6 Astra fell from 52.1 to 17.3), confirming that selective interpretation of visual references is a critical capability that models cannot derive from text instructions or priors alone.
RefCraft introduces a benchmark for evaluating how visual references are used in agentic web-development workflows. Rather than treating webpage generation as a narrow image-to-code or screenshot-reconstruction problem, it frames the task around more realistic productivity settings: an agent receives visual references such as mockups, screenshots, design snippets, or partially built pages, and must produce functional, editable web artifacts that satisfy both visual and structural requirements. The paper argues that many existing benchmarks are overly idealized because they emphasize pixel-level or layout-level fidelity while underweighting the kinds of constraints that matter in actual web development, such as semantic markup, responsiveness, maintainability, component reuse, and task completion.
A key contribution is the shift from measuring “did the model copy the reference?” to measuring “did the model incorporate the reference into a useful web artifact?” RefCraft therefore evaluates visual-reference-conditioned agentic generation through tasks that require interpretation, adaptation, and code-level implementation, not just visual similarity. This distinction is important because a model can produce a visually plausible page while generating brittle, inaccessible, non-responsive, or poorly structured code—or, conversely, it can produce high-quality code that fails to honor the intended design intent. By separating reference incorporation from mere reconstruction, the benchmark provides a more nuanced view of what coding agents actually understand about design assets and product requirements.
The work matters because it addresses a growing gap in evaluation for agentic coding systems, which are increasingly expected to operate directly on design materials and produce production-oriented artifacts. As LLM-based agents move from chat-style code generation toward workflows that combine browsing, editing, debugging, and design interpretation, benchmarks need to reflect real developer and designer workflows rather than isolated reconstruction tasks. RefCraft offers a useful starting point for assessing whether visual references function as actionable conditioning signals for agentic web generation, and it highlights limitations in current systems when visual fidelity is prioritized over practical, maintainable, and task-aligned implementation.