多模态智能体编码需要强大的视觉推理能力,以分析观测结果并评估生成的产物。当前框架大多依赖“图像思考”范式,即智能体依靠自身固有视觉来执行基于视觉的任务。然而,这种架构耦合引入了根本性瓶颈:智能体性能严格受限于内部感知局限;此外,纯文本智能体缺乏原生感知能力,若无专用工具则无法进行视觉推理。为克服这些约束,我们提出视觉即工具(Vision-as-a-Tool, VaaT)范式。此前的视觉工具使用仅为智能体的固有视觉操作图像以供读取,而VaaT将通用多模态大语言模型(Multimodal Large Language Models, MLLMs)重构为可调用的外部工具。因此,纯文本智能体可在智能体执行期间完全卸载视觉推理,具备视觉能力的智能体则可按需动态增强其固有感知。我们将该范式实例化为VHarness,这是一个由五个原子动作驱动的统一框架。我们在图像转HTML、图像转SVG、图像转3D生成任务中对VHarness进行了全面评估。实验结果表明,VHarness在纯文本和多模态编码智能体中均持续提升了视觉保真度和几何精度。这些发现表明,将视觉推理模块化并作为可调用工具,为未来的智能体编码系统提供了灵活且可扩展的基础。
英文摘要:
Multimodal agentic coding requires robust visual reasoning to analyze observations and evaluate generated artifacts. Current frameworks largely rely on a Thinking-with-Images paradigm, where agents depend on their intrinsic vision to execute visually grounded tasks. However, this architectural coupling introduces a fundamental bottleneck. Agent performance remains strictly bounded by internal perceptual limitations. Furthermore, text-only agents lack native perception. Without specialized tools, they cannot perform visual reasoning. To overcome these constraints, we introduce the Vision-as-a-Tool (VaaT) paradigm. Prior visual tool-use merely manipulates images for an agent's intrinsic vision to read. In contrast, VaaT reframes general-purpose multimodal large language models (MLLMs) as callable external utilities. As a result, text-only agents can completely offload visual reasoning during agentic execution. Meanwhile, vision-capable agents can dynamically augment their native perception on demand. We instantiate this paradigm in VHarness, a unified framework driven by five atomic actions. We comprehensively evaluate VHarness across Image-to-HTML, Image-to-SVG, and Image-to-3D generation tasks. Experimental results demonstrate that VHarness consistently improves visual fidelity and geometric accuracy across both text-only and multimodal coding agents. These findings highlight that modularizing visual reasoning into callable utilities provides a flexible and scalable foundation for future agentic coding systems.
Doc2Harness: Benchmarking LLMs on Long-Horizon Harness Engineering of Coding Agents
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Tsinghua University(清华大学);Peking University(北京大学);Southeast University(东南大学)
HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention
University of Washington(华盛顿大学);University of Leeds(利兹大学);Carnegie Mellon University(卡内基梅隆大学);Stanford University(斯坦福大学);Allen Institute for AI(艾伦人工智能研究所)
AgentBug-Smith: Automatically Reproducing Real-World Harness Bugs in Agentic Systems
The University of Chicago(芝加哥大学);Fudan University(复旦大学);TensorBlock, Inc.(TensorBlock公司);Tsinghua University(清华大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
AutoDesign: Meta-Harness Optimization for Long-Horizon Agentic Design
Meituan(美团);MBZUAI(Mohamed bin Zayed University of Artificial Intelligence);Huazhong University of Science and Technology(华中科技大学);Peking University(北京大学);Tsinghua University(清华大学);The Chinese University of Hong Kong(香港中文大学);Shanghai Jiao Tong University(上海交通大学)
AlloSpatial: Agentic Harness Framework for Spatial Reasoning in Foundation Models
Institute of Artificial Intelligence, Beihang University(北京航空航天大学人工智能研究院);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);University of Science and Technology Beijing(北京科技大学)
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));DeepWisdom;Singapore University of Technology and Design(新加坡科技设计大学);Nanyang Technological University(南洋理工大学);Shanghai Jiao Tong University(上海交通大学);Tsinghua University(清华大学);Université de Montréal & Mila(蒙特利尔大学及Mila)