cs.MAOct 1, 2026

LLM-Driven Multi-Agent Control for Skill-Based Smart Manufacturing

Authors: Kay Köhle, Darko Anicic, Thomas A. Runkler, René Graf

Organizations: Technical University of Munich, Munich, Germany · Siemens AG, Foundational Technologies, Munich/Garching, Germany · Siemens AG, Digital Industries, Fürth, Germany

Abstract

Factories are shifting toward smaller lot sizes with high product customization, requiring frequent re-programming of flexible and reconfigurable automation systems. LLM-based agents can be deployed in two complementary roles: Offline, they generate deterministic production sequences, reducing programming effort; online, they operate live machines and handle unforeseen runtime faults that static programs cannot anticipate. We propose a solution in which each factory module is paired with a dedicated LLM-based agent and an MCP tool server that exposes the module's skills via OPC UA method calls, with agents coordinating over MQTT and grounded by real-time updates of the factory state. We compare three agent architectures (orchestrator, peer-to-peer, and monolithic) across nine production challenges of increasing complexity in a simulation of a physical six-module hexagonal factory, including silent hardware fault detection. The monolithic and peer-to-peer architectures both achieve the highest mean solve rate (93%), while the orchestrator uniquely resolves a silent conveyor-belt fault in all ten runs by autonomously rerouting plates around the blocked segment. All architectures exhibit emergent fault-diagnosis behavior without any explicit failure-handling logic, establishing standardized MCP tooling, MQTT-based inter-agent communication, and real-time state injection as a viable and reproducible foundation for LLM-programmed smart manufacturing.

Figures & tables

Explore similar work

CardsList
  1. FactoryLLM: A Safe and Open-Source AI Playground for Evaluating LLMs in Smart Factories

    Jun 12, 2026Yash Pulse, Yong-Bin Kang, Abhik Banerjee +2Large Language Models(LlmsIndustrial Automation

  2. From Detection to Action: Using LLM Agents for Fault-Tolerant Control

    Jun 26, 2026Javal Vyas, Milapji Singh Gill, Artan Markaj +2Fault ToleranceLarge Language Model Agents