British American Tobacco (BAT) partnered with Aimirim and ASRock Industrial to modernize its production environment, which previously relied on operator experience and traditional IEC 61131 control systems. This legacy setup led to inconsistent product quality, frequent unplanned downtime, and excessive material and energy waste. By integrating ASRock Industrial’s iEP-6010E Series Edge AI system powered by NVIDIA® Jetson Orin™ NX, with Aimirim’s Shaman AI agent and IEC 61499 architecture, BAT transformed its factory into a smart manufacturing facility. The solution structured sensor and event data, enabling real-time diagnostics through large language model (LLM) intelligence. As a result, BAT achieved more stable production quality, reduced downtime through early anomaly detection, and improved overall efficiency with a scalable, AI-ready infrastructure.