<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.0 20120330//EN" "http://jats.nlm.nih.gov/publishing/1.0/JATS-journalpublishing1.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.0" article-type="research-article">
  <front>
    <journal-meta>
      <journal-id journal-id-type="nlm-ta">J. Mechanoinform.</journal-id>
      <journal-id journal-id-type="publisher-id">jmechinfo</journal-id>
      <journal-title-group>
        <journal-title>Journal of Mechanoinformatics</journal-title>
      </journal-title-group>
      <issn pub-type="epub"/>
      <publisher>
        <publisher-name>OAE Publishing Inc.</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.20517/jmechinfo.2026.03</article-id>
      <article-id pub-id-type="publisher-id">JM-2026-3</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>TO-Master: an LLM-agent framework for automated topology optimization</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name>
            <surname>Lin</surname>
            <given-names>Haoju</given-names>
          </name>
          <xref ref-type="aff" rid="I1">
            <sup>1</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Zhang</surname>
            <given-names>Wenchang</given-names>
          </name>
          <xref ref-type="aff" rid="I1">
            <sup>1</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Xu</surname>
            <given-names>Weipeng</given-names>
          </name>
          <xref ref-type="aff" rid="I1">
            <sup>1</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Li</surname>
            <given-names>Xiang</given-names>
          </name>
          <xref ref-type="aff" rid="I2">
            <sup>2</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author" corresp="yes">
          <contrib-id contrib-id-type="orcid">https://orcid.org/0000-0001-9698-3846</contrib-id>
          <name>
            <surname>Xu</surname>
            <given-names>Tian</given-names>
          </name>
          <xref ref-type="aff" rid="I1">
            <sup>1</sup>
          </xref>
          <xref ref-type="aff" rid="I1042">
            <sup>*</sup>
          </xref>
          <xref ref-type="corresp" rid="cor1" />
        </contrib>
        <contrib contrib-type="author" corresp="yes">
          <contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-2710-9802</contrib-id>
          <name>
            <surname>Xue</surname>
            <given-names>Tianju</given-names>
          </name>
          <xref ref-type="aff" rid="I1">
            <sup>1</sup>
          </xref>
          <xref ref-type="aff" rid="I1042">
            <sup>*</sup>
          </xref>
          <xref ref-type="corresp" rid="cor1" />
        </contrib>
      </contrib-group>
      <aff id="I1"><sup>1</sup>Department of Civil and Environmental Engineering, The Hong Kong University of Science and Technology, Hong Kong, China.</aff>
      <aff id="I2"><sup>2</sup>China Iron and Steel Research Institute Group, Beijing 100081, China.</aff>
      <author-notes>
        <corresp id="cor1">Correspondence to: Dr. Tian Xu, Prof. Tianju Xue, Department of Civil and Environmental Engineering, The Hong Kong University of Science and Technology, Hong Kong, China. E-mail: <email>tianxu@ust.hk</email>; <email>cetxue@ust.hk</email></corresp>
        <fn fn-type="other">
          <p><bold>Received:</bold> 25 Aug 2026 | <bold>First Decision:</bold> 16 Oct 2026 | <bold>Revised:</bold> 5 Nov 2026 | <bold>Accepted:</bold> 13 Nov 2026 | <bold>Published:</bold> 27 Nov 2026</p>
        </fn>
        <fn fn-type="other">
          <p><bold>Academic Editor:</bold> Tienchong Chang | <bold>Copy Editor:</bold> Ting-Ting Hu | <bold>Production Editor:</bold> Ting-Ting Hu</p>
        </fn>
      </author-notes>
      <pub-date pub-type="ppub">
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>27</day>
        <month>11</month>
        <year>2026</year>
      </pub-date>
	  <volume>1</volume>
      <elocation-id>2</elocation-id>
      <permissions>
        <copyright-statement>© The Author(s) 2026.</copyright-statement>
        <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
          <license-p>© The Author(s) 2026.<bold>Open Access</bold>This article is licensed under a Creative Commons Attribution 4.0 International License (<uri xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</uri>), which permits unrestricted use, sharing, adaptation, distribution and reproduction in any medium or format, for any purpose, even commercially, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.</license-p>
        </license>
      </permissions>
      <abstract>
        <p>Topology optimization (TO) has become a mature computational design method. However, many TO workflows still require manual effort in geometry and mesh preparation, boundary-condition assignment, solver setup, and post-processing. These requirements can remain a barrier for users who do not already work within a specialized computer-aided design (CAD) or simulation environment. This work introduces TO-Master, a large language model (LLM) agent framework that turns finite-element-based TO into a conversational, tool-orchestrated workflow. From natural language instructions and optional mesh, geometry, or image inputs, the agent selects computational tools, constructs finite element TO models, checks meshes and boundary conditions, and launches sensitivity-based optimization with typed solver arguments. The framework supports generated and uploaded meshes, image-to-mesh conversion, two-dimensional (2D) and three-dimensional (3D) structural compliance minimization, thermal conduction, multiple load cases, stress-constrained optimization, and engineering geometries. Numerical experiments show that TO-Master can reproduce standard benchmark results and solve more complex engineering examples while returning optimized results, field distributions, convergence histories, and interactive artifacts without user-written code. An instruction ablation study evaluates the effects of tool-interface documentation, internal reasoning guidance, and few-shot examples on formulation success under ambiguous user specifications. TO-Master enables automated TO problem formulation and execution across complex geometries and diverse problem types by combining LLM-based problem formulation, explicit mesh and boundary-condition verification, and predefined physics-based computational tools. The TO-Master platform is available online at <uri xlink:href="https://www.bohrium.com/en/apps/to-master.">https://www.bohrium.com/en/apps/to-master.</uri></p>
      </abstract>
      <kwd-group>
        <kwd>Topology optimization</kwd>
        <kwd>LLM agent</kwd>
        <kwd>natural-language-driven modeling</kwd>
        <kwd>automated model generation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>INTRODUCTION</title>
      <p>Topology optimization (TO) is a computational design method that optimizes the material distribution in a prescribed design domain subject to boundary conditions, constraints, and objective functions. Classical methods include the homogenization-based method<sup>[<xref ref-type="bibr" rid="B1">1</xref>]</sup>, the solid isotropic material with penalization (SIMP) method<sup>[<xref ref-type="bibr" rid="B2">2</xref>-<xref ref-type="bibr" rid="B4">4</xref>]</sup>, the level-set method<sup>[<xref ref-type="bibr" rid="B5">5</xref>,<xref ref-type="bibr" rid="B6">6</xref>]</sup>, and the bi-directional evolutionary structural optimization method<sup>[<xref ref-type="bibr" rid="B7">7</xref>,<xref ref-type="bibr" rid="B8">8</xref>]</sup>. These methods have been widely used for structural design, thermal design, and multi-physics inverse design problems. However, setting up a TO problem remains a nontrivial task. Users must specify geometries, meshes, boundary conditions, material models, objectives, constraints, optimization parameters, and postprocessing procedures. This process usually requires substantial problem-specific scripting and repeated manual modification, which limits the accessibility of TO workflows.</p>
      <p>Recent advances in differentiable programming and automatic differentiation provide new opportunities for computational mechanics and inverse design. Automatic-differentiation-based TO frameworks such as AuTO<sup>[<xref ref-type="bibr" rid="B9">9</xref>]</sup> or differentiable finite element method (FEM) frameworks such as JAX-FEM<sup>[<xref ref-type="bibr" rid="B10">10</xref>]</sup> show that finite element assembly, solution procedures, and objective evaluations can be embedded in automatic-differentiation-compatible computational graphs, making it possible to obtain sensitivities through automatic differentiation. These developments reduce the implementation burden of sensitivity analysis. Nevertheless, differentiable solvers still require users to formulate the computational problem correctly. In practice, the main difficulty often lies not only in solving the optimization problem constrained by partial differential equations (PDEs), but also in translating an engineering design intent into a complete and valid solver input.</p>
      <p>Large language models (LLMs) have shown strong capabilities in language understanding, code generation, tool use, and multi-step reasoning. Chain-of-thought prompting improves reasoning over intermediate steps<sup>[<xref ref-type="bibr" rid="B11">11</xref>]</sup>, while agentic frameworks such as ReAct enable LLMs to interact with external tools during problem solving<sup>[<xref ref-type="bibr" rid="B12">12</xref>]</sup>. Tool-augmented language models further demonstrate that LLMs can call external application programming interfaces (APIs) and use computational tools as part of their reasoning process<sup>[<xref ref-type="bibr" rid="B13">13</xref>]</sup>. These capabilities make LLM agents promising interfaces for scientific computing workflows, where user intent must be mapped to a sequence of structured computational operations. In computer-aided engineering (CAE), LLM agents have been explored for LLM-empowered CAE frameworks<sup>[<xref ref-type="bibr" rid="B14">14</xref>]</sup>, automated structural analysis<sup>[<xref ref-type="bibr" rid="B15">15</xref>]</sup>, computational fluid dynamics (CFD) case construction and solver execution<sup>[<xref ref-type="bibr" rid="B16">16</xref>,<xref ref-type="bibr" rid="B17">17</xref>]</sup>, and text-driven computer-aided design (CAD) generation<sup>[<xref ref-type="bibr" rid="B18">18</xref>,<xref ref-type="bibr" rid="B19">19</xref>]</sup>. These studies show that LLM agents can reduce manual intervention in simulation setup and workflow orchestration. Related human-in-the-loop TO studies have incorporated user preferences through interactive feature-size control, user-drawn patterns, and AI-guided region selection<sup>[<xref ref-type="bibr" rid="B20">20</xref>-<xref ref-type="bibr" rid="B23">23</xref>]</sup>. Recent and concurrent studies have also connected LLM agents with topology optimization, including LLM-based controllers for adapting SIMP continuation parameters<sup>[<xref ref-type="bibr" rid="B24">24</xref>]</sup>, AutoSiMP for mapping natural-language descriptions to SIMP topology optimization problems<sup>[<xref ref-type="bibr" rid="B25">25</xref>]</sup>, TO-Agents for preference-guided topology optimization with multi-agent visual feedback<sup>[<xref ref-type="bibr" rid="B26">26</xref>]</sup>, and large-model-assisted conceptual structural design realization<sup>[<xref ref-type="bibr" rid="B27">27</xref>]</sup>. Park and Chung proposed TopOptAgents, a multi-agent framework that combines problem formulation, code generation, and result assessment through iterative self-refinement<sup>[<xref ref-type="bibr" rid="B28">28</xref>]</sup>.</p>
      <p>However, integrating diverse TO formulations with complex three-dimensional (3D) geometries remains underexplored in LLM-agent frameworks for TO, particularly when unstructured meshes and image-based model generation are required.</p>
      <p>In this work, we address this challenge with TO-Master, an LLM-agent framework that combines automated problem formulation, mesh and boundary-condition verification, and predefined numerical tools. The framework supports image-to-mesh conversion and 3D unstructured engineering meshes, together with structural compliance minimization, thermal conduction, multiple load cases, and stress-constrained optimization. As shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, it translates natural-language specifications, optionally supplemented by mesh, geometry, or image files, into finite element TO models. The workflow builds or imports meshes, visualizes and checks meshes and boundary conditions through human-in-the-loop confirmation, performs sensitivity-based optimization, and returns optimized results, field distributions, and convergence histories. The differentiable JAX-FEM backend performs the finite element analyses and sensitivity calculations, while the agent coordinates problem formulation and tool execution. For the same problem and settings, numerical optimization retains the computational efficiency of the underlying implementation. We evaluate the framework using benchmark and extended cases, together with an instruction ablation study.</p>
      <fig id="fig1" position="float">
        <label>Figure 1</label>
        <caption>
          <p>End-to-end workflow of the TO-Master framework. User-level natural language specifications are optionally supplemented by mesh files, geometry files, or image inputs, and are translated into FEM-based topology optimization problems. The framework builds or imports mesh models, visualizes and verifies meshes and boundary conditions through human-in-the-loop confirmation, performs sensitivity-based optimization, and returns optimized results, field distributions, and convergence histories. BCs: Boundary conditions; FEM: finite element method; TO: topology optimization.</p>
        </caption>
        <graphic xlink:href="jm1003.fig.1.jpg"/>
      </fig>
      <p>To further emphasize the advantages of the proposed TO-Master framework, <xref ref-type="table" rid="t1">Table 1</xref> compares its computational workflow and demonstrated capabilities with those of related LLM-agent frameworks for TO. The LLM continuation controller<sup>[<xref ref-type="bibr" rid="B24">24</xref>]</sup> and AutoSiMP<sup>[<xref ref-type="bibr" rid="B25">25</xref>]</sup> offer LLM-based parameter adaptation during optimization, whereas TO-Master performs the numerical iterations without LLM intervention. In its interactive workflow, TO-Master requires user confirmation of the proposed settings before launching an optimization or rerunning it with modified parameters. This design is intended to limit unnecessary, computationally expensive reruns and keep computational expenditure under user control.</p>
      <table-wrap id="t1">
        <label>Table 1</label>
        <caption>
          <p>Comparison of LLM-agent frameworks for TO</p>
        </caption>
        <table frame="hsides" rules="groups">
  <tbody>
    <tr>
      <td>
        <bold>Aspect</bold>
      </td>
      <td>
        <bold>LLM controller<sup>[<xref ref-type="bibr" rid="B24">24</xref>]</sup></bold>
      </td>
      <td>
        <bold>AutoSiMP<sup>[<xref ref-type="bibr" rid="B25">25</xref>]</sup></bold>
      </td>
      <td>
        <bold>TO-Agents<sup>[<xref ref-type="bibr" rid="B26">26</xref>]</sup></bold>
      </td>
      <td>
        <bold>TopOptAgents<sup>[<xref ref-type="bibr" rid="B28">28</xref>]</sup></bold>
      </td>
      <td>
        <bold>TO-Master</bold>
      </td>
    </tr>
    <tr>
      <td>LLM role</td>
      <td>Continuation control</td>
      <td>Setup; control</td>
      <td>Preference-guided refinement</td>
      <td>Formulation; code generation</td>
      <td>Formulation; orchestration</td>
    </tr>
    <tr>
      <td>Solver separation</td>
      <td>Predefined solver </td>
      <td>Predefined solver</td>
      <td>Predefined solver</td>
      <td>LLM-generated code</td>
      <td>Predefined<break/>solver</td>
    </tr>
    <tr>
      <td>Differentiable backend</td>
      <td>-</td>
      <td>-</td>
      <td>-</td>
      <td>✓</td>
      <td>✓</td>
    </tr>
    <tr>
      <td>3D unstructured meshes</td>
      <td>-</td>
      <td>-</td>
      <td>Backend support</td>
      <td>-</td>
      <td>✓</td>
    </tr>
    <tr>
      <td>Image-to-mesh</td>
      <td>-</td>
      <td>-</td>
      <td>-</td>
      <td>-</td>
      <td>✓</td>
    </tr>
    <tr>
      <td>Conventional compliance minimization</td>
      <td>✓</td>
      <td>✓</td>
      <td>✓</td>
      <td>✓</td>
      <td>✓</td>
    </tr>
    <tr>
      <td>Other TO problems</td>
      <td>-</td>
      <td>-</td>
      <td>-</td>
      <td>Stress minimization</td>
      <td>Thermal; multi-load; stress-constrained</td>
    </tr>
    <tr>
      <td>LLM adaptive control</td>
      <td>✓</td>
      <td>✓</td>
      <td>✓</td>
      <td>✓</td>
      <td>-</td>
    </tr>
    <tr>
      <td>Verification</td>
      <td>Validity; grayness</td>
      <td>Inputs; structure</td>
      <td>Inputs; visual feedback</td>
      <td>Inputs; code; results</td>
      <td>Mesh; boundary conditions</td>
    </tr>
  </tbody>
