Skip to content
← Back to the blog

AI in engineering: how an agent made a bracket 65 % lighter

Published

In short: I let an AI agent run the whole CAE workflow — from a one-sentence brief to a computational report and a manufacturable weldment. On open-source tools (FreeCAD, PrePoMax, CalculiX, BESO) for €0 in CAE licences. Topology optimisation cut the bracket mass by 65 % (stiffness per kilogram rose 2.2×). The agent did the routine, three decisions were mine. The whole thing took roughly 4 hours of net time.

AI in engineering is usually mentioned as a chatbot that suggests a formula or looks up source material for a problem. I was interested in something else: how much of the real engineering workflow can an AI agent handle today — not one that advises, but one that works in CAD and FEA software itself, runs analyses and checks its own results. And where an engineer has to stop it, steer it or correct it.

Topology optimisation is a good test for that. It is not always needed, but in specific tasks it serves as a tremendous tool — and there is a lot of routine work around it: the model, the mesh, boundary conditions, setting up the optimisation, smoothing the result, a verification run, and finally redrawing the organic shape into something you can actually manufacture. That routine is exactly what I wanted to give the agent, because it already demands a degree of autonomy and decision-making from the agent, which I wanted to test.

The whole workflow runs on open-source tools: FreeCAD, PrePoMax 3.0, CalculiX and BESO. An agent from Anthropic (Opus 4.8) drove them over MCP connectors. I stepped into the process three times.

The brief

A steel T-shaped bracket, bolted to a wall with four M16 bolts. At the end of the web there is an eye where a 15 kN force acts downwards.

  • Material S355, criterion σvM ≤ fy/2 = 177 MPa
  • Flange 200 × 180 × 15 mm, web 305 × 150 × 20 mm
  • Non-design regions: rings around the bolts and around the eye
  • Goal: maximum stiffness at 30 % of the design-region volume

Design region of the bracket: a grey T profile (flange and web), blue non-design rings around the four bolt holes and an orange ring around the load eye at the end of the web.

Design region: the grey T profile is optimised; the blue bolt rings and the orange eye ring are non-design and stay intact.

1. Model and FEA model

Claude built the model in FreeCAD from the brief and prepared the FEA model in PrePoMax: mesh, sets, the restraint and the load. The support is deliberately only in the rings around the bolts on the back face of the flange — four M16 bolts hold the bracket, not a fictitious restraint over the whole face. The force enters the eye through a reference point and a distributing coupling on the lower half of the hole.

The mesh-quality check was part of the method, not an afterthought: 81,832 quadratic tetrahedra, no inverted element, 26 nodes around the circumference of a bolt hole. The analysis ran on two mesh levels — the deflection differed by 1.2 %, so it is converged.

FEA model of the bracket in PrePoMax: a tetrahedral mesh, restraint in the four rings around the bolt holes (green nodes) and the load applied through a reference point into the lower half of the eye.

FEA model: restraint in the four rings around the bolts (green nodes), the 15 kN force applied through a reference point into the lower half of the eye. Four M16 bolts hold the bracket, not a fictitious restraint over the whole face.

During setup the agent ran into two problems. For the separate rings around the bolts PrePoMax automatically produced a hexahedral mesh, which would not meet the tetrahedra of the rest in a single element type. The fix: one merged body, with the non-design regions defined as element sets by position. The second problem was geometric — the eye ring touched the end of the web, creating an unmeshable wedge. The agent proposed extending the web by 5 mm and keeping the eye where it was. I approved that decision.

2. Baseline: when the hand calculation and FEA disagree

The full design region weighs 11.24 kg. The nominal bending stress in the web came out around 58 MPa — exactly like the hand calculation for a cantilever. The deflection, however, came out 0.60 mm, while the hand calculation gave 0.10 mm.

This is not an error. The hand estimate assumes a perfectly rigid restraint of the web. In reality the 15 mm flange held by four bolts bends too. The hand calculation is therefore a lower bound, and FEA shows what actually happens. These are exactly the places an engineer has to be able to explain — AI can find them, but a human owns the conclusion.

The peak stress of 494 MPa on the fixed edge is a numerical singularity: it grows as the mesh is refined. The body away from it is what gets assessed.

Baseline FEA analysis of the full bracket in PrePoMax: von Mises stress in MPa with the 177 MPa band marked, low stress in the body of the web and concentrations near the flange and bolts.

Baseline — the full bracket. The web body is lightly stressed; the grey patch on the fixed edge is a numerical singularity, and the body away from it is what is assessed.

3. Topology optimisation

The optimisation is computed by the BESO algorithm on top of CalculiX — not by AI. The agent's job was to set it up, run it, watch convergence and evaluate the result. After 102 iterations and 20 minutes, 30.9 % of the design-region volume remained in a single continuous body, with no floating islands.

The result is what an analyst would expect: a spatial truss that carries the force from the eye straight to the bolts.

Animation of the BESO topology optimisation: material is progressively removed from the full design region until a spatial truss remains, connecting the load eye to the four bolts. The counter shows the iteration number.

BESO in progress: the algorithm removes material from the design region over the iterations until ~31 % of the volume remains as a single continuous truss carrying the force from the eye straight to the bolts. The surface is still jagged, before smoothing.

BESO convergence graph: the mean strain energy density weighted by element mass rises over the iterations and settles after about 80 iterations.

BESO convergence: the objective settles after roughly 85 iterations. At iteration 102 the run was stopped by a criterion the agent set — a change below 0.1 % over 5 iterations.

4. Verifying the resulting shape

The raw BESO result is a jagged mesh. The agent built an isosurface from it, smoothed it and re-ran it in PrePoMax with the same boundary conditions on two mesh levels.

  • mass 3.95 kg, i.e. −65 %
  • deflection 0.76 mm (baseline 0.60 mm)
  • stiffness per kilogram 2.2× higher than the solid material
  • median stress ~57 MPa, 95 % of the volume below ~140 MPa

Most of the body passes. Local peaks are at the junctions and on the imperfectly smoothed surface. The ideal shape suits metal 3D printing or casting — not an ordinary workshop.

Verification FEA of the smoothed topology shape: von Mises stress capped at 177 MPa, most of the body in cyan and green (below 100 MPa), with local peaks at the strut junctions.

Verifying the smoothed shape: most of the body below 100 MPa (median ~57 MPa), 95 % of the volume below ~140 MPa. Mass −65 %, stiffness per kilogram 2.2× higher.

5. From topology to a manufacturable part

Before this phase the agent stopped and let me choose the technology. I chose a steel weldment — something almost any fabrication shop can make. Three solutions came out:

SolutionMassSavingDeflectionStress in the body
Solid material11.24 kg—0.60 mm~58 MPa nominal
R1 sheet weldment8.28 kg−26 %0.71 mmp99 134 MPa
R2 spatial 3D truss7.36 kg−35 %0.71 mmp99 125 MPa
R3 planar flat truss7.49 kg−33 %0.67 mmmembers ~80 MPa

The agent checked the welds with the simplified method of EN 1993-1-8. It computed the forces in the welds rather than estimating them — from equilibrium, by resolving forces at the joint, and verified them by integrating stresses from FEA (agreement within 2 %). A fillet weld a4 passes in every joint, with a utilisation of at most 0.58.

Manufacturable bracket weldment (planar flat truss) in FEA: von Mises stress capped at 177 MPa, low stress in the load-carrying members, with concentrations only at the transition from the rib to the flange.

Manufacturable weldment (R3, planar flat truss): the load-carrying members are lightly stressed, with a concentration only at the rib-to-flange transition. The lightest variant (R2) came out at −35 %.

What the AI did and what I did

  • The agent (Anthropic's Opus 4.8): the model, the mesh and its check, boundary conditions, setting up and running BESO, smoothing, the verification runs, three weldment variants, the weld check, the computational report and the figures.
  • The algorithm (BESO): the shape itself.
  • Me: the brief, checking the model, checking the mesh and boundary conditions, approving the geometry change, choosing the technology, judging the results.

The whole thing took roughly 4 hours of net time including my checks — from the first command to a finished computational report.

Limits

It is a model example, not a basis for production. It does not assess weld fatigue, bolt preload and contact, buckling of compressed members or manufacturing tolerances. This is not the limit of the agent's abilities — it could handle most of that too, we simply did not assign it in this task. The weld check is indicative. Stresses on fixed edges and in weld corners are numerical singularities and are judged by code, not by colour in FEA. It is a deliberately simple case that can be checked by hand — it was never about the bracket, but about whether the agent handles the whole workflow and where it has to be stopped, steered or corrected.

Why do this at all

Topology optimisation, verification and the design of a manufacturable part are usually a week of an analyst's work and expensive licences. Here they ran on software costing €0, and the agent did most of the routine. The engineer stayed where they are irreplaceable: at the brief, the checks and the decisions.

The most common reason companies do not adopt AI in engineering is neither the technology nor the price — it is “our people cannot use it”. Yet the point is not that AI can do it. The point is that a design engineer can direct it, without programming. That is exactly what we teach at the AI workshop: one day at your site, on a real task of your own.


Download the full computational report

The method from this article, all the numbers, the mesh-quality check and the weld assessment in one PDF. Leave your e-mail and get the report right away.

If you have brackets, frames or mounts that are needlessly heavy, or you want to bring a workflow like this into your own engineering — get in touch.


About the author: Aleš Kurfürst, an analyst with 15 years of FEA experience (ANSYS, Altair) and a doctorate from TU Wien in computational modelling. At MakeWise he carries out strength, fatigue and stability analyses for engineering and manufacturing companies — and at the AI workshop he teaches teams to build such tools themselves.

Frequently asked questions

Does AI replace the analyst or the design engineer?
No. In this example the agent did the routine — model, mesh, boundary conditions, running the optimisation, verification runs, the report. The decisions stayed with the engineer: the brief, checking the model and mesh, approving the geometry change, choosing the technology and judging the results. AI can find the place where a hand calculation and FEA disagree; explaining it and owning the conclusion is a human job.
Does the AI itself compute the topology optimisation?
No. The shape itself is computed by the BESO algorithm on top of the CalculiX solver — a classical method, not AI. The agent's job was to set the optimisation up, run it, watch convergence, and evaluate and verify the result with a separate analysis.
What tools did it run on, and what did the licences cost?
FreeCAD (CAD), PrePoMax 3.0 with the CalculiX solver (FEA) and BESO (topology optimisation). All open source — €0 in CAE licences. The agent drove them over MCP connectors. The AI itself (Claude) is a paid subscription.
Is a result like this ready for production?
No, it is a model example. It does not assess weld fatigue, bolt preload and contact, buckling of compressed members or manufacturing tolerances. This is not the limit of the agent's abilities — it could handle most of that too, we simply did not assign it in this example. The weld check is indicative (EN 1993-1-8, simplified method). Stresses on fixed edges and in corners are numerical singularities and are judged by code, not by colour in FEA.

Related articles