TraceCAD Improves Agentic CAD Generation with Persistent Repair State

Fengxiao Fan, Jingzhe Ni, Fan Sang, Xiaolong Yin, Yu Liu, Ruofeng Tong, Min Tang, Peng Du· August 5, 2026 View original

Key takeaways

  • LLM-based CAD agents often lose critical information during repair loops.
  • TraceCAD introduces a recovery layer with persistent state for trace-guided repair.
  • It diagnoses faults, performs localized edits, and stores repair outcomes in skill memory.
  • This approach significantly improves CAD quality, reliability, and efficiency.

Who benefits

ManufacturingAutomotiveAerospaceArchitectureProduct Design

Summary

TraceCAD is a new recovery layer for LLM-based CAD agents that uses persistent state to link design features, modeling steps, and failure evidence. This trace-guided approach diagnoses faulty operations, performs localized edits, and retains repair outcomes, significantly improving CAD quality and reliability.

Large Language Model (LLM)-based agents for Computer-Aided Design (CAD) often struggle with correction loops, losing critical information about design requirements, errors, and previous repair attempts. This paper introduces TraceCAD, a novel recovery layer designed to address this issue. TraceCAD maintains a persistent state that meticulously links requested features, individual modeling steps, evidence of failures, and potential repair outcomes. This comprehensive tracing allows the system to accurately diagnose problematic operations and conduct targeted, localized edits within the affected dependency regions. The system validates proposed repairs through execution and preservation checks, and crucially, it stores both successful and failed repair attempts in a reusable skill memory. Experimental results on DeepCAD-derived benchmarks show that TraceCAD achieves competitive geometric quality. The research highlights that persistent state and localized search are critical for improving recovery scores and reducing geometric regressions, while initializing the skill store further optimizes retries, token costs, and latency.

Why it matters

For engineers and product developers in design and manufacturing, TraceCAD offers a significant advancement in automated CAD generation, promising higher quality designs, reduced manual intervention, and more reliable agentic workflows.

How to implement this in your domain

  1. 1Evaluate current CAD generation workflows for areas where agentic repair could be beneficial.
  2. 2Explore integrating trace-guided debugging principles into existing automated design tools.
  3. 3Investigate the potential of persistent state management for complex generative AI applications.
  4. 4Consider how skill memory could be built and utilized to improve iterative design processes.

Original post by Fengxiao Fan, Jingzhe Ni, Fan Sang, Xiaolong Yin, Yu Liu, Ruofeng Tong, Min Tang, Peng Du

"arXiv:2608.03062v1 Announce Type: new Abstract: LLM-based CAD agents produce executable parametric programs, but their correction loops may lose evidence about satisfied requirements, faulty operations, and prior repairs. We introduce TraceCAD, a recovery layer that links request…"

View on X

Originally posted by Fengxiao Fan, Jingzhe Ni, Fan Sang, Xiaolong Yin, Yu Liu, Ruofeng Tong, Min Tang, Peng Du on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses