ok, AFAIK it's a bit of an unsolved area but if your design isn't too complex you can get it to write it in openscad, which is a procedural language that lends well to be rendered and tested against
Hmmm good question, but what is the cad? Like you can ask anyone to just write openscad files directly. It gets more tricky for stuff like fusion and I don't know much about there.
I'm just looking to point an agent to a CAD libary for any arbitrary language an produce a design I can inspect complain, and loop over until I feel happy enough.
I know nothing about CAD though that's why I ask
You can either have a bigger actual context of what you're doing - so actual code base + other upcoming tasks, or instead have multiple at the same time.