Skip to main content
No handlers (so the agent runs unattended — questions aren’t offered, dangerous confirmations are declined), a timeout, and decisions baked into the prompt: leave it running over a list of files.
Catching CosmonError keeps one bad file from killing the batch. To retry a run the CAD instance was busy for, branch on CosmonRunError.code == "busy".

Guide: unattended batches

Timeouts, triggering runs from your own code, and error handling.