math.OCOct 31, 2026

Agent4FreeFem: A Verification-Guided Framework for Autonomous Topology Optimization

Authors: Zhipu Cui, Helin Gong, Shengfeng Zhu

Organizations: School of Mathematical Sciences, East China Normal University, Shanghai 200241, China. · SJTU Paris Elite Institute of Technology, Shanghai Jiao Tong University, Shanghai 200240, China.

Abstract

Topology optimization has become an indispensable design tool in the aerospace, automotive, and mechanical engineering industries. Yet bringing a new problem from its description to an optimized result remains slow, expert-dependent, and unreliable: the workflow spans many manually connected stages, each new problem requires solver code to be written and debugged manually, and such code often fails or yields incorrect results. We present Agent4FreeFem, a pipeline driven by a large language model that turns a natural-language problem description into a set of verified optimization results without manual solver-code development or debugging. The pipeline keeps the problem definition unmodified, localizes errors using independent sources of evidence, and completes constrained repairs automatically, thereby providing efficient end-to-end automation, autonomous execution, and verifiable results. We evaluated Agent4FreeFem on a suite of single-physics and coupled multiphysics problems. Every case passed runtime verification and finished within the repair budget of each stage.

Explore similar work

CardsList
  1. Self-Refining Topology Optimization via an LLM-Based Multi-Agent Framework

    May 22, 2026Hyunjee Park, Hayoung ChungTopology OptimizationMulti-Agent LLM Systems

  2. TO-Agents: A Multi-Agent AI Pipeline for Preference-Guided Topology Optimization

    May 20, 2026Isabella A. Stewart, Hongrui Chen, Faez AhmedTopology OptimizationMulti-Agent System Optimization