LangGraph and LLM-based AI Agent for Real-time Anomaly Detection
Recent advancements in Large Language Models (LLM) have drawn significant attention to agent technologies capable of autonomously controlling AI models. However, practical methods for applying such technologies to real-time anomaly detection in manufacturing environments remain limited. This paper presents a LangGraph-based real-time anomaly detection agent that controls two anomaly detection models through natural language. To achieve this, we constructed a custom dataset reflecting real-world environmental conditions and applied training optimization techniques for fine-tuning. The two models were then integrated as nodes within LangGraph and connected to an LLM-based framework, enabling model selection or multi-step reasoning based on text commands. Experimental results demonstrate that both models maintained stable detection performance even in noisy environments, while the LLM provided detailed explanations of the detection results. This AI Agent framework is expected to accelerate AI adoption in manufacturing and contribute to enhanced product quality and productivity.
Authors
- Gi-Hun Park
- Jin Woo Lee (ORCID: https://orcid.org/0000-0002-0293-9017)
- J. K. Lee (ORCID: https://orcid.org/0009-0008-2280-4057)
- Oh In Kwon
- Taewan Kim (ORCID: https://orcid.org/0000-0003-3319-7797)
Publication Details
- Journal
- Journal of Korea Multimedia Society
- Published
- 2025-08-31
- DOI
- https://doi.org/10.9717/kmms.2025.28.8.980
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00