Skip to main content
Advanced AI agent optimizing CAD, CAE, and geometry in real-time for automated closed-loop design improvements, showcasing AI

Editorial illustration for LLM‑RL Agent Manages CAD, CAE and Geometry Revision for Closed‑Loop Optimization

LLM‑RL Agent Manages CAD, CAE and Geometry Revision for...

Updated: 4 min read

Every engineering software demo promises a robot that designs, tests, and fixes its own work. They never deliver. The problem is the gap between drawing a part and proving it works.

Large language models can write the code to make a shape, but they can’t manage the whole tedious cycle: generate a CAD model, run a stress simulation, read the results, and tweak the design until it’s right. That final loop of revision has always been the stopping point.

This research team decided to stop treating it as a design problem and start treating it as a training one. They turned the entire CAD and simulation workflow into a video game for an AI. In this game, each step—making the model, solving the analysis, parsing the output—is a move the AI can make.

The AI agent, built on a small open-source language model, learns to play by orchestrating real engineering software. Its goal is to adjust parametric shapes under a strict scoring system. This score rewards designs that are physically feasible, that don’t break the tools, and that produce valid data.

To teach the agent, they built a new dataset from the ground up. It covers 25 types of real components, each with a complete, executable CAD and simulation task. This isn’t theoretical.

The result is called COSMO-Agent. Trained with this method, it now beats both larger open models and powerful closed-source systems on three practical metrics: whether the final design works, how efficiently it gets there, and how reliably the process runs.

Specifically, we cast CAD generation, CAE solving, result parsing, and geometry revision as an interactive RL environment, where an LLM learns to orchestrate external tools and revise parametric geometries until constraints are satisfied. To make this learning stable and industrially usable, we design a multi-constraint reward that jointly encourages feasibility, toolchain robustness, and structured output validity. In addition, we contribute an industry-aligned dataset that covers 25 component categories with executable CAD-CAE tasks to support realistic training and evaluation. Experiments show that COSMO-Agent training substantially improves small open-source LLMs for constraint-driven design, exceeding large open-source and strong closed-source models in feasibility, efficiency, and stability.

The main takeaway isn't that they built a better agent. It's that they found a better way to use small models. The industry assumes you need a gargantuan, proprietary brain to do complex engineering.

COSMO-Agent suggests you need a tighter, smarter feedback loop instead. By framing the task as reinforcement learning, they transformed a one-shot generation job into a self-correcting process. The agent learns what "works" means in physical terms because its reward is built on feasibility and toolchain stability.

This shifts the entire proposition. An AI isn't just spitting out a candidate design for a human to validate. It is running the validation itself, iterating silently until the simulation passes.

The dataset of 25 components means the approach was tested on real industrial problems, not toy examples. What changes is the human role. Engineers spend less time babysitting software through repetitive checks.

They start setting higher-level constraints and evaluating the final options. The wall between generative AI and certified engineering gets a lot thinner. The research presents this not as a future concept but as a functional method.

The orchestration is the breakthrough.

Common Questions Answered

What is the main limitation that COSMO-Agent overcomes in previous LLM-based design systems?

Previous engineering software demonstrations could generate CAD models using large language models, but they failed to complete the closed-loop optimization cycle of generating designs, running simulations, interpreting results, and iteratively revising until the design works. COSMO-Agent solves this by managing the entire tedious cycle of CAD generation, CAE simulation, result analysis, and design tweaking in an automated feedback loop.

How does COSMO-Agent use reinforcement learning to improve engineering design?

COSMO-Agent frames the design task as a reinforcement learning problem, transforming it from a one-shot generation job into a self-correcting iterative process. The agent learns what "works" means in physical terms because its reward structure is built on feasibility metrics, allowing it to autonomously refine designs through multiple cycles.

Why does COSMO-Agent suggest that smaller models with better feedback loops are preferable to large proprietary models?

The research demonstrates that the key to complex engineering automation isn't necessarily a gargantuan model, but rather a tighter and smarter feedback loop that enables continuous learning and self-correction. By implementing effective reinforcement learning mechanisms, smaller models can achieve superior results in closed-loop optimization tasks compared to large models without proper feedback integration.

What specific engineering tasks does COSMO-Agent manage in its optimization cycle?

COSMO-Agent manages CAD model generation, CAE (Computer-Aided Engineering) stress simulation execution, results interpretation, and iterative geometry revision. This complete cycle allows the agent to autonomously design parts, test them virtually, analyze performance, and refine the design until it meets feasibility requirements.

LIVE03:21OpenAI's Miles Wang in Talks for USD 2B AI Drug Discovery Startup