RA-CAD agent learns to critique its own CAD code after execution
A research team describes an agent that runs generated CAD code, critiques the outcome, and rewrites it, reporting state-of-the-art results on two benchmarks.
In plain words
Text-to-CAD systems turn plain design instructions into working parametric CAD code, the kind engineers edit and run. The described agent, RA-CAD, executes its code, writes an explicit critique of the result, and uses that critique to guide the next revision. The authors say the critique step itself is trained, not fixed in advance.
What was announced
The arXiv paper frames a feedback-utilization gap: existing text-to-CAD methods rely on critique mechanisms that are fixed, externally supplied, prompt-induced, or separately optimized, so feedback is not necessarily translated into effective corrective actions during generation. RA-CAD (ReAct Agent for CAD) addresses this with a Generate-Execute-Critique-Rewrite loop. Each iteration runs the current code, observes the outcome, and produces an explicit post-execution critique that either validates the result for termination or supplies revision guidance for the next rewrite.
Training proceeds in two stages. CAD Code Bootstrapping first builds basic parametric CAD coding ability through supervised fine-tuning; Feedback-Driven Agent Optimization then applies trajectory-level Group Relative Policy Optimization to both code and critique sequences, using terminal F1 and Chamfer Distance rewards. The authors report state-of-the-art execution validity and geometric quality on the CADFusion and Text2CAD benchmarks, compared with existing methods and proprietary language models. The evidence is the paper's abstract only, so the reported comparisons have not been independently verified.
What it does not show
- Coverage is limited to the paper's abstract; experimental setup, baselines, and error rates are not described in the supplied passages.
- The benchmark results are the authors' own claims and are not independently confirmed.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.