cs.CLOct 19, 2026

RefCraft: Benchmarking Visual-Reference-Conditioned Agentic Generation through Web Development

Authors: Yuchi Wang, Rongyao Fang, Weihao Yu, Xilin Wei, Tiancheng Gu, Dingkang Yang, Hang Zhang, Dayiheng Liu, 

Organizations: MMLab, CUHK · Alibaba Token Foundry · The Chinese Univerity of Hong Kong · Fudan University · 

Abstract

Beyond basic tool use and coding skills, effectively incorporating visual references into agentic generation is equally essential for applying AI agents to real-world productivity tasks. We study this crucial capability through webpage development, a practical and readily evaluable setting in which existing benchmarks remain largely idealized: they typically focus on reconstructing visual targets or generating webpages from textual instructions alone, overlooking the more common workflow of developing from visual examples. Specifically, we introduce RefCraft, a benchmark comprising 300 realistic multimodal webpage-development tasks that combine natural-language instructions with screenshots from one to five reference webpages. Agents must selectively interpret and utilize these references while rendering, visually inspecting, and iteratively refining their outputs. We evaluate the resulting open-ended artifacts using independently verifiable keypoints and complementary programmatic and VLM judges. Across nine frontier (M)LLMs, the strongest system achieves an overall score of only 52.12 out of 100, revealing that visual-reference-conditioned agentic generation remains a substantial challenge for current models in practical webpage-development settings.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. VISTA: An End-to-End Benchmark for Visual Spec-to-Web-App Coding Agents

    May 22, 2026JunJia Guo, Yuhang Yao, Jiawei +2Web Application GenerationWeb Agent Benchmarks

  2. MM-WebAgent: A Hierarchical Multimodal Web Agent for Webpage Generation

    Apr 16, 2026Yan Li, Zezi Zeng, Yifan Yang +12Web Application GenerationWeb Agent Benchmarks