# AgentAM: An AI Agent for Spatter- and Defect-Aware Process Optimization in Laser Powder Bed Fusion

arXiv: https://arxiv.org/abs/2611.05171 · HTML: https://mlsanity.com/paper/2611.05171/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 14 of its 109 references that are in the map.
- Submitted 3 Nov 2026.

## Placed in

- LLM agents and tool use

## Builds on (most cited first, 14 of 14)

- [The AI Scientist: Towards Fully Automated Open-Ended Scientific Discovery](https://mlsanity.com/paper/2408.06292/) (2024)
- [Survey of LLM Agent Communication with MCP: A Software Design Pattern Centric Review](https://mlsanity.com/paper/2506.05364/) (2025)
- [AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agents](https://mlsanity.com/paper/2607.18754/) (2026)
- [MCP Bridge: A Lightweight, LLM-Agnostic RESTful Proxy for Model Context Protocol Servers](https://mlsanity.com/paper/2504.08999/) (2025)
- [NANOGPT: A Query-Driven Large Language Model Retrieval-Augmented Generation System for Nanotechnology Research](https://mlsanity.com/paper/2502.20541/) (2025)
- [Integrating Multi-Physics Simulations and Machine Learning to Define the Spatter Mechanism and Process Window in Laser Powder Bed Fusion](https://mlsanity.com/paper/2405.07823/) (2024)
- [Toward Knowledge-Guided AI for Inverse Design in Manufacturing: A Perspective on Domain, Physics, and Human-AI Synergy](https://mlsanity.com/paper/2506.00056/) (2025)
- [Design-to-Plan: A Large Language Model-Based Multi-Agent Framework for Manufacturing Process Planning from 3D CAD Models and 2D Engineering Drawings](https://mlsanity.com/paper/2608.24039/) (2026)
- [Agentic AI in Engineering and Manufacturing: Industry Perspectives on Utility, Adoption, Challenges, and Opportunities](https://mlsanity.com/paper/2604.09633/) (2026)
- [AgentsCAD: Automated Design for Manufacturing of FDM Parts via Multi-Agent LLM Reasoning and Geometric Feature Recognition](https://mlsanity.com/paper/2607.02448/) (2026)
- [Discovery of Spatter Constitutive Models in Additive Manufacturing Using Machine Learning](https://mlsanity.com/paper/2501.08922/) (2025)
- [LLM-ADAM: A Generalizable LLM Agent Framework for Pre-Print Anomaly Detection in Additive Manufacturing](https://mlsanity.com/paper/2605.03328/) (2026)
- [AI Agentic Selective Laser Sintering Process Optimization](https://mlsanity.com/paper/2608.25928/) (2026)
- [Kinematics-Grounded Agentic AI for Robotic Additive Manufacturing Process Planning](https://mlsanity.com/paper/2609.19347/) (2026)

## Abstract (arXiv)

Predictive models for laser powder bed fusion (LPBF) are rarely used on the shop floor because querying them requires programming and model-specific knowledge. We present AgentAM, a large language model (LLM) agent that gives process engineers natural-language access to CFD-trained surrogates of spatter and melt pool geometry for SS316L through the Model Context Protocol (MCP). Polynomial surrogates trained on 279 single-track simulations predict melt pool dimensions (R2 ≥ 0.95) and spatter volume (R2 = 0.83 on test data) at any power-velocity point in the trained range, and geometric criteria assign each point a geometry-derived defect regime (keyhole, lack of fusion, balling or stable) that matches the regime obtained from the simulated geometry in 93.4% of tracks under cross-validation. The agent selects and parameterizes tools for prediction, process-window scans and constrained optimization. Minimum-spatter optima often sat within 10 μm of the lack-of-fusion boundary; a margin-aware optimizer moved them away from all thresholds and raised the estimated probability of remaining classified Good from 0.94 to 1.00 under an assumed 2% process drift, and from 0.72 to 0.91 when jointly sampled cross-validated geometry residuals were added. About 40-50 well-spread simulations sufficed to reproduce the defect map. To evaluate the agent layer, we introduce a 145-prompt benchmark scored against direct tool calls, plus eight prompts (40 runs) on margin-aware requests. Over the 725 runs of the main benchmark the agent passed the intended inputs in 98.5% of parsing prompts, reported the scored spatter values and defect classes faithfully and met every stated constraint in the 65 feasible optimization runs, within a median 1.0% of the brute-force optimum.