</table>
        <table-wrap-foot>
          <fn id="t1FN1">
            <p>3D: Three-dimensional; LLM: large language model; TO: topology optimization.</p>
          </fn>
        </table-wrap-foot>
      </table-wrap>
      <p>The remainder of this paper is organized as follows. Section “EXPERIMENTAL” describes the implemented density-based topology optimization formulations and the TO-Master framework, including the differentiable FEM backend, tool interface, prompt design, and agent workflow. Section “RESULTS AND DISCUSSION” presents the benchmark and engineering examples, reports the prompt ablation study, and discusses the effectiveness, robustness, and limitations of the proposed framework. Section “CONCLUSIONS” summarizes the main conclusions and future research directions.</p>
    </sec>
    <sec id="sec2">
      <title>EXPERIMENTAL</title>
      <sec id="sec2-1">
        <title>Problem formulation for topology optimization</title>
        <p>This section summarizes the TO formulations implemented in TO-Master. We first introduce the baseline density-based structural compliance minimization problem, and then describe the density filtering, projection, passive-domain treatment, and problem-specific extensions used in the implementation.</p>
        <sec id="sec2-1-1">
          <title>Baseline structural compliance minimization</title>
          <p>The design domain <italic>Ω</italic> is discretized into finite elements <italic>Ω<sub>e</sub></italic>, <italic>e</italic> = 1, …, <italic>N<sub>e</sub></italic>. In density-based TO, each element is assigned a scalar density variable <italic>ρ<sub>e</sub> </italic>∈ [0,1], where <italic>ρ<sub>e</sub></italic><sub> </sub>= 0 represents void and <italic>ρ<sub>e</sub></italic><sub> </sub>= 1 represents solid material. The design variables are collected as <inline-formula><tex-math id="M1">$$ \mathbf{\rho} = \{\rho_e\}_{e=1}^{N_e} $$</tex-math></inline-formula>.</p>
        <p>For structural optimization, the displacement field is approximated as</p>
          <p><disp-formula> <label>(1)</label> <tex-math id="E1"> $$ \mathbf{u}^{h}(\mathbf{x}) = \sum_{k = 1}^{N_{n}}\phi_{k}(\mathbf{x})\mathbf{U}_{k}, $$ </tex-math></disp-formula></p>
        <p>where <italic>φ<sub>k</sub></italic> is the finite element shape function associated with node <italic>k</italic>, U<italic><sub>k</sub></italic> is the nodal displacement vector, and <italic>N<sub>n</sub></italic> is the number of nodes. The weak form is to find <italic>u<sup>h</sup></italic> ∈ <italic>V</italic><sub>g</sub> such that</p>
          <p><disp-formula> <label>(2)</label> <tex-math id="E1"> $$ \int_{\Omega}^{}\boldsymbol{\sigma}(\mathbf{u}^{h},\boldsymbol{\rho}):\boldsymbol{\varepsilon}(\mathbf{v})\, d\Omega = \int_{\Gamma_{t}}^{}\mathbf{t} \cdot \mathbf{v}\, d\Gamma,\quad\quad\forall\mathbf{v} \in V_{0}, $$ </tex-math></disp-formula></p>
          <p>where <italic>V<sub>g</sub></italic> satisfies the prescribed displacement boundary conditions, <italic>V</italic><sub>0</sub> is the corresponding test space with homogeneous essential boundary conditions, t is the applied traction, and ε is the small-strain tensor.</p>
          <p>The SIMP interpolation is used to relate density to stiffness<sup>[<xref ref-type="bibr" rid="B4">4</xref>,<xref ref-type="bibr" rid="B29">29</xref>]</sup>,</p>
          <p><disp-formula> <label>(3)</label> <tex-math id="E1"> $$ E_{e} = E_{\min} + (E_{\max} - E_{\min})\rho_{e}^{p}, $$ </tex-math></disp-formula></p>
          <p>where <italic>E</italic><sub>max</sub> and <italic>E</italic><sub>min</sub> are the solid and ersatz Young’s moduli, and <italic>p</italic> is the penalization factor.</p>
          <p>The material usage is controlled by the standard volume-fraction constraint,</p>
          <p><disp-formula> <label>(4)</label> <tex-math id="E1"> $$ \frac{\sum_{e = 1}^{N_{e}}\rho_{e}|\Omega_{e}|}{\sum_{e = 1}^{N_{e}}|\Omega_{e}|} \leq V_{f}, $$ </tex-math></disp-formula></p>
          <p>where |Ω<italic><sub>e</sub></italic>| denotes the element area in a two-dimensional (2D) domain or volume in 3D, and <italic>V<sub>f</sub></italic> is the prescribed material volume fraction. In the implemented structural optimization tools, this constraint is discretized as the mean density over the optimized element set.</p>
        <p>The baseline structural compliance minimization problem is written as</p>
          <p><disp-formula> <label>(5)</label> <tex-math id="E1"> $$ \begin{aligned}
\min_{\boldsymbol{\rho}}\quad\ J(\boldsymbol{\rho}) = \mathbf{F}^{T}\mathbf{U}, \\
\text{s.t.}\quad \mathbf{K}(\boldsymbol{\rho})\mathbf{U} = \mathbf{F}, \\
\ \frac{\sum_{e = 1}^{N_{e}}\rho_{e}|\Omega_{e}|}{\sum_{e = 1}^{N_{e}}|\Omega_{e}|} \leq V_{f}, \\
\ 0 \leq \rho_{e} \leq 1,\quad\quad e = 1,\ldots,N_{e}.
\end{aligned} $$ </tex-math></disp-formula></p>
        </sec>
        <sec id="sec2-1-2">
          <title>Density filtering, projection, and passive domains</title>
          <p>In the implementation, the raw density field is modified by density filtering, optional Heaviside projection, and passive-domain treatment before finite element analysis. Density filtering is used to regularize the design field and reduce mesh-dependent numerical instabilities<sup>[<xref ref-type="bibr" rid="B30">30</xref>]</sup>. When a problem contains passive domains, only the elements outside the passive domains are treated as designable. The set of designable elements is denoted by <inline-formula><tex-math id="M1">$$ \mathcal{I}_{d} $$</tex-math></inline-formula>, and the passive elements are denoted by <inline-formula><tex-math id="M1">$$ \mathcal{I}_{p} $$</tex-math></inline-formula>. The raw design variables are then <inline-formula><tex-math id="M1">$$ \mathbf{\rho} = \{\rho_e\}_{e \in \mathcal{I}_{d}} $$</tex-math></inline-formula>.</p>
          <p>The density filter is applied to the designable elements:</p>
          <p><disp-formula> <label>(6)</label> <tex-math id="E1"> $$ {\bar{\rho}}_{e} = \frac{\sum_{j \in \mathcal{N}_{e}}^{}w_{ej}\rho_{j}}{\sum_{j \in \mathcal{N}_{e}}^{}w_{ej}},\quad\quad w_{ej} = \max(0,r_{\min} - d_{ej}), $$ </tex-math></disp-formula></p>
          <p>where <italic>d<sub>ej</sub></italic> is the distance between element centroids and <inline-formula><tex-math id="M1">$$ \mathcal{N}_{e} $$</tex-math></inline-formula> is the set of neighboring designable elements within the filter radius. The filter radius is defined as</p>
          <p><disp-formula> <label>(7)</label> <tex-math id="E1"> $$ r_{\min} = r_{f}\bar{h}, $$ </tex-math></disp-formula></p>
          <p>where <italic>r<sub>f</sub></italic> is the prescribed filter factor and <inline-formula><tex-math id="M1">$$ \bar{h} $$</tex-math></inline-formula> is the average element size. In the implementation, <inline-formula><tex-math id="M1">$$ \bar{h} $$</tex-math></inline-formula> is computed from the average cell measure over the full finite element mesh,</p>
          <p><disp-formula> <label>(8)</label> <tex-math id="E1"> $$ \bar{h} = \left( \frac{1}{N_{e}}\sum_{e = 1}^{N_{e}}|\Omega_{e}| \right)^{1/d}, $$ </tex-math></disp-formula></p>
          <p>where <italic>d</italic> is the spatial dimension. Thus, <italic>r<sub>f</sub></italic> is a dimensionless factor controlling the filter radius relative to the mesh size.</p>
          <p>When projection is enabled, the filtered density is further mapped to the physical density field <inline-formula><tex-math id="M1">$$ \widetilde{\mathbf{\rho}} $$</tex-math></inline-formula> through a Heaviside-type projection<sup>[<xref ref-type="bibr" rid="B31">31</xref>,<xref ref-type="bibr" rid="B32">32</xref>]</sup>,</p>
          <p><disp-formula> <label>(9)</label> <tex-math id="E1"> $$ {\widetilde{\rho}}_{e} = \frac{\tanh(\beta\eta) + \tanh[\beta({\bar{\rho}}_{e} - \eta)]}{\tanh(\beta\eta) + \tanh[\beta(1 - \eta)]}, $$ </tex-math></disp-formula></p>
          <p>where <italic>β</italic> controls the projection sharpness and <italic>η</italic> is the projection threshold. If projection is not used, <inline-formula><tex-math id="M1">$$ \widetilde{\rho}_{e} = \bar{\rho}_{e} $$</tex-math></inline-formula>.</p>
          <p>The full element density field used in finite element analysis (FEA) is</p>
          <p><disp-formula> <label>(10)</label> <tex-math id="E1"> $$ \rho_{e}^{\mathrm{full}} = \left\{ \begin{matrix}
{\widetilde{\rho}}_{e}, &amp; e \in \mathcal{I}_{d}, \\
1, &amp; e \in \mathcal{I}_{p}.\end{matrix} \right. $$ </tex-math></disp-formula></p>
          <p>Therefore, <italic>ρ</italic> is updated by the optimizer, while <inline-formula><tex-math id="M1">$$ \widetilde{\mathbf{\rho}} $$</tex-math></inline-formula> defines the physical densities on the designable elements. The assembled field <italic>ρ</italic><sup>full</sup> defines the material distribution over the whole mesh and is used in FEA and objective evaluation. For structural problems with passive domains, the structural tools apply the implemented material constraint over the designable elements:</p>
          <p><disp-formula> <label>(11)</label> <tex-math id="E1"> $$ \frac{1}{|\mathcal{I}_{d}|}\sum_{e \in \mathcal{I}_{d}}^{}{\widetilde{\rho}}_{e} \leq V_{f}. $$ </tex-math></disp-formula></p>
        </sec>
        <sec id="sec2-1-3">
          <title>Multi-load-case topology optimization</title>
          <p>For problems with multiple load cases, the same density field is shared by all load cases. The objective is the sum of compliances,</p>
          <p><disp-formula> <label>(12)</label> <tex-math id="E1"> $$ J_{\mathrm{multi}}(\boldsymbol{\rho}) = \sum_{m = 1}^{N_{L}}\mathbf{F}_{m}^{T}\mathbf{U}_{m},\quad\quad\mathbf{K}(\boldsymbol{\rho}^{\mathrm{full}})\mathbf{U}_{m} = \mathbf{F}_{m}, $$ </tex-math></disp-formula></p>
          <p>where <italic>N<sub>L</sub></italic> is the number of load cases. The material-volume constraint is imposed on the densities of the designable elements using Equation (11).</p>
        </sec>
        <sec id="sec2-1-4">
          <title>Stress-constrained topology optimization</title>
          <p>For stress-constrained problems, TO-Master uses a differentiable aggregated stress constraint. Directly constraining the maximum von Mises stress is numerically inconvenient because the maximum operator is non-smooth and stresses in low-density elements may introduce singular or noisy sensitivities. To obtain a stable constraint for gradient-based optimization, the stress is evaluated using a density-weighted stress measure and then aggregated by a <italic>p</italic>-norm, following the maximum-stress-measure strategy used in stress-constrained TO<sup>[<xref ref-type="bibr" rid="B33">33</xref>]</sup>.</p>
          <p>The density-weighted stress is computed with</p>
          <p><disp-formula> <label>(13)</label> <tex-math id="E1"> $$ E_{e}^{\sigma} = E_{\max}\left( \rho_{e}^{\mathrm{full}} \right)^{p_{\sigma}}, $$ </tex-math></disp-formula></p>
          <p>where <italic>p<sub>σ</sub></italic> = 0.5 in the implementation. This weighting reduces the influence of low-density regions in the stress constraint while retaining a smooth dependence on the design variables. The elemental stress value is defined as the element-averaged density-weighted von Mises stress,</p>
          <p><disp-formula> <label>(14)</label> <tex-math id="E1"> $$ {\bar{\sigma}}_{vm,e} = \frac{\int_{\Omega_{e}}^{}\sigma_{vm}(\mathbf{x})\, d\Omega}{\int_{\Omega_{e}}^{}d\Omega}. $$ </tex-math></disp-formula></p>
          <p>The element average reduces quadrature-point noise and provides one representative stress value for each element.</p>
          <p>The global stress measure is approximated by</p>
          <p><disp-formula> <label>(15)</label> <tex-math id="E1"> $$ P_{\sigma} = \left[ \sum_{e}^{}\left( \frac{{\bar{\sigma}}_{vm,e}}{\sigma_{allow}} \right)^{p_{s}} \right]^{1/p_{s}}, $$ </tex-math></disp-formula></p>
          <p>where <italic>p<sub>s</sub></italic> = 12 and <italic>σ</italic><sub>allow</sub> is the prescribed allowable stress. To improve the approximation to the maximum stress, an iteration-dependent scaling factor is applied based on the adaptive normalization approach of <InlineParagraph>Le <italic>et al.</italic><sup>[<xref ref-type="bibr" rid="B34">34</xref>]</sup>:</InlineParagraph></p>
          <p><disp-formula> <label>(16)</label> <tex-math id="E1"> $$ c_{\sigma}^{(k)} = q_{n}\frac{\sigma_{\max}^{(k - 1)}}{\sigma_{allow}P_{\sigma}^{(k - 1)}} + (1 - q_{n})c_{\sigma}^{(k - 1)},\quad\quad q_{n} = 0.5. $$ </tex-math></disp-formula></p>
        <p>The stress constraint is then written as</p>
          <p><disp-formula> <label>(17)</label> <tex-math id="E1"> $$ g_{\sigma}(\boldsymbol{\rho}) = c_{\sigma}P_{\sigma} - 1 \leq 0. $$ </tex-math></disp-formula></p>
        <p>The complete stress-constrained problem is</p>
          <p><disp-formula> <label>(18)</label> <tex-math id="E1"> $$ \begin{aligned}
\min_{\rho}\quad\ J(\boldsymbol{\rho}) = \mathbf{F}^{T}\mathbf{U}, \\
\text{s.t.}\quad \mathbf{K}(\boldsymbol{\rho}^{\mathrm{full}})\mathbf{U} = \mathbf{F}, \\
\ \frac{1}{|\mathcal{I}_{d}|}\sum_{e \in \mathcal{I}_{d}}^{}{\widetilde{\rho}}_{e} \leq V_{f}, \\
\ g_{\sigma}(\boldsymbol{\rho}) \leq 0, \\
\ 0 \leq \rho_{e} \leq 1,\quad\quad e \in \mathcal{I}_{d}.
\end{aligned} $$ </tex-math></disp-formula></p>
          <p>After optimization, TO-Master also evaluates the von Mises stress on the thresholded solid topology for validation and visualization. This post-processed solid-material stress is not used as the optimization constraint.</p>
        </sec>
        <sec id="sec2-1-5">
          <title>Thermal topology optimization</title>
        <p>For thermal conduction problems, TO-Master solves the steady-state heat conduction equation in weak form: find <italic>T<sup>h</sup></italic> ∈ <italic>V<sub>T</sub></italic> such that</p>
          <p><disp-formula> <label>(19)</label> <tex-math id="E1"> $$ \int_{\Omega}^{}k(\rho^{\mathrm{full}})\nabla T^{h} \cdot \nabla v\, d\Omega = \int_{\Omega}^{}qv\, d\Omega + \int_{\Gamma_{q}}^{}\bar{q}v\, d\Gamma,\quad\quad\forall v \in V_{0}, $$ </tex-math></disp-formula></p>
        <p>where <italic>T<sup>h</sup></italic> is the finite element temperature field, <italic>q</italic> is the volumetric heat source, <italic>V<sub>T</sub></italic> satisfies the prescribed temperature boundary conditions on <italic>Γ<sub>T</sub></italic>, <italic>V</italic><sub>0</sub> is the corresponding test space with homogeneous temperature conditions on <italic>Γ<sub>T</sub></italic>, and <inline-formula><tex-math id="M1">$$ \bar{q} $$</tex-math></inline-formula> is the prescribed heat flux on <italic>Γ<sub>q</sub></italic>. Boundary segments without a prescribed temperature or heat flux are treated as insulated boundaries, i.e., <inline-formula><tex-math id="M1">$$ \bar{q} = 0 $$</tex-math></inline-formula>. The effective thermal conductivity is interpolated as</p>
          <p><disp-formula> <label>(20)</label> <tex-math id="E1"> $$ k_{e} = k_{\min} + (k_{\max} - k_{\min})\left( \rho_{e}^{\mathrm{full}} \right)^{p}, $$ </tex-math></disp-formula></p>
          <p>where <italic>k</italic><sub>max</sub> and <italic>k</italic><sub>min</sub> are the solid and ersatz conductivities.</p>
          <p>The thermal objective is the heat-source-weighted temperature integral,</p>
          <p><disp-formula> <label>(21)</label> <tex-math id="E1"> $$ J_{T}(\boldsymbol{\rho}) = \int_{\Omega}^{}qT\, d\Omega. $$ </tex-math></disp-formula></p>
          <p>This objective follows the standard thermal compliance-type formulation used in heat-conduction TO<sup>[<xref ref-type="bibr" rid="B35">35</xref>]</sup>. </p>
        <p>The thermal optimization problem is written as</p>
          <p><disp-formula> <label>(22)</label> <tex-math id="E1"> $$ \begin{aligned}
\min_{\rho}\quad\ J_{T}(\rho), \\
\text{s.t.}\quad  - \nabla \cdot \left[ k(\rho^{\mathrm{full}})\nabla T \right] = q, \\
\frac{1}{|\mathcal{I}_{d}|}\sum_{e \in \mathcal{I}_{d}}^{}{\widetilde{\rho}}_{e} \leq V_{f}, \\
\ 0 \leq \rho_{e} \leq 1,\quad\quad e \in \mathcal{I}_{d}.
\end{aligned} $$ </tex-math></disp-formula></p>
        </sec>
        <sec id="sec2-1-6">
          <title>Sensitivity analysis and gradient-based optimization</title>
        <p>The TO problems described above are solved as PDE-constrained optimization problems. Following the discretize-then-optimize strategy used in JAX-FEM<sup>[<xref ref-type="bibr" rid="B10">10</xref>]</sup>, the governing equations are first discretized by FEM, and the resulting finite-dimensional optimization problem is then solved. To cover both structural and thermal problems, the discrete state variable is denoted by <italic>s</italic>, where <italic>s </italic>=<italic> U</italic> for structural analysis and <italic>s </italic>=<italic> T</italic> for thermal conduction. The discretized governing equation is written as</p>
          <p><disp-formula> <label>(23)</label> <tex-math id="E1"> $$ \mathbf{C}(\mathbf{s},\boldsymbol{\rho}) = \mathbf{0}, $$ </tex-math></disp-formula></p>
          <p>where C is the assembled residual after imposing the prescribed boundary conditions.</p>
        <p>The solution of Equation (23) defines the state as an implicit function of the design, <italic>s </italic>=<italic> s</italic>(<italic>ρ</italic>). The reduced objective and constraints are</p>
          <p><disp-formula> <label>(24)</label> <tex-math id="E1"> $$ \widehat{J}(\boldsymbol{\rho}) = J\left( \mathbf{s}(\boldsymbol{\rho}),\boldsymbol{\rho} \right),\quad\quad{\widehat{g}}_{i}(\boldsymbol{\rho}) = g_{i}\left( \mathbf{s}(\boldsymbol{\rho}),\boldsymbol{\rho} \right), $$ </tex-math></disp-formula></p>
        <p>and the reduced TO problem is</p>
          <p><disp-formula> <label>(25)</label> <tex-math id="E1"> $$ \begin{aligned}
\min_{\rho \in [ 0,1]^{N_{\rho}}}\quad\ \widehat{J}(\boldsymbol{\rho}), \\
\text{s.t.}\quad {\widehat{g}}_{i}(\boldsymbol{\rho}) \leq 0,\quad\quad i = 1,\ldots,N_{g},
\end{aligned}, $$ </tex-math></disp-formula></p>
          <p>where <italic>N<sub>ρ</sub></italic> is the number of design variables and <italic>N<sub>g</sub></italic> is the number of inequality constraints.</p>
        <p>For gradient-based optimization, the derivative of the reduced objective is computed by differentiating the residual equation. The chain rule gives</p>
          <p><disp-formula> <label>(26)</label> <tex-math id="E1"> $$ \frac{d\widehat{J}}{d\boldsymbol{\rho}} = \frac{\partial J}{\partial\mathbf{s}}\frac{d\mathbf{s}}{d\boldsymbol{\rho}} + \frac{\partial J}{\partial\boldsymbol{\rho}}, $$ </tex-math></disp-formula></p>
        <p>while differentiating <italic>C</italic> (<italic>s </italic>(<italic>ρ</italic>), <italic>ρ</italic>) = 0 yields</p>
          <p><disp-formula> <label>(27)</label> <tex-math id="E1"> $$ \frac{\partial\mathbf{C}}{\partial\mathbf{s}}\frac{d\mathbf{s}}{d\boldsymbol{\rho}} + \frac{\partial\mathbf{C}}{\partial\boldsymbol{\rho}} = \mathbf{0}. $$ </tex-math></disp-formula></p>
        <p>Since the number of design variables is typically large in TO, the adjoint form is used for efficiency. Introducing the adjoint variable λ, we solve</p>
          <p><disp-formula> <label>(28)</label> <tex-math id="E1"> $$ \left( \frac{\partial\mathbf{C}}{\partial\mathbf{s}} \right)^{T}\boldsymbol{\lambda} = \left( \frac{\partial J}{\partial\mathbf{s}} \right)^{T}, $$ </tex-math></disp-formula></p>
        <p>and obtain</p>
          <p><disp-formula> <label>(29)</label> <tex-math id="E1"> $$ \frac{d\widehat{J}}{d\boldsymbol{\rho}} = \frac{\partial J}{\partial\boldsymbol{\rho}} - \boldsymbol{\lambda}^{T}\frac{\partial\mathbf{C}}{\partial\boldsymbol{\rho}}. $$ </tex-math></disp-formula></p>
          <p>The same adjoint procedure is applied to state-dependent constraints, such as the aggregated stress constraint.</p>
          <p>In TO-Master, residual assembly, constitutive evaluation, state solution, objective evaluation, and constraint evaluation are implemented through JAX-FEM<sup>[<xref ref-type="bibr" rid="B10">10</xref>]</sup>. The adjoint method is implemented with customized differentiation rules, which enable the automated computation of the required sensitivity terms. This avoids manual implementation of case-specific sensitivity expressions and keeps the sensitivities consistent with the discretized FEM model.</p>
          <p>With the objective and constraint sensitivities available, the design variables are updated using the method of moving asymptotes (MMA)<sup>[<xref ref-type="bibr" rid="B36">36</xref>]</sup>. At each iteration, the FEM solver evaluates the state field, objective, constraints, and gradients, and MMA updates the design variables under the prescribed move limit and constraint settings.</p>
        </sec>
      </sec>
      <sec id="sec2-2">
        <title>LLM-agent framework design</title>
        <p>In this section, we present the LLM-agent framework design of TO-Master. The numerical optimization follows the sensitivity analysis and MMA-based update scheme described in Section “Sensitivity analysis and gradient-based optimization”. Built on the agent execution infrastructure provided by Bohrium<sup>[<xref ref-type="bibr" rid="B37">37</xref>]</sup>, TO-Master connects user-level problem descriptions with finite-element-based TO tools. As shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>, the framework accepts natural language specifications together with optional mesh, geometry, or image inputs. These inputs are translated into a finite element TO model, whose mesh and boundary-condition setup are checked before optimization. The framework then executes the corresponding TO workflow and returns optimized results, field distributions, and convergence histories.</p>
        <fig id="fig2" position="float">
          <label>Figure 2</label>
          <caption>
            <p>Overview of the TO-Master tool-orchestrated LLM-agent architecture. Natural language specifications and optional mesh, geometry, or image inputs are interpreted by the LLM agent and converted into verified finite element TO models. The framework supports model construction, mesh and boundary-condition checking, optimization execution, and the generation of optimized results, field distributions, and convergence histories. ADK: Agent Development Kit; BCs: boundary conditions; FEA: finite element analysis; FEM: finite element method; HTML: HyperText Markup Language; LLM: large language model; MCP: Model Context Protocol; MMA: method of moving asymptotes; STL: stereolithography; TO: topology optimization; VTU: Visualization Toolkit XML-based unstructured-grid file format.</p>
          </caption>
          <graphic xlink:href="jm1003.fig.2.jpg"/>
        </fig>
        <p>The software stack is organized as follows. Google Agent Development Kit (ADK)<sup>[<xref ref-type="bibr" rid="B38">38</xref>]</sup> runs the LLM agent and manages dialogue state, instructions, and tool selection. The Model Context Protocol (MCP)<sup>[<xref ref-type="bibr" rid="B39">39</xref>]</sup> defines the typed interface through which the agent calls computational tools. The bohr-agent-sdk handles tool execution, status tracking, logging, and artifact management. The TO-Master MCP server implements the domain-specific TO tools, including mesh processing, boundary-condition checking, topology optimization, and result post-processing. The FEA and sensitivity evaluation are performed by the JAX-FEM-based solver described in Section “Sensitivity analysis and gradient-based optimization”.</p>
        <p>As an LLM-agent framework, TO-Master converts user intent into structured tool arguments and coordinates the execution of the TO workflow. Its numerical reliability comes from coupling this agent-level coordination with deterministic computational tools: mesh generation, mesh inspection, boundary-condition visualization, FEA, sensitivity evaluation, optimization, and post-processing are performed by predefined solver modules. Thus, TO-Master provides a conversational interface for TO problem formulation and execution while preserving the underlying numerical modeling and optimization procedures.</p>
        <p>The original evaluations in Section “RESULTS AND DISCUSSION” used DeepSeek-V4-Flash for the benchmark cases, extended cases, and prompt-ablation study. No manual sampling parameters were specified for the main agent; the provider-default inference settings were therefore used. The configuration of the supplementary repeatability experiments is described in <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material A</inline-supplementary-material>.</p>
        <p>The following subsections describe the main framework components of TO-Master: the few-shot and reasoning-guided prompt design, the TO-Master tool layer, and the LLM-agent-orchestrated workflow. </p>
        <sec id="sec2-2-1">
          <title>Few-shot and reasoning-guided prompt design</title>
          <p>The TO-Master agent is configured by a structured system instruction, whose organization is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>. The complete instruction used in the numerical experiments is provided in <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material B</inline-supplementary-material>. The instruction contains four parts: role specification, tool-usage rules, internal reasoning guidance, and few-shot examples. </p>
          <fig id="fig3" position="float">
            <label>Figure 3</label>
            <caption>
              <p>Structure of the TO-Master system instruction. The instruction comprises role specification, tool-usage rules, internal reasoning guidance, and few-shot examples. The ablation study separately removes the latter three components, while role specification is retained in all configurations. 2D: Two-dimensional; 3D: three-dimensional; BC: boundary condition; MCP: Model Context Protocol; No-CoT: removal of chain-of-thought guidance; No-FS: removal of few-shot examples; No-TC: removal of tool-interface documentation; OBJ: Wavefront OBJ geometry-file format; TO: topology optimization.</p>
            </caption>
            <graphic xlink:href="jm1003.fig.3.jpg"/>
          </fig>
          <p>The role specification defines the agent as a domain-specialized assistant for JAX-FEM mesh generation, mesh and boundary-condition checking, and topology optimization. This role definition anchors the agent to TO-related tasks and prevents it from treating the interaction as a general code-generation problem. </p>
          <p>The tool-usage rules define the allowed computational interface. They specify the available MCP tools, legal boundary-condition selection formats, expected argument fields, returned artifact structures, and user-confirmation requirements. In particular, topology optimization tools require prior mesh and boundary-condition checking, followed by user confirmation through the bc_confirmed flag. These rules constrain the execution order and prevent the agent from directly launching an optimization run before the finite element TO model has been checked. </p>
          <p>The internal reasoning guidance provides a formulation checklist for the agent. It guides the agent to identify the problem type, distinguish mechanical and thermal TO, determine the spatial dimension, identify the mesh source, extract boundary conditions, loads, passive domains, material parameters, volume fraction, and optimization settings, and then select the next safe tool call. This reasoning process is used internally and is not shown to the user; the user only receives the resulting permission request, tool output summary, and links to generated artifacts. </p>
          <p>The few-shot examples provide concrete mappings from ambiguous user requests to complete tool plans. They cover uploaded mesh preview, image-to-mesh conversion, mechanical compliance TO, stress-constrained TO, thermal TO, multi-load-case TO, and unsupported direct-solve requests. Each example includes an easy prompt, an inferred complete specification, a concrete tool plan, and a user-visible permission request. These examples help the agent resolve common ambiguities, such as finite load patches, passive-domain assignment, insulated thermal boundaries, and the choice between single-load, multi-load, and stress-constrained solvers. </p>
        </sec>
      </sec>
      <sec id="sec2-3">
        <title><italic>TO-Master tool layer</italic></title>
        <p>The TO-Master MCP server exposes domain-specific tools for mesh preparation, mesh and boundary-condition checking, TO execution, and postprocessing. Each tool is called with typed arguments and returns structured outputs, including execution status, input parameters, artifacts, metrics, and text summaries. This tool layer is central to TO-Master: it allows the LLM agent to automate TO workflows by orchestrating deterministic numerical modules, rather than by generating solver code. </p>
        <p>For mesh preparation, TO-Master supports generated meshes, uploaded meshes, and image-derived mesh models. Rectangular and box meshes are generated using JAX-FEM-based utilities, while cylinder and geometry-based box meshes can be generated using Gmsh<sup>[<xref ref-type="bibr" rid="B40">40</xref>]</sup>. Uploaded meshes are inspected before use, with dimensions, bounding boxes, node and cell counts, and preview images reported to the user. For image inputs, a TripoSR-based module<sup>[<xref ref-type="bibr" rid="B41">41</xref>]</sup> reconstructs an OBJ surface, which is then converted into a voxelized hexahedral volume mesh. This enables the same agent workflow to handle regular benchmark domains, user-provided engineering meshes, and image-derived geometry inputs.</p>
        <p>For mesh and boundary-condition checking, TO-Master visualizes supports, loads, and thermal boundary conditions selected by box or cylindrical regions. The checking tools report empty selections and return preview images and interactive HyperText Markup Language (HTML) files. For mechanical problems, a full-material FEA check is also used to detect nearly trivial displacement responses, which may indicate ineffective loads or ill-posed boundary conditions. For problems with multiple load cases, each load case is checked separately.</p>
        <p>With prior checking and user confirmation through the bc_confirmed flag, which reduces the risk of silent formulation errors, the optimization tools support 2D and 3D structural compliance TO, multi-load-case structural compliance TO, stress-constrained structural TO, and steady-state thermal conduction TO. They share common arguments for mesh paths, boundary conditions, material parameters, volume fractions, filter settings, move limits, iteration numbers, optional Heaviside projection, and passive domains. Passive domains are passed as undesign_domains and kept solid during optimization. Postprocessing exports optimized density fields, field distributions, convergence histories, Visualization Toolkit XML-based unstructured-grid (VTU) files, interactive HTML views, and stereolithography (STL) surface models for optimized results, making the optimized results and convergence behavior inspectable.</p>
      </sec>
      <sec id="sec2-4">
        <title><italic>LLM-agent-orchestrated workflow</italic></title>
        <p>The agent workflow converts a user request into a checked and executable TO problem. The LLM agent interprets the design domain, mesh source, boundary conditions, loads, passive domains, material parameters, objective type, physical constraints, and optimization settings, and then selects the appropriate mesh, checking, and optimization tools. Regular domains are generated directly, uploaded meshes are previewed before use, and image inputs are processed through the image-to-geometry and geometry-to-mesh pipeline.</p>
        <p>A key feature is staged user confirmation. Before critical tool calls, the agent summarizes the inferred action, names the tool to be called, lists the key parameters, and asks for user approval. After mesh and boundary-condition checking, the agent reports artifacts, metrics, and warnings, and proceeds to optimization only after confirmation. If a tool returns a warning or failure status, the agent reports the issue and pauses instead of continuing silently. </p>
        <p>After confirmation, the selected optimization tool is called with typed arguments. The deterministic solver evaluates the finite element state, objective, constraints, and sensitivities, and MMA updates the density variables as described in<bold> </bold>Section “Sensitivity analysis and gradient-based optimization”. After optimization, TO-Master returns optimized results, field distributions, convergence histories, and interactive visualizations. In this workflow, the LLM handles interpretation, tool selection, and user interaction, while deterministic tools handle mesh processing, FEA, optimization, and postprocessing. This division makes the workflow reproducible while retaining the flexibility of natural language interaction. </p>
      </sec>
    </sec>
    <sec id="sec3">
      <title>RESULTS AND DISCUSSION</title>
      <sec id="sec3-1">
        <title>Benchmark and engineering examples</title>
        <p>This section evaluates the robustness and applicability of TO-Master through a set of benchmark and engineering topology optimization examples. The examples cover two- and three-dimensional benchmark structures, thermal conduction, multi-load structural compliance minimization, stress-constrained problems, arbitrary geometries, and image-to-optimization cases. They are designed to assess whether TO-Master can translate natural language specifications into solver-ready topology optimization problems across different problem settings. </p>
        <p>All examples use the same differentiable FEM backend and gradient-based optimization framework. The geometry, boundary conditions, and optimization constraints are varied across cases. For each example, the constructed boundary conditions, convergence histories, constraint values, and optimized results are recorded for analysis. </p>
        <p>The problem specifications for all eleven cases were prepared by the first author before being provided to TO-Master. These specifications serve as the expert reference for evaluating the agent-generated optimization inputs. For Cases 1-6, the precise-prompt reference runs from the ablation study are used consistently in <xref ref-type="fig" rid="fig4">Figures 4</xref> and <xref ref-type="fig" rid="fig5">5</xref>.</p>
        <fig id="fig4" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Boundary conditions for the benchmark cases. (A) Case 1, 2D cantilever beam; (B) Case 2, 3D cantilever beam; (C) Case 3, 2D bridge; (D) Case 4, 3D bridge; (E) Case 5, 2D heat conduction; (F) Case 6, 3D tower with multiple load cases. 2D: Two-dimensional; 3D: three-dimensional.</p>
          </caption>
          <graphic xlink:href="jm1003.fig.4.jpg"/>
        </fig>
        <fig id="fig5" position="float">
          <label>Figure 5</label>
          <caption>
            <p>Topology optimization results for the benchmark cases. The figure depicts the displacement magnitude for Cases 1-4, the material density field for Case 5, and the aggregated displacement magnitude for Case 6. (A) Case 1, 2D cantilever beam; (B) Case 2, 3D cantilever beam; (C) Case 3, 2D bridge; (D) Case 4, 3D bridge; (E) Case 5, 2D heat conduction; (F) Case 6, 3D tower with multiple load cases. For Case 6, the aggregated displacement magnitude is defined as <inline-formula><tex-math id="M1">$$ u_{agg} = \sqrt{\left|\mathbf{u}^{(1)}\right|_2^2
    + \left|\mathbf{u}^{(2)}\right|_2^2} $$</tex-math></inline-formula>, where u<sup>(1)</sup> and u<sup>(2)</sup> are the displacement fields obtained from the two separate load-case solutions. 2D: Two-dimensional; 3D: three-dimensional.</p>
          </caption>
          <graphic xlink:href="jm1003.fig.5.jpg"/>
        </fig>
        <p>For the structural cases with regular geometries (Cases 1-4 and 6-8), the adopted unit system is m-N-Pa: coordinates and displacements are expressed in m, forces in N, and Young’s modulus, surface tractions, and stresses in Pa. Cases 9 and 10 use the mm-μN-Pa convention described in Section “Optimization for structures with arbitrary geometries”, while Case 11 uses normalized geometry coordinates. For the thermal case, lengths are expressed in m, temperature in °C, thermal conductivity in W/(m·K), and the volumetric heat source in W/m<sup>3</sup>, with a unit-thickness interpretation of the 2D domain. The solver uses numerical inputs directly without automatic unit conversion. Mechanical loads described as “pressure” in the prompts are implemented as prescribed traction vectors.</p>
        <p>All coordinate bounds and traction components are specified in the coordinate system of the corresponding mesh. The convention in <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material B</inline-supplementary-material> maps “downward” to negative y in 2D and negative z in 3D when no coordinate direction is explicitly specified. Explicit coordinate directions take precedence; Cases 7, 8, and 10 prescribe loading in the negative y-direction of their respective mesh coordinate systems.</p>
        <p>The eleven cases are organized into regular benchmark cases and extended engineering examples. Cases 1-6 test standard structural, thermal, and multi-load formulations on regular domains, whereas Cases 7-11 examine stress constraints, arbitrary engineering geometries, and image-to-optimization. </p>
        <p><xref ref-type="table" rid="t2">Table 2</xref> lists the eleven cases with their geometries and boundary conditions. Cases 1-6 are regular geometry problems, including two-dimensional and three-dimensional structural compliance minimization, thermal conduction, and a multi-load tower structure. Cases 7-8 are stress-constrained optimization problems. Cases 9-10 involve arbitrary three-dimensional engineering geometries. Case 11 uses a geometry and mesh reconstructed from a 2D image input. </p>
        <table-wrap id="t2">
          <label>Table 2</label>
          <caption>
            <p>Summary of the benchmark and extended topology optimization cases evaluated using TO-Master</p>
          </caption>
          <table frame="hsides" rules="groups">
  <tbody>
    <tr>
      <td>
        <bold>Case ID</bold>
      </td>
      <td>
        <bold>Geometry</bold>
      </td>
      <td>
        <bold>Boundary conditions</bold>
      </td>
    </tr>
    <tr>
      <td>1</td>
      <td>2D cantilever beam</td>
      <td>Left edge fixed; surface traction applied at the lower-right corner</td>
    </tr>
    <tr>
      <td>2</td>
      <td>3D cantilever beam</td>
      <td>Left side fixed; surface traction applied at the lower-right corner</td>
    </tr>
    <tr>
      <td>3</td>
      <td>2D bridge</td>
      <td>Bottom-left and bottom-right corners fixed; surface traction applied on the top boundary</td>
    </tr>
    <tr>
      <td>4</td>
      <td>3D bridge</td>
      <td>Bottom-left and bottom-right corners fixed; surface traction applied on the top boundary</td>
    </tr>
    <tr>
      <td>5</td>
      <td>2D thermal conduction</td>
      <td>Uniform internal heat source; fixed-temperature cold sink applied to the central region of the left boundary</td>
    </tr>
    <tr>
      <td>6</td>
      <td>3D tower (Multiple load cases)</td>
      <td>Bottom fixed; two load cases considered: (1) downward surface traction applied on the top surface; (2) rightward surface traction applied on the left surface</td>
    </tr>
    <tr>
      <td>7</td>
      <td>3D L-Shaped beam (Stress constraint)</td>
      <td>Top-left support region fixed; surface traction in the negative <italic>y</italic>-direction applied on the right-side loading patch</td>
    </tr>
    <tr>
      <td>8</td>
      <td>3D T-Shaped beam (Stress constraint)</td>
      <td>Two support regions fixed; surface traction in the negative <italic>y</italic>-direction applied on the central loading patch</td>
    </tr>
    <tr>
      <td>9</td>
      <td>3D Jet engine bracket (Arbitrary geometry)</td>
      <td>Four lower bolt holes fixed; inclined surface traction applied at the upper pin hole</td>
    </tr>
    <tr>
      <td>10</td>
      <td>3D Airplane bearing bracket (Arbitrary geometry)</td>
      <td>Four lower bolt holes fixed; surface traction in the negative <italic>y</italic>-direction applied at the right-side pin hole</td>
    </tr>
    <tr>
      <td>11</td>
      <td>3D Dog-Bone-Shaped specimen (Image input)</td>
      <td>Left end fixed; downward surface traction applied at the right end</td>
    </tr>
  </tbody>
</table>
          <table-wrap-foot>
            <fn id="t2FN1">
              <p>2D: Two-dimensional; 3D: three-dimensional.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <p>All cases are formulated through natural language interaction with TO-Master, without user-written solver code. The detailed prompts are provided in <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material C</inline-supplementary-material>. The corresponding boundary conditions are shown in <xref ref-type="fig" rid="fig4">Figures 4</xref> and <xref ref-type="fig" rid="fig6">6</xref>, and the optimized results are shown in <xref ref-type="fig" rid="fig5">Figures 5</xref> and <xref ref-type="fig" rid="fig7">7</xref>.</p>
        <fig id="fig6" position="float">
          <label>Figure 6</label>
          <caption>
            <p>Boundary conditions for the extended cases. (A) Case 7, 3D L-shaped beam with stress constraint; (B) Case 8, 3D T-shaped beam with stress constraint; (C) Case 9, 3D jet engine bracket with arbitrary geometry; (D) Case 10, 3D airplane bearing bracket with arbitrary geometry; (E) Case 11, 3D dog-bone-shaped specimen generated from image input. Geometry coordinates are expressed in mm for Cases 9-10 and in normalized length units for Case 11. 3D: Three-dimensional.</p>
          </caption>
          <graphic xlink:href="jm1003.fig.6.jpg"/>
        </fig>
        <fig id="fig7" position="float">
          <label>Figure 7</label>
          <caption>
            <p>Topology optimization results for the extended cases. For each case, the figure depicts the von Mises stress or the displacement magnitude of the optimized results under the prescribed boundary conditions. (A) Case 7, 3D L-shaped beam with stress constraint; (B) Case 8, 3D T-shaped beam with stress constraint; (C) Case 9, 3D jet engine bracket with arbitrary geometry; (D) Case 10, 3D airplane bearing bracket with arbitrary geometry; (E) Case 11, 3D dog-bone-shaped specimen generated from image input. For Cases 7 and 8, the displayed stress field is evaluated on the thresholded solid topology. 3D: Three-dimensional.</p>
          </caption>
          <graphic xlink:href="jm1003.fig.7.jpg"/>
        </fig>
        <sec id="sec3-1-1">
          <title>Optimization on regular benchmark problems</title>
          <p>Cases 1-6 in <xref ref-type="table" rid="t2">Table 2</xref> evaluate the basic optimization capability of TO-Master on regular domains. Their boundary conditions are shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>, and the corresponding optimized results are shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>. These cases include cantilever beams, bridge structures, a thermal conduction problem, and a multi-load tower problem. </p>
          <p>The thermal benchmark, Case 5, uses a square domain with dimensions 5 m × 5 m and an element size of <InlineParagraph>0.1 m.</InlineParagraph> A uniform internal heat source of 1 W·m<sup>-3</sup> is applied over the whole domain. The cold sink is prescribed as a reference temperature <italic>T</italic> = 0 °C on the middle part of the left boundary. The maximum and minimum thermal conductivities are <italic>k</italic><sub>max</sub> = 1.0 W·m<sup>-1</sup>·K<sup>-1</sup> and <italic>k</italic><sub>min</sub> = 10<sup>-3</sup> W·m<sup>-1</sup>·K<sup>-1</sup>, respectively. The other boundaries are insulated by omitting heat-flux boundary conditions. </p>
          <p>For clarity, the intermediate interaction process is illustrated using the three-dimensional bridge case as a representative example (Case 4 in <xref ref-type="table" rid="t2">Table 2</xref>; see <xref ref-type="fig" rid="fig4">Figure 4D</xref> and <xref ref-type="fig" rid="fig5">Figure 5D</xref>). The design domain has dimensions 40 m × 5 m × 20 m. The lower-left and lower-right corner regions are fixed with zero displacement, and a downward surface traction of 1,000 Pa is applied on the top surface. The top layer is preserved as a passive domain to maintain the loading interface during optimization. The default Young’s modulus is <italic>E</italic> = 70 GPa, the Poisson’s ratio is <italic>v</italic> = 0.3, and a volume fraction constraint of 0.2 is imposed. The optimization is run for 100 iterations. </p>
          <p>A fuzzy natural language prompt used for this case is shown below. This prompt is the same as the fuzzy prompt used in the ablation study. The corresponding coordinate-level precise prompt is provided in <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material C</inline-supplementary-material>.</p>
        </sec>
        <sec id="sec3-1-1-1">
          <title><bold>·</bold> Fuzzy natural language problem description used for Case 4</title>
          <p>Create a 3D bridge benchmark with a 40 × 5 × 20 mesh. Support both lower-end corners and apply downward pressure of 1,000 across the top surface. Keep the top layer as a passive domain. Use 20 percent material, run 100 optimization steps, set the step size to 0.1, and use a filter factor of 2.</p>
          <p>Using the full instruction, TO-Master translates the fuzzy natural language description into a solver-ready problem, including mesh generation, boundary condition visualization, passive-domain assignment, and topology optimization.</p>
          <p>The optimized results exhibit load paths and structural features qualitatively consistent with classical topology optimization benchmarks.</p>
        </sec>
        <sec id="sec3-1-2">
          <title>Stress-constrained optimization</title>
          <p>Cases 7 and 8 evaluate the ability of TO-Master to construct stress-constrained topology optimization problems from natural language descriptions. The boundary conditions and optimized results are shown in <xref ref-type="fig" rid="fig6">Figure 6A</xref> and <xref ref-type="fig" rid="fig6">B</xref> and <xref ref-type="fig" rid="fig7">Figure 7A</xref> and <xref ref-type="fig" rid="fig7">B</xref>, respectively. The corresponding iteration histories are reported in <xref ref-type="fig" rid="fig8">Figure 8</xref>.</p>
          <fig id="fig8" position="float">
            <label>Figure 8</label>
            <caption>
              <p>Iteration histories for the two stress-constrained cases. For each case, the figure depicts the histories of the objective function, the maximum density-weighted von Mises stress, and the volume fraction. (A) Case 7, 3D L-shaped beam; (B) Case 8, 3D T-shaped beam. 3D: Three-dimensional.</p>
            </caption>
            <graphic xlink:href="jm1003.fig.8.jpg"/>
          </fig>
          <p>Unlike standard structural compliance minimization, these cases require the agent to parse the stress limit and stress-related solver parameters in addition to the geometry, supports, and loads. </p>
          <p>In Case 7, the L-shaped beam is fixed at the top-left support region. A surface traction of -1,000 Pa in the <italic>y</italic>-direction is applied to the right-side loading patch, which is preserved as a passive domain. The optimization is performed with a volume fraction of 0.3, 150 optimization iterations, a filter factor of 2, and a maximum allowable density-weighted von Mises stress of 1,360 Pa. </p>
          <p>In Case 8, the T-shaped beam is fixed at two support regions. A surface traction of -100,000 Pa in the <italic>y</italic>-direction is applied to the central loading patch, which is also assigned as a passive domain. The optimization uses a volume fraction of 0.3, 150 optimization iterations, a filter factor of 2, and a maximum allowable density-weighted von Mises stress of 111,500 Pa. </p>
          <p>The prescribed stress limits of 1,360 Pa and 111,500 Pa for Cases 7 and 8, respectively, were selected through preliminary numerical trials as parameters for these demonstration cases.</p>
          <p>The final maximum density-weighted von Mises stresses are 1,359.75 Pa for Case 7 and 110,687.88 Pa for Case 8, both below their prescribed limits. After thresholding the physical density at 0.5 and re-evaluating the resulting solid topology, the maximum von Mises stresses over the solid elements are 1,380.93 Pa and 110,413.67 Pa, respectively. The post-processed result for Case 7 therefore exceeds its prescribed limit by approximately 1.54%, whereas Case 8 remains below its limit. These results distinguish the density-weighted stress measure used during optimization from the solid-material stress evaluated after thresholding. </p>
        </sec>
        <sec id="sec3-1-3">
          <title>Optimization for structures with arbitrary geometries</title>
          <p>Cases 9 and 10 examine TO-Master on arbitrary engineering geometries. The geometries of the jet engine bracket (Case 9) and airplane bearing bracket (Case 10) originate from the GE Jet Engine Bracket Challenge<sup>[<xref ref-type="bibr" rid="B42">42</xref>]</sup> and the Alcoa Airplane Bearing Bracket Challenge<sup>[<xref ref-type="bibr" rid="B43">43</xref>]</sup>, respectively, both hosted on GrabCAD. Their boundary conditions and optimized results are shown in <xref ref-type="fig" rid="fig6">Figure 6C</xref> and <xref ref-type="fig" rid="fig6">D</xref> and <xref ref-type="fig" rid="fig7">Figure 7C</xref> and <xref ref-type="fig" rid="fig7">D</xref>, respectively. Compared with regular box-like domains, these cases require the agent to associate supports, loads, and passive domains with cylindrical geometric features such as bolt holes and pin holes.</p>
          <p>Cases 9 and 10 use a consistent mm-μN-Pa unit system. Mesh coordinates and displacements are expressed in mm, while Young’s modulus, surface tractions, and stresses are expressed in Pa (equivalently, μN/mm<sup>2</sup>). Compliance is expressed in μN·mm.</p>
          <p>In Case 9, the jet engine bracket is fixed at four lower cylindrical bolt-hole regions. A combined surface traction with components of 2,000 Pa in the <italic>x</italic>- and <italic>z</italic>-directions, corresponding to a resultant magnitude of <inline-formula><tex-math id="M1">$$ 2\sqrt{2}\,\mathrm{kPa} $$</tex-math></inline-formula>, is applied at the upper pin-hole cylinder. The fixed bolt-hole regions and the loaded pin-hole region are preserved as passive domains. The case is solved as a structural compliance minimization problem with a volume fraction of 0.2 and 150 optimization steps. </p>
          <p>In Case 10, the airplane bearing bracket is fixed at four cylindrical mounting holes. A surface traction of <InlineParagraph>-200 Pa</InlineParagraph> in the <italic>y</italic>-direction of the mesh coordinate system is applied to the right-side cylindrical pin region. The mounting holes and loading cylinder are preserved as passive domains. The optimization is performed with a volume fraction of 0.3 and 150 steps.</p>
          <p>These two cases demonstrate the execution of the TO-Master workflow on engineering geometries with nontrivial boundary conditions and tetrahedral unstructured meshes. </p>
        </sec>
        <sec id="sec3-1-4">
          <title>Image to optimization</title>
          <p>Case 11 evaluates the image-to-optimization workflow. The boundary conditions and optimized results are shown in <xref ref-type="fig" rid="fig6">Figure 6E</xref> and <xref ref-type="fig" rid="fig7">Figure 7E</xref>, respectively. For the image-derived case, the geometry and all spatial coordinates are expressed in normalized length units. No physical length calibration is applied to the reconstructed geometry in this example. Physical coordinates can be obtained by assigning a reference length to one normalized coordinate unit; computed displacements share the same length scale. </p>
          <p>The reconstructed optimization mesh contains 28,738 nodes and 23,345 eight-node hexahedral (HEX8) elements. The numerical selections use <italic>x</italic> ∈ [-0.035, 0.042] and <italic>z</italic> ∈ [-0.2, 0.2]. Within these bounds, the region <italic>y</italic> ∈ [-0.7, -0.4] is fully fixed, and a surface traction of (0, 0, -200) Pa is applied to the exterior boundary within <italic>y</italic> ∈ [0.4, 0.7] . The regions <italic>y</italic> ∈ [-0.7, -0.3] and <italic>y</italic> ∈ [0.3, 0.7] are retained as solid passive domains. Compliance minimization is performed with a prescribed design-domain volume fraction of 0.6 for 50 iterations.</p>
          <p>This case shows that TO-Master can connect image-based geometry generation with topology optimization. The optimized result illustrates the application of the topology optimization workflow to the reconstructed geometry under the specified support and loading conditions. </p>
          <p>For the eleven cases presented above, we compared the agent-generated optimization inputs with the expert-prepared “Clear Problem Specification” prompts in <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material C</inline-supplementary-material>, using the same numerical backend and default parameters. As summarized in <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Table 1</inline-supplementary-material> [<inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material D</inline-supplementary-material>], the inputs matched the expert settings in Cases 1, 2, and 5-10. In Cases 3 and 4, some coordinate ranges used to select supports, loads, or passive domains were expanded. In Case 4, the load-selection box was also restricted to the mesh extents without changing the selected loaded faces. In Case 11, the unspecified x-range was completed using rounded mesh bounds, while the prescribed y- and z-ranges were retained. Overall, TO-Master preserved the prescribed traction or thermal parameters, volume fractions, iteration counts, and applicable stress limits across all eleven cases, with the identified differences confined to spatial region selection.</p>
          <p>The mesh sizes, final design-domain volume fractions, compliance values, and recorded execution times for Cases 7-11 are summarized in <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Table 2</inline-supplementary-material> [<inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material A</inline-supplementary-material>]. Final volume fractions were close to their prescribed values. In five independent agent sessions per case, the requested workflow was completed in all five runs for Cases 8 and 9 and in four runs for Case 11 [<inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Table 3</inline-supplementary-material>, <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material A</inline-supplementary-material>]. Cases 8 and 9 each yielded identical reported compliance values and volume fractions across the five runs. Among the four completed Case 11 runs, three produced identical results, with final compliance 0.053% higher than the original result obtained on macOS. One completed run used a slightly smaller loading region and produced a different compliance value, as detailed in <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material A</inline-supplementary-material>. Overall, most repeated runs produced similar optimized structures and numerical results, supporting the repeatability of TO-Master for the selected cases.</p>
        </sec>
      </sec>
      <sec id="sec3-2">
        <title>Ablation study on prompt design and problem specifications</title>
        <p>This section evaluates the effect of instruction design under ambiguous user input. The ablation study is conducted on the six regular benchmark cases shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>, i.e., Cases 1-6 in <xref ref-type="table" rid="t2">Table 2</xref>. The corresponding reference optimization results are shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p>
        <p>For each case, the result obtained using the full instruction and the precise problem description is treated as the reference solution. Then, a fuzzy problem description is tested under four instruction configurations: the full system instruction (full prompt, FP), removal of few-shot examples (No-FS), removal of chain-of-thought guidance (No-CoT), and removal of tool-interface documentation (No-TC). These variants correspond to removing the few-shot examples, internal reasoning guidance, and tool-usage rules from the prompt design described in Section “LLM-agent framework design” and <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material B</inline-supplementary-material>. Each fuzzy-prompt condition was repeated five times. In total, the ablation study contains 6 reference runs and 6 × 4 × 5 = 120 fuzzy-prompt runs.</p>
        <p>In the No-TC configuration, the USAGE_RULES section is removed from the system instruction, while the same MCP toolset remains available. The agent therefore retains access to the tool names, descriptions, and declared parameter names and types exposed through the MCP tool schemas. The removed section provides additional interface documentation, including the tool catalog, boundary-condition formats, argument conventions, and result-field descriptions, together with tool-use and confirmation rules. No-TC thus evaluates removal of this prompt-level interface documentation and its associated usage guidance, rather than removal of the tools or their schemas.</p>
        <p>The instruction contains examples and inference rules tailored to the benchmark problems evaluated here. In particular, the thermal middle-sink example in <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Material B</inline-supplementary-material> closely matches Case 5. The formulation checklist also includes benchmark-specific guidance on lower-corner bridge supports, top passive regions, and a cold sink spanning the central 10% of the left boundary. The ablation study therefore evaluates the contribution of instruction components on problems around which the instruction was designed, rather than demonstrating generalization to unseen problems. </p>
        <p>The evaluation follows a two-stage protocol. First, the boundary condition checker is used to detect invalid or suspicious boundary and load definitions. A run is counted as failed if the checker reports a warning or timeout. Second, if the solver-ready optimization parameters match a previous run for the same case, the optimization is not repeated, and the run inherits the outcome of the matched case. Otherwise, the optimization is executed, and the optimized result is reviewed against the reference solution. A run is considered successful if expert review confirms that the boundary conditions and passive domains are correctly constructed, the prescribed constraints are satisfied, and the optimized result is physically reasonable and visually comparable to the reference result. Runs requiring manual assessment were reviewed by the first, second, and fifth authors using the criteria described above. During the ablation runs, requests to proceed were answered automatically by the experimental script. </p>
        <p>The aggregated success rates are summarized in <xref ref-type="table" rid="t3">Table 3</xref> and <xref ref-type="fig" rid="fig9">Figure 9</xref>, while representative failure cases are shown in <xref ref-type="fig" rid="fig10">Figure 10</xref>. The 95% confidence intervals are Wilson score intervals for the pooled success proportions, with 30 trials per configuration. The full instruction achieves the highest success rate, with only one failed trial caused by passive-domain misinterpretation in the multi-load tower case. This indicates that the complete instruction design can usually resolve ambiguity in fuzzy user prompts. </p>
        <fig id="fig9" position="float">
          <label>Figure 9</label>
          <caption>
            <p>Success rates of TO-Master under different instruction configurations with fuzzy problem specifications. FP: Full prompt (full system instruction); No-CoT: removal of chain-of-thought guidance; No-FS: removal of few-shot examples; No-TC: removal of tool-interface documentation.</p>
          </caption>
          <graphic xlink:href="jm1003.fig.9.jpg"/>
        </fig>
        <fig id="fig10" position="float">
          <label>Figure 10</label>
          <caption>
            <p>Representative failure cases under fuzzy-prompt ablation settings. In the 3D cantilever case (A), the loaded patch is restricted to one side of the beam, departing from the expert reference loading. In the 3D tower case (B), the passive domain is misinterpreted, causing the loaded surface to be removed during optimization. 3D: Three-dimensional.</p>
          </caption>
          <graphic xlink:href="jm1003.fig.10.jpg"/>
        </fig>
        <table-wrap id="t3">
          <label>Table 3</label>
          <caption>
            <p>Aggregated success rates and dominant failure modes of TO-Master under fuzzy problem specifications with different instruction configurations across the six regular benchmark cases</p>
          </caption>
          <table frame="hsides" rules="groups">
  <tbody>
    <tr>
      <td>
        <bold>Prompt configuration</bold>
      </td>
      <td>
        <bold>Success rate (%)</bold>
      </td>
      <td>
        <bold>95% confidence interval (%)</bold>
      </td>
      <td>
        <bold>Dominant failure mode</bold>
      </td>
    </tr>
    <tr>
      <td>FP</td>
      <td>96.7</td>
      <td>83.3-99.4</td>
      <td>Passive-domain misinterpretation</td>
    </tr>
    <tr>
      <td>No-CoT</td>
      <td>83.3</td>
      <td>66.4-92.7</td>
      <td>Passive-domain misinterpretation</td>
    </tr>
    <tr>
      <td>No-FS</td>
      <td>73.3</td>
      <td>55.6-85.8</td>
      <td>Boundary/load misinterpretation</td>
    </tr>
    <tr>
      <td>No-TC</td>
      <td>40.0</td>
      <td>24.6-57.7</td>
      <td>Boundary/load misinterpretation</td>
    </tr>
  </tbody>
</table>
          <table-wrap-foot>
            <fn id="t3FN1">
              <p>FP: Full prompt (full system instruction); No-CoT: removal of chain-of-thought guidance; No-FS: removal of few-shot examples; No-TC: removal of tool-interface documentation.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <p>Removing tool-interface documentation causes the largest performance drop. Most failures in the No-TC setting are caused by malformed or inconsistent boundary condition definitions, such as repeated constrained components, missed load regions, or invalid displacement values. These errors are detected by the boundary condition checker before expensive optimization is performed.</p>
        <p>Removing few-shot examples also reduces robustness. In the No-FS setting, the agent more frequently misinterprets support or load regions, especially in 3D bridge and multi-load cases. Some trials fail before optimization due to boundary condition timeouts, while others proceed to optimization but produce physically inconsistent results.</p>
        <p>The No-CoT setting performs better than No-FS and No-TC but still fails in several 3D cases. The dominant failures are passive-domain errors in the multi-load tower and a load-selection mismatch in the 3D cantilever case. FP achieved a higher observed success rate than No-CoT (29/30 versus 25/30), but the difference was not statistically significant in a two-sided Fisher’s exact test (<italic>P</italic> = 0.195).</p>
        <p>The 3D cantilever trial in <xref ref-type="fig" rid="fig10">Figure 10A</xref> illustrates a load-selection error. The No-CoT trial applies a traction of (0, 0, -200) Pa over [38, 40, 0, 3, 0, 0], whereas the expert reference uses [36, 40, 0, 10, 0, 0]. The corresponding loaded areas are 6 and 40 m<sup>2</sup>, giving resultant force magnitudes of 1,200 and 8,000 N, respectively. The trial satisfies the volume constraint, with a final volume fraction of 0.299908 against the prescribed limit of 0.3. Its final compliance is 0.000210780 N·m, compared with 0.00906013 N·m for the reference. Because the applied loads differ, the lower compliance does not indicate improved optimization performance. This trial is therefore classified as a formulation failure because it does not reproduce the expert-specified loading.</p>
        <p>Overall, FP achieved the highest observed success rate, while No-TC showed the largest decrease. These results suggest that instruction design affects formulation success on the evaluated cases, although the FP-No-CoT comparison does not establish a statistically significant benefit from reasoning guidance.</p>
      </sec>
      <sec id="sec3-3">
        <title>Discussion</title>
        <p>The benchmark and engineering examples show that TO-Master can construct TO formulations from natural language input, including single-load and multi-load structural compliance minimization, as well as thermal conduction. This result is important because the agent is not directly optimizing the structure; instead, it must translate user intent into a complete set of mesh, boundary-condition, material, constraint, and solver inputs. For incomplete descriptions, the agent can use geometry information and its structured instruction to infer unspecified modeling details. The agreement with classical benchmark behavior therefore provides evidence that the formulation layer, in addition to the underlying numerical solver, is functioning as intended.</p>
        <p>The extended cases clarify where the framework adds practical value beyond regular domains. Stress-constrained examples test whether additional physical constraints can be introduced through the same tool interface, while the arbitrary-geometry cases test whether supports, loads, and passive domains can be assigned on engineering meshes. The image-to-optimization example further shows that a geometry and mesh reconstructed from a 2D image input can be connected to the same TO pipeline. These cases indicate that TO-Master is most useful when different geometry sources and problem types can be reduced to verified solver inputs.</p>
        <p>The ablation results show that the main failure mode under fuzzy prompts is problem formulation rather than numerical optimization. Since all instruction variants use the same solver backend, the reduced success rates of No-FS, No-CoT, and No-TC mainly reflect errors in interpreting spatial descriptions, selecting valid tool arguments, or preserving required supports, loads, passive domains, and optimization parameters. The full instruction achieved the highest observed success rate, and the recorded failures illustrate different types of formulation error across the ablation configurations.</p>
        <p>The boundary-condition visualization and user confirmation step are therefore not only usability features, but part of the reliability mechanism. Intermediate checking helps catch errors before optimization is launched and keeps the LLM agent from silently committing to an incorrect model. Assumptions introduced during inference should be made explicit for user confirmation. Conflicting requirements call for clarification of design priorities. Experts can help resolve ambiguities in supports, loads, or material models and guide parameter adjustments when the optimization results do not meet design expectations.</p>
        <p>Several limitations remain. The ablation study is limited to six regular benchmark cases, where the problem specifications can be systematically varied and repeated. The stress-constrained, arbitrary-geometry, and image-to-optimization examples involve more case-specific geometry processing and boundary-condition definition; in these cases, users may need to inspect the previewed supports, loads, and passive domains and then confirm or adjust them before optimization. Therefore, these examples are used as capability demonstrations rather than simple repeated ablation benchmarks. The current system does not automatically convert units or check dimensional consistency; users must provide inputs in a consistent unit system. Some ablation outcomes still require manual inspection.</p>
        <p>Future extensions could use LLMs to interpret simulation feedback and explore alternative formulations. Nonconvergence, constraint violations, and stress concentrations could guide proposed revisions, with changes recorded and confirmed before another analysis. Further directions include comparing design trade-offs, incorporating manufacturing constraints, and assessing robustness to uncertain loads and material properties.</p>
      </sec>
    </sec>
    <sec id="sec4">
      <title>CONCLUSIONS</title>
      <p>This work presents TO-Master, a tool-orchestrated LLM-agent system for automated topology optimization. Across the benchmark and engineering examples, TO-Master constructs solver-ready TO problems from natural language specifications and optional mesh, geometry, or image inputs. The examples cover regular 2D and 3D structural compliance minimization, thermal conduction, multi-load structural compliance minimization, stress-constrained optimization, arbitrary engineering geometries, and a 2D-image-to-3D-geometry case, showing that the same agent-tool interface can support both standard benchmarks and more practical modeling settings. </p>
      <p>TO-Master’s contribution lies in combining automated model construction with explicit mesh and boundary-condition verification across diverse geometry inputs and TO formulations. The agent handles problem formulation and workflow orchestration, while predefined numerical tools perform the finite element analyses, sensitivity calculations, and optimization.</p>
      <p>The ablation study compares formulation success under different instruction configurations on six benchmark cases with fuzzy natural language prompts. The full instruction achieves the highest observed success rate, while removing tool-interface documentation produces the largest decrease. The difference between FP and No-CoT is not statistically significant. The recorded failures primarily involve boundary/load interpretation, passive-domain assignment, and tool-argument construction.</p>
      <p>Future work will further extend TO-Master from controlled benchmark settings to more open-ended engineering optimization tasks. One direction is to support richer human-agent interaction during geometry preparation, boundary-condition definition, and result assessment, so that users can iteratively refine supports, loads, passive domains, and design requirements based on previewed models and reported convergence histories. Another direction is to make the tool layer more extensible, allowing new objectives, constraints, physics modules, and manufacturing requirements to be incorporated with less problem-specific implementation effort. Finally, broader industrial case studies and more standardized evaluation protocols are needed to assess not only the optimized result, but also the correctness, robustness, and reproducibility of the full LLM-agent-driven TO formulation process. </p>
      <p>An earlier version of this work was posted as a preprint<sup>[<xref ref-type="bibr" rid="B44">44</xref>]</sup>.</p>
    </sec>
  </body>
  <back>
    <sec>
      <title>DECLARATIONS</title>
      <sec>
        <title>Authors’ contributions</title>
        <p>Conceptualization: Lin, H.; Xue, T.</p>
        <p>Methodology: Lin, H.; Li, X.; Xu, T.</p>
        <p>Software: Lin, H.; Zhang, W.; Xu, W.</p>
        <p>Validation: Lin, H.; Zhang, W.; Li, X.; Xu, T.</p>
        <p>Formal analysis: Lin, H.; Zhang, W.; Xu, T.</p>
        <p>Investigation: Lin, H.; Xu, T.</p>
        <p>Writing - original draft: Lin, H.; Xu, T.</p>
        <p>Writing - review and editing: Lin, H.; Li, X.; Xu, T.; Xue, T.</p>
        <p>Visualization: Lin, H.; Zhang, W.</p>
        <p>Supervision: Xu, T.; Xue, T.</p>
        <p>Funding acquisition: Xue, T.</p>
      </sec>
      <sec>
        <title>Availability of data and materials</title>
        <p>The TO-Master source code and numerical data supporting the reported results are retained by the authors and are available upon reasonable request from the corresponding authors. The system instructions, case specifications, and numerical settings are provided in the manuscript and the <inline-supplementary-material content-type="local-data" mimetype="application/pdf" xlink:href="jm1003-SupplementaryMaterials.pdf">Supplementary Materials</inline-supplementary-material>. The TO-Master application is available at <uri xlink:href="https://www.bohrium.com/en/apps/to-master.">https://www.bohrium.com/en/apps/to-master.</uri></p>
      </sec>
      <sec>
      <title>AI and AI-assisted tools statement</title>
      <p>During manuscript preparation, DeepSeek-V4-Flash (released 2026-04-24) was used as the agent component of TO-Master for the original evaluations, and DeepSeek-V4.1-Flash-1017 (released 2026-10-17) was used for the supplementary repeatability experiments. TripoSR (code revision d26e331, dated 2024-05-14) was used for image-to-3D surface reconstruction during the development and evaluation reported in this manuscript. The geometry reconstructed using TripoSR was used for Case 11, whose boundary conditions and optimized result are shown in <xref ref-type="fig" rid="fig6">Figure 6E</xref> and <xref ref-type="fig" rid="fig7">Figure 7E</xref>, respectively. In addition, OpenAI Codex was used to polish author-prepared text, and GPT-5.5 (released 2026-04-23) was used through OpenAI Codex to generate Scalable Vector Graphics (SVG) code for <xref ref-type="fig" rid="fig1">Figures 1</xref>-<xref ref-type="fig" rid="fig3">3</xref>. These figures were subsequently edited and finalized by the authors in Figma. This manuscript-preparation assistance did not influence the study design, data collection, analysis, interpretation, or the scientific content of the work. All authors take full responsibility for the accuracy, integrity, and final content of the manuscript.</p>
      </sec>
      <sec>
        <title>Financial support and sponsorship</title>
        <p>We acknowledge the support from the Research Grants Council of Hong Kong through the project (Ref No. 26205024), the Hong Kong Innovation and Technology Support Program (ITS/032/23), the HKUST Bridge Gap Fund (Ref. code: BGF.2026.019), and the research donation from Beijing DP Technology Co., Ltd.</p>
      </sec>
      <sec>
        <title>Conflicts of interest</title>
        <p>Xue, T. is an Editorial Board Member of the journal<italic> Journal of Mechanoinformatics</italic> and was not involved in any steps of editorial processing, notably including reviewers’ selection, manuscript handling and decision making. Li, X. is affiliated with China Iron and Steel Research Institute Group, while the other authors have declared that they have no conflicts of interest.</p>
      </sec>
      <sec>
        <title>Consent for publication</title>
        <p>Not applicable.</p>
      </sec>
      <sec>
        <title>Ethical approval and consent to participate</title>
        <p>Not applicable.</p>
      </sec>
      <sec>
    <title>Copyright</title>
    <p>&#x00A9; The Author(s) 2026.</p>
      </sec>
      <sec sec-type="supplementary-material">
      <title>Supplementary Materials</title>
          <supplementary-material content-type="local-data">
                <media xlink:href="jm1003-SupplementaryMaterials.pdf" mimetype="application/pdf">
                        <caption>
                                <p>Supplementary Materials</p>
                        </caption>
                </media>
          </supplementary-material>
          </sec>
          </sec>
    <ref-list>
      <ref id="B1">
        <label>1</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Bendsøe</surname>
              <given-names>M. P.</given-names>
            </name>
            <name>
              <surname>Kikuchi</surname>
              <given-names>N.</given-names>
            </name>
          </person-group>
          <article-title>Generating optimal topologies in structural design using a homogenization method</article-title>
          <source>Comput. Methods Appl. Mech. Eng.</source>
          <year>1988</year>
          <volume>71</volume>
          <fpage>197</fpage>
          <lpage>224</lpage>
          <pub-id pub-id-type="doi">10.1016/0045-7825(88)90086-2</pub-id>
        </element-citation>
      </ref>
      <ref id="B2">
        <label>2</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Zhou</surname>
              <given-names>M.</given-names>
            </name>
            <name>
              <surname>Rozvany</surname>
              <given-names>G.</given-names>
            </name>
          </person-group>
          <article-title>The COC algorithm, Part II: topological, geometrical and generalized shape optimization</article-title>
          <source>Comput. Methods Appl. Mech. Eng.</source>
          <year>1991</year>
          <volume>89</volume>
          <fpage>309</fpage>
          <lpage>36</lpage>
          <pub-id pub-id-type="doi">10.1016/0045-7825(91)90046-9</pub-id>
        </element-citation>
      </ref>
      <ref id="B3">
        <label>3</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Rozvany</surname>
              <given-names>G. I. N.</given-names>
            </name>
            <name>
              <surname>Zhou</surname>
              <given-names>M.</given-names>
            </name>
            <name>
              <surname>Birker</surname>
              <given-names>T.</given-names>
            </name>
          </person-group>
          <article-title>Generalized shape optimization without homogenization</article-title>
          <source>Struct. Optim.</source>
          <year>1992</year>
          <volume>4</volume>
          <fpage>250</fpage>
          <lpage>2</lpage>
          <pub-id pub-id-type="doi">10.1007/BF01742754</pub-id>
        </element-citation>
      </ref>
      <ref id="B4">
        <label>4</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Bendsøe</surname>
              <given-names>M. P.</given-names>
            </name>
            <name>
              <surname>Sigmund</surname>
              <given-names>O.</given-names>
            </name>
          </person-group>
          <article-title>Material interpolation schemes in topology optimization</article-title>
          <source>Arch. Appl. Mech.</source>
          <year>1999</year>
          <volume>69</volume>
          <fpage>635</fpage>
          <lpage>54</lpage>
          <pub-id pub-id-type="doi">10.1007/s004190050248</pub-id>
        </element-citation>
      </ref>
      <ref id="B5">
        <label>5</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Wang</surname>
              <given-names>M. Y.</given-names>
            </name>
            <name>
              <surname>Wang</surname>
              <given-names>X.</given-names>
            </name>
            <name>
              <surname>Guo</surname>
              <given-names>D.</given-names>
            </name>
          </person-group>
          <article-title>A level set method for structural topology optimization</article-title>
          <source>Comput. Methods Appl. Mech. Eng.</source>
          <year>2003</year>
          <volume>192</volume>
          <fpage>227</fpage>
          <lpage>46</lpage>
          <pub-id pub-id-type="doi">10.1016/S0045-7825(02)00559-5</pub-id>
        </element-citation>
      </ref>
      <ref id="B6">
        <label>6</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Allaire</surname>
              <given-names>G.</given-names>
            </name>
            <name>
              <surname>Jouve</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Toader</surname>
              <given-names>A.</given-names>
            </name>
          </person-group>
          <article-title>Structural optimization using sensitivity analysis and a level-set method</article-title>
          <source>J. Comput. Phys.</source>
          <year>2004</year>
          <volume>194</volume>
          <fpage>363</fpage>
          <lpage>93</lpage>
          <pub-id pub-id-type="doi">10.1016/j.jcp.2003.09.032</pub-id>
        </element-citation>
      </ref>
      <ref id="B7">
        <label>7</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Xie</surname>
              <given-names>Y.</given-names>
            </name>
            <name>
              <surname>Steven</surname>
              <given-names>G.</given-names>
            </name>
          </person-group>
          <article-title>A simple evolutionary procedure for structural optimization</article-title>
          <source>Comput. Struct.</source>
          <year>1993</year>
          <volume>49</volume>
          <fpage>885</fpage>
          <lpage>96</lpage>
          <pub-id pub-id-type="doi">10.1016/0045-7949(93)90035-C</pub-id>
        </element-citation>
      </ref>
      <ref id="B8">
        <label>8</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Yang</surname>
              <given-names>X. Y.</given-names>
            </name>
            <name>
              <surname>Xie</surname>
              <given-names>Y. M.</given-names>
            </name>
            <name>
              <surname>Steven</surname>
              <given-names>G. P.</given-names>
            </name>
            <name>
              <surname>Querin</surname>
              <given-names>O. M.</given-names>
            </name>
          </person-group>
          <article-title>Bidirectional evolutionary method for stiffness optimization</article-title>
          <source>AIAA J.</source>
          <year>1999</year>
          <volume>37</volume>
          <fpage>1483</fpage>
          <lpage>8</lpage>
          <pub-id pub-id-type="doi">10.2514/2.626</pub-id>
        </element-citation>
      </ref>
      <ref id="B9">
        <label>9</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Chandrasekhar</surname>
              <given-names>A.</given-names>
            </name>
            <name>
              <surname>Sridhara</surname>
              <given-names>S.</given-names>
            </name>
            <name>
              <surname>Suresh</surname>
              <given-names>K.</given-names>
            </name>
          </person-group>
          <article-title>AuTO: a framework for automatic differentiation in topology optimization</article-title>
          <source>Struct. Multidiscip. Optim.</source>
          <year>2021</year>
          <volume>64</volume>
          <fpage>4355</fpage>
          <lpage>65</lpage>
          <pub-id pub-id-type="doi">10.1007/s00158-021-03025-8</pub-id>
        </element-citation>
      </ref>
      <ref id="B10">
        <label>10</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Xue</surname>
              <given-names>T.</given-names>
            </name>
            <name>
              <surname>Liao</surname>
              <given-names>S.</given-names>
            </name>
          </person-group>
          <article-title>Gan, Z., et al. JAX-FEM: a differentiable GPU-accelerated 3D finite element solver for automatic inverse design and mechanistic data science</article-title>
          <source>Comput. Phys. Commun.</source>
          <year>2023</year>
          <volume>291</volume>
          <fpage>108802</fpage>
          <pub-id pub-id-type="doi">10.1016/j.cpc.2023.108802</pub-id>
        </element-citation>
      </ref>
      <ref id="B11">
        <label>11</label>
        <element-citation publication-type="conference">
          <person-group person-group-type="author">
            <name>
              <surname>Wei</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Wang</surname>
              <given-names>X.</given-names>
            </name>
          </person-group>
          <comment>Schuurmans, D., et al. Chain-of-thought prompting elicits reasoning in large language models. In <italic>Advances in Neural Information Processing Systems 35</italic>, New Orleans, LA, USA, November 28-December 9, 2022; Koyejo, S.; Mohamed, S.; Agarwal, A.; Belgrave, D.; Cho, K.; Oh, A., Eds.; Neural Information Processing Systems Foundation, Inc. (NeurIPS): San Diego, CA, USA, 2022; pp 24824-37</comment>
          <pub-id pub-id-type="doi">10.52202/068431-1800</pub-id>
        </element-citation>
      </ref>
      <ref id="B12">
        <label>12</label>
        <element-citation publication-type="web">
          <person-group person-group-type="author">
            <name>
              <surname>Yao</surname>
              <given-names>S.</given-names>
            </name>
            <name>
              <surname>Zhao</surname>
              <given-names>J.</given-names>
            </name>
          </person-group>
          <comment>Yu, D., et al. ReAct: Synergizing reasoning and acting in language models. In <italic>Proceedings of the Eleventh International Conference on Learning Representations</italic>, Kigali, Rwanda, May 1-5, 2023. Available online: <uri xlink:href="https://openreview.net/forum?id=WE_vluYUL-X">https://openreview.net/forum?id=WE_vluYUL-X</uri>. (accessed 24 November 2026)</comment>
        </element-citation>
      </ref>
      <ref id="B13">
        <label>13</label>
        <element-citation publication-type="conference">
          <person-group person-group-type="author">
            <name>
              <surname>Schick</surname>
              <given-names>T.</given-names>
            </name>
            <name>
              <surname>Dwivedi-Yu</surname>
              <given-names>J.</given-names>
            </name>
          </person-group>
          <comment>Dessi, R., et al. Toolformer: language models can teach themselves to use tools. In <italic>Advances in Neural Information Processing Systems 36</italic>, New Orleans, LA, USA, December 10-16, 2023; Oh, A.; Naumann, T.; Globerson, A.; Saenko, K.; Hardt, M.; Levine, S., Eds.; Neural Information Processing Systems Foundation, Inc. (NeurIPS): San Diego, CA, USA, 2023; pp 68539-51</comment>
          <pub-id pub-id-type="doi">10.52202/075280-2997</pub-id>
        </element-citation>
      </ref>
      <ref id="B14">
        <label>14</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Guo</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Park</surname>
              <given-names>C.</given-names>
            </name>
            <name>
              <surname>Qian</surname>
              <given-names>D.</given-names>
            </name>
            <name>
              <surname>Hughes</surname>
              <given-names>T. J.</given-names>
            </name>
            <name>
              <surname>Liu</surname>
              <given-names>W. K.</given-names>
            </name>
          </person-group>
          <article-title>Large language model-empowered next-generation computer-aided engineering</article-title>
          <source>Comput. Methods Appl. Mech. Eng.</source>
          <year>2026</year>
          <volume>450</volume>
          <fpage>118591</fpage>
          <pub-id pub-id-type="doi">10.1016/j.cma.2025.118591</pub-id>
        </element-citation>
      </ref>
      <ref id="B15">
  <label>15</label>
  <element-citation publication-type="web">
    <person-group person-group-type="author">
      <name>
        <surname>Liang</surname>
        <given-names>H.</given-names>
      </name>
      <name>
        <surname>Talebi Kalaleh</surname>
        <given-names>M.</given-names>
      </name>
      <name>
        <surname>Mei</surname>
        <given-names>Q.</given-names>
      </name>
    </person-group>
    <comment>Integrating large language models for automated structural analysis. <italic>arXiv</italic> <bold>2025</bold>, arXiv:2504.09754. Available online: <uri xlink:href="https://arxiv.org/abs/2504.09754">https://arxiv.org/abs/2504.09754</uri>. (accessed 24 November 2026)</comment>
  </element-citation>
</ref>
      <ref id="B16">
        <label>16</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Fan</surname>
              <given-names>E.</given-names>
            </name>
            <name>
              <surname>Hu</surname>
              <given-names>K.</given-names>
            </name>
          </person-group>
          <article-title>Wu, Z., et al. ChatCFD: a large language model-driven agent for end-to-end computational fluid dynamics automation with structured knowledge and reasoning</article-title>
          <source>Adv. Intell. Discov.</source>
          <year>2026</year>
          <volume>2</volume>
          <fpage>e202500174</fpage>
          <pub-id pub-id-type="doi">10.1002/aidi.202500174</pub-id>
        </element-citation>
      </ref>
      <ref id="B17">
        <label>17</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Pandey</surname>
              <given-names>S.</given-names>
            </name>
            <name>
              <surname>Xu</surname>
              <given-names>R.</given-names>
            </name>
            <name>
              <surname>Wang</surname>
              <given-names>W.</given-names>
            </name>
            <name>
              <surname>Chu</surname>
              <given-names>X.</given-names>
            </name>
          </person-group>
          <article-title>OpenFOAMGPT: a retrieval-augmented large language model (LLM) agent for OpenFOAM-based computational fluid dynamics</article-title>
          <source>Phys. Fluids</source>
          <year>2025</year>
          <volume>37</volume>
          <fpage>035120</fpage>
          <pub-id pub-id-type="doi">10.1063/5.0257555</pub-id>
        </element-citation>
      </ref>
      <ref id="B18">
        <label>18</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Zhang</surname>
              <given-names>L.</given-names>
            </name>
            <name>
              <surname>Le</surname>
              <given-names>B.</given-names>
            </name>
            <name>
              <surname>Akhtar</surname>
              <given-names>N.</given-names>
            </name>
            <name>
              <surname>Lam</surname>
              <given-names>S.</given-names>
            </name>
            <name>
              <surname>Ngo</surname>
              <given-names>D.</given-names>
            </name>
          </person-group>
          <article-title>Large language models for computer-aided design: a survey</article-title>
          <source>ACM Comput. Surv.</source>
          <year>2026</year>
          <volume>58</volume>
          <fpage>1</fpage>
          <lpage>39</lpage>
          <pub-id pub-id-type="doi">10.1145/3787499</pub-id>
        </element-citation>
      </ref>
      <ref id="B19">
        <label>19</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Schüpbach</surname>
              <given-names>A.</given-names>
            </name>
            <name>
              <surname>San Miguel</surname>
              <given-names>R.</given-names>
            </name>
            <name>
              <surname>Ferchow</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Meboldt</surname>
              <given-names>M.</given-names>
            </name>
          </person-group>
          <article-title>From text to design: a framework to leverage LLM agents for automated CAD generation</article-title>
          <source>Proc. Des. Soc.</source>
          <year>2025</year>
          <volume>5</volume>
          <fpage>1893</fpage>
          <lpage>902</lpage>
          <pub-id pub-id-type="doi">10.1017/pds.2025.10203</pub-id>
        </element-citation>
      </ref>
      <ref id="B20">
        <label>20</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Ha</surname>
              <given-names>D. Q.</given-names>
            </name>
            <name>
              <surname>Carstensen</surname>
              <given-names>J. V.</given-names>
            </name>
          </person-group>
          <article-title>Human-informed topology optimization: interactive application of feature size controls</article-title>
          <source>Struct. Multidiscip. Optim.</source>
          <year>2023</year>
          <volume>66</volume>
          <fpage>59</fpage>
          <pub-id pub-id-type="doi">10.1007/s00158-023-03512-0</pub-id>
        </element-citation>
      </ref>
      <ref id="B21">
        <label>21</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Schiffer</surname>
              <given-names>G.</given-names>
            </name>
            <name>
              <surname>Ha</surname>
              <given-names>D. Q.</given-names>
            </name>
            <name>
              <surname>Carstensen</surname>
              <given-names>J. V.</given-names>
            </name>
          </person-group>
          <article-title>HiTop 2.0: combining topology optimisation with multiple feature size controls and human preferences</article-title>
          <source>Virtual Phys. Prototyp.</source>
          <year>2023</year>
          <volume>18</volume>
          <fpage>e2268603</fpage>
          <pub-id pub-id-type="doi">10.1080/17452759.2023.2268603</pub-id>
        </element-citation>
      </ref>
      <ref id="B22">
        <label>22</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Schiffer</surname>
              <given-names>G.</given-names>
            </name>
            <name>
              <surname>Schmidt</surname>
              <given-names>M.</given-names>
            </name>
            <name>
              <surname>Pedersen</surname>
              <given-names>C. B. W.</given-names>
            </name>
            <name>
              <surname>Carstensen</surname>
              <given-names>J. V.</given-names>
            </name>
          </person-group>
          <article-title>Interactive infill topology optimisation guided by user-drawn patterns</article-title>
          <source>Virtual Phys. Prototyp.</source>
          <year>2024</year>
          <volume>19</volume>
          <fpage>e2361864</fpage>
          <pub-id pub-id-type="doi">10.1080/17452759.2024.2361864</pub-id>
        </element-citation>
      </ref>
      <ref id="B23">
        <label>23</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Ha</surname>
              <given-names>D. Q.</given-names>
            </name>
            <name>
              <surname>Alam</surname>
              <given-names>M. F.</given-names>
            </name>
            <name>
              <surname>Buehler</surname>
              <given-names>M. J.</given-names>
            </name>
            <name>
              <surname>Ahmed</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Carstensen</surname>
              <given-names>J. V.</given-names>
            </name>
          </person-group>
          <article-title>AI-guided human-in-the-loop inverse design of high performance engineering structures. <italic>Commun. Eng.</italic> <bold>2026</bold>, Epub ahead of print</article-title>
          <pub-id pub-id-type="doi">10.1038/s44172-026-00818-x</pub-id>
        </element-citation>
      </ref>
      <ref id="B24">
        <label>24</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Yang</surname>
              <given-names>S.</given-names>
            </name>
            <name>
              <surname>Wang</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Wang</surname>
              <given-names>Y.</given-names>
            </name>
          </person-group>
          <article-title>Large language models as optimization controllers: adaptive continuation for SIMP topology optimization</article-title>
          <source>Adv. Eng. Softw.</source>
          <year>2026</year>
		  <volume>Epub ahead of print</volume>
		  <pub-id pub-id-type="doi">10.1016/j.advengsoft.2026.104304</pub-id>
        </element-citation>
      </ref>
      <ref id="B25">
  <label>25</label>
  <element-citation publication-type="web">
    <person-group person-group-type="author">
      <name>
        <surname>Yang</surname>
        <given-names>S.</given-names>
      </name>
      <name>
        <surname>Wang</surname>
        <given-names>J.</given-names>
      </name>
      <name>
        <surname>Wang</surname>
        <given-names>Y.</given-names>
      </name>
    </person-group>
    <comment>AutoSiMP: autonomous topology optimization from natural language via LLM-driven problem configuration and adaptive solver control. <italic>arXiv</italic> <bold>2026</bold>, arXiv:2603.27000. Available online: <uri xlink:href="https://arxiv.org/abs/2603.27000">https://arxiv.org/abs/2603.27000</uri>. (accessed 24 November 2026)</comment>
  </element-citation>
</ref>
      <ref id="B26">
  <label>26</label>
  <element-citation publication-type="web">
    <person-group person-group-type="author">
      <name>
        <surname>Stewart</surname>
        <given-names>I. A.</given-names>
      </name>
      <name>
        <surname>Chen</surname>
        <given-names>H.</given-names>
      </name>
      <name>
        <surname>Ahmed</surname>
        <given-names>F.</given-names>
      </name>
    </person-group>
    <comment>TO-Agents: a multi-agent AI pipeline for preference-guided topology optimization. <italic>arXiv</italic> <bold>2026</bold>, arXiv:2605.21622. Available online: <uri xlink:href="https://arxiv.org/abs/2605.21622">https://arxiv.org/abs/2605.21622</uri>. (accessed 24 November 2026)</comment>
  </element-citation>
</ref>
      <ref id="B27">
        <label>27</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Liang</surname>
              <given-names>Z.</given-names>
            </name>
            <name>
              <surname>Zhang</surname>
              <given-names>Y.</given-names>
            </name>
            <name>
              <surname>Wang</surname>
              <given-names>Y.</given-names>
            </name>
            <name>
              <surname>Li</surname>
              <given-names>W.</given-names>
            </name>
          </person-group>
          <article-title>Integrating large models with topology optimization for conceptual design realization</article-title>
          <source>Adv. Eng. Inform.</source>
          <year>2025</year>
          <volume>67</volume>
          <fpage>103524</fpage>
          <pub-id pub-id-type="doi">10.1016/j.aei.2025.103524</pub-id>
        </element-citation>
      </ref>
      <ref id="B28">
  <label>28</label>
  <element-citation publication-type="web">
    <person-group person-group-type="author">
      <name>
        <surname>Park</surname>
        <given-names>H.</given-names>
      </name>
      <name>
        <surname>Chung</surname>
        <given-names>H.</given-names>
      </name>
    </person-group>
    <comment>Self-refining topology optimization via an LLM-based multi-agent framework. <italic>arXiv</italic> <bold>2026</bold>, arXiv:2605.23273. Available online: <uri xlink:href="https://arxiv.org/abs/2605.23273">https://arxiv.org/abs/2605.23273</uri>. (accessed 24 November 2026)</comment>
  </element-citation>
</ref>
      <ref id="B29">
        <label>29</label>
        <element-citation publication-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Bendsøe</surname>
              <given-names>M. P.</given-names>
            </name>
            <name>
              <surname>Sigmund</surname>
              <given-names>O.</given-names>
            </name>
          </person-group>
          <comment><italic>Topology Optimization</italic>; Springer Berlin Heidelberg, 2004</comment>
          <pub-id pub-id-type="doi">10.1007/978-3-662-05086-6</pub-id>
        </element-citation>
      </ref>
      <ref id="B30">
        <label>30</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Bourdin</surname>
              <given-names>B.</given-names>
            </name>
          </person-group>
          <article-title>Filters in topology optimization</article-title>
          <source>Int. J. Numer. Methods Eng.</source>
          <year>2001</year>
          <volume>50</volume>
          <fpage>2143</fpage>
          <lpage>58</lpage>
          <pub-id pub-id-type="doi">10.1002/nme.116</pub-id>
        </element-citation>
      </ref>
      <ref id="B31">
        <label>31</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Guest</surname>
              <given-names>J. K.</given-names>
            </name>
            <name>
              <surname>Prévost</surname>
              <given-names>J. H.</given-names>
            </name>
            <name>
              <surname>Belytschko</surname>
              <given-names>T.</given-names>
            </name>
          </person-group>
          <article-title>Achieving minimum length scale in topology optimization using nodal design variables and projection functions</article-title>
          <source>Int. J. Numer. Methods Eng.</source>
          <year>2004</year>
          <volume>61</volume>
          <fpage>238</fpage>
          <lpage>254</lpage>
          <pub-id pub-id-type="doi">10.1002/nme.1064</pub-id>
        </element-citation>
      </ref>
      <ref id="B32">
        <label>32</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Wang</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Lazarov</surname>
              <given-names>B. S.</given-names>
            </name>
            <name>
              <surname>Sigmund</surname>
              <given-names>O.</given-names>
            </name>
          </person-group>
          <article-title>On projection methods, convergence and robust formulations in topology optimization</article-title>
          <source>Struct. Multidiscip. Optim.</source>
          <year>2011</year>
          <volume>43</volume>
          <fpage>767</fpage>
          <lpage>84</lpage>
          <pub-id pub-id-type="doi">10.1007/s00158-010-0602-y</pub-id>
        </element-citation>
      </ref>
      <ref id="B33">
        <label>33</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Yang</surname>
              <given-names>D.</given-names>
            </name>
            <name>
              <surname>Liu</surname>
              <given-names>H.</given-names>
            </name>
            <name>
              <surname>Zhang</surname>
              <given-names>W.</given-names>
            </name>
            <name>
              <surname>Li</surname>
              <given-names>S.</given-names>
            </name>
          </person-group>
          <article-title>Stress-constrained topology optimization based on maximum stress measures</article-title>
          <source>Comput. Struct.</source>
          <year>2018</year>
          <volume>198</volume>
          <fpage>23</fpage>
          <lpage>39</lpage>
          <pub-id pub-id-type="doi">10.1016/j.compstruc.2018.01.008</pub-id>
        </element-citation>
      </ref>
      <ref id="B34">
        <label>34</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Le</surname>
              <given-names>C.</given-names>
            </name>
            <name>
              <surname>Norato</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Bruns</surname>
              <given-names>T.</given-names>
            </name>
            <name>
              <surname>Ha</surname>
              <given-names>C.</given-names>
            </name>
            <name>
              <surname>Tortorelli</surname>
              <given-names>D.</given-names>
            </name>
          </person-group>
          <article-title>Stress-based topology optimization for continua</article-title>
          <source>Struct. Multidiscip. Optim.</source>
          <year>2010</year>
          <volume>41</volume>
          <fpage>605</fpage>
          <lpage>20</lpage>
          <pub-id pub-id-type="doi">10.1007/s00158-009-0440-y</pub-id>
        </element-citation>
      </ref>
      <ref id="B35">
        <label>35</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Gersborg-Hansen</surname>
              <given-names>A.</given-names>
            </name>
            <name>
              <surname>Bendsøe</surname>
              <given-names>M. P.</given-names>
            </name>
            <name>
              <surname>Sigmund</surname>
              <given-names>O.</given-names>
            </name>
          </person-group>
          <article-title>Topology optimization of heat conduction problems using the finite volume method</article-title>
          <source>Struct. Multidiscip. Optim.</source>
          <year>2006</year>
          <volume>31</volume>
          <fpage>251</fpage>
          <lpage>9</lpage>
          <pub-id pub-id-type="doi">10.1007/s00158-005-0584-3</pub-id>
        </element-citation>
      </ref>
      <ref id="B36">
        <label>36</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Svanberg</surname>
              <given-names>K.</given-names>
            </name>
          </person-group>
          <article-title>The method of moving asymptotes—a new method for structural optimization</article-title>
          <source>Int. J. Numer. Methods Eng.</source>
          <year>1987</year>
          <volume>24</volume>
          <fpage>359</fpage>
          <lpage>73</lpage>
          <pub-id pub-id-type="doi">10.1002/nme.1620240207</pub-id>
        </element-citation>
      </ref>
      <ref id="B37">
        <label>37</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Zhang</surname>
              <given-names>L.</given-names>
            </name>
            <name>
              <surname>Chen</surname>
              <given-names>S.</given-names>
            </name>
          </person-group>
          <article-title>Cai, Y., et al. Bohrium + SciMaster: building the infrastructure and ecosystem for agentic science at scale</article-title>
          <source>AI Plus</source>
          <year>2026</year>
          <volume>1</volume>
          <fpage>100005</fpage>
          <pub-id pub-id-type="doi">10.59717/ipj.aiplus.2026.100005</pub-id>
        </element-citation>
      </ref>
      <ref id="B38">
        <label>38</label>
        <element-citation publication-type="web">
          <comment>Google. <italic>Agent Development Kit (ADK)</italic>. Available online: <uri xlink:href="https://google.github.io/adk-docs/">https://google.github.io/adk-docs/</uri>. (accessed 24 November 2026)</comment>
        </element-citation>
      </ref>
      <ref id="B39">
        <label>39</label>
        <element-citation publication-type="web">
          <comment>Model context protocol contributors. <italic>Model Context Protocol documentation</italic>. Available online: <uri xlink:href="https://modelcontextprotocol.io/docs/getting-started/intro">https://modelcontextprotocol.io/docs/getting-started/intro</uri>. (accessed 24 November 2026)</comment>
        </element-citation>
      </ref>
      <ref id="B40">
        <label>40</label>
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Geuzaine</surname>
              <given-names>C.</given-names>
            </name>
            <name>
              <surname>Remacle</surname>
              <given-names>J. F.</given-names>
            </name>
          </person-group>
          <article-title>Gmsh: a 3D finite element mesh generator with built-in pre- and post-processing facilities</article-title>
          <source>Int. J. Numer. Methods Eng.</source>
          <year>2009</year>
          <volume>79</volume>
          <fpage>1309</fpage>
          <lpage>31</lpage>
          <pub-id pub-id-type="doi">10.1002/nme.2579</pub-id>
        </element-citation>
      </ref>
      <ref id="B41">
  <label>41</label>
  <element-citation publication-type="web">
    <comment>Tochilkin, D.; Pankratz, D. Liu, Z., et al. TripoSR: fast 3D object reconstruction from a single image. <italic>arXiv</italic> <bold>2024</bold>, arXiv:2403.02151. Available online: <uri xlink:href="https://arxiv.org/abs/2403.02151">https://arxiv.org/abs/2403.02151</uri>. (accessed 24 November 2026)</comment>
  </element-citation>
</ref>
      <ref id="B42">
        <label>42</label>
        <element-citation publication-type="web">
          <comment>GrabCAD. <italic>GE jet engine bracket challenge</italic>. Available online: <uri xlink:href="https://grabcad.com/challenges/ge-jet-engine-bracket-challenge">https://grabcad.com/challenges/ge-jet-engine-bracket-challenge</uri>. (accessed 24 November 2026)</comment>
        </element-citation>
      </ref>
      <ref id="B43">
        <label>43</label>
        <element-citation publication-type="web">
          <comment>GrabCAD. <italic>Airplane bearing bracket challenge</italic>. Available online: <uri xlink:href="https://grabcad.com/challenges/airplane-bearing-bracket-challenge">https://grabcad.com/challenges/airplane-bearing-bracket-challenge</uri>. (accessed 24 November 2026)</comment>
        </element-citation>
      </ref>
      <ref id="B44">
  <label>44</label>
  <element-citation publication-type="web">
    <person-group person-group-type="author">
      <name>
        <surname>Lin</surname>
        <given-names>H.</given-names>
      </name>
      <name>
        <surname>Zhang</surname>
        <given-names>W.</given-names>
      </name>
      <name>
        <surname>Xu</surname>
        <given-names>W.</given-names>
      </name>
      <name>
        <surname>Li</surname>
        <given-names>X.</given-names>
      </name>
      <name>
        <surname>Xu</surname>
        <given-names>T.</given-names>
      </name>
      <name>
        <surname>Xue</surname>
        <given-names>T.</given-names>
      </name>
    </person-group>
    <comment>TO-Master: an LLM-agent framework for automated topology optimization. <italic>arXiv</italic> <bold>2026</bold>, arXiv:2607.01812. Available online: <uri xlink:href="https://arxiv.org/abs/2607.01812">https://arxiv.org/abs/2607.01812</uri>. (accessed 24 November 2026)</comment>
  </element-citation>
</ref>
    </ref-list>
  </back>
</article>
