CADSmith: Multi-Agent CAD Generation with Programmatic Geometric Validation
arXiv cs.AI / 3/30/2026
📰 NewsSignals & Early TrendsIdeas & Deep AnalysisModels & Research
Key Points
- CADSmith is a multi-agent text-to-CAD system that generates CadQuery code from natural language and improves it via two nested refinement loops.
- The outer loop uses programmatic geometric validation combining exact OpenCASCADE measurements (e.g., bounding box dimensions, volume, and solid validity) with higher-level shape assessment from a separate vision-language model (“Judge”).
- The approach corrects both execution-time issues (inner loop) and geometric correctness (outer loop), aiming to eliminate dimensional errors that single-pass or purely visual methods struggle to catch.
- CADSmith uses retrieval-augmented generation over up-to-date API documentation rather than fine-tuning, so it can track changes in the underlying CAD library.
- On a 100-prompt benchmark with difficulty tiers and ablations, CADSmith reports a higher execution rate (100% vs 95%), improved F1/IoU, and a dramatically reduced mean Chamfer Distance versus a zero-shot baseline, indicating more reliable and accurate LLM-generated CAD outputs.
💡 Insights using this article
This article is featured in our daily AI news digest — key takeaways and action items at a glance.




