cs.CVNov 25, 2026

ADClaw: A Programmable Visual Agent for Industrial Anomaly Detection and Understanding

Authors: Xinyi Wu, Rongxin Gao, YuHui Lin, Yonglin Hong, Chu Li, Wei Li, Dingzhao Li, Shijia Zhao, 

Organizations: 1Xiamen University · 2Jimei University · 3China University of Mining and Technology

Abstract

Industrial anomaly detection (IAD), the task of identifying and localizing deviations from normal product conditions, is essential to automated quality inspection in manufacturing. Many vision-language models for IAD rely on large domain-specific datasets for fine-tuning and make predictions in a single pass, leaving no opportunity to re-examine ambiguous regions. Although tool-using agents can revisit these regions, predefined tool interfaces limit how they can combine intermediate results in a follow-up check. When such checks are insufficient, models may miss subtle defects or misidentify the defect type. To address this limitation, we introduce ADClaw, an inspection agent that uses executable code to test anomaly hypotheses without task-specific fine-tuning. For each hypothesis, a Structured Normality Prior identifies the applicable rules and retrieves normal visual references for the inspection target. Guided by this prior, the agent writes and executes code in a persistent Inspection Workbench to combine masks, anomaly maps, and measurements from earlier steps into a new test of the suspected defect. After each check, Hypothesis-Guided Evidence Reasoning assesses whether the evidence supports the suspected defect and its location, using gaps or inconsistencies in that evidence to guide the next code action. ADClaw achieves competitive results in detection and localization across 2D and 3D industrial anomaly detection benchmarks and in anomaly understanding on MMAD.

Figures & tables

Explore similar work

CardsList
  1. AD-Copilot: A Vision-Language Assistant for Industrial Anomaly Detection via Visual In-context Comparison

    Mar 14, 2026Xi Jiang, Yue Guo, Jian Li +7Industrial Anomaly DetectionIndustrial Inspection

  2. IndusAgent: Agentic Reinforcement Learning for Cross-Category Industrial Anomaly Detection

    May 20, 2026Rongbin Tan, Fangfang Lin, Jinguo Luo +9Industrial Anomaly DetectionTool-Using Vision-Language Agents

  3. AnomalyClaw: A Universal Visual Anomaly Detection Agent via Tool-Grounded Refutation

    May 11, 2026Xi Jiang, Yinjie Zhao, Zesheng Yang +1Tool-Using Vision-Language AgentsVLM Reasoning