Tech Blog · Paper Reviews
[Paper Review] Hybrid agents for smart manufacturing — cloud LLMs and small models at the edge
A large language model sets the order of analysis, while rules and small models on the floor handle detailed decisions, all the way to prioritized maintenance recommendations. We summarize a prescriptive maintenance agent architecture validated on two public datasets, and the limitations its authors report.
Sep 8, 2026 · OPTI-X
If engineers have to handle missing values, choose a model and decide which equipment to maintain first by hand every time new equipment data arrives, the analysis is always late. In this paper, researchers at the University of South Carolina split that process across several agents and let a large language model (LLM) coordinate the overall sequence. The goal is not to stop at failure prediction but to produce a priority order for maintenance actions.
The problem this paper addresses
The authors see predictive maintenance (PdM) as stopping at monitoring equipment health and forecasting failures in advance. Prescriptive maintenance (RxM) goes one step further: once a problem is detected, it uses optimization and reasoning to decide which maintenance to do and when.
The existing tools for this each have gaps. Traditional multi-agent systems follow pre-written rules and are weak in unexpected situations. Most LLM-based agents are single-agent architectures, which makes it hard to handle many machines and data streams at once.
LLMs themselves come at a cost. They are computationally expensive, add latency when hosted in the cloud, and require sending sensitive data outside the plant. The authors' answer is a division of roles: the cloud LLM handles high-level decisions, while rules and small language models (SLMs) running on the floor handle lightweight detailed decisions.
What they did: agents split into layers
The agent architecture proposed in the paper
An LLM coordinating agent sets the order and tools for four layers, and a person makes the final call
01~04: The LLM coordinating agent decides order and tools
Each layer has a dedicated agent. The coordinating agent receives a workflow context summarizing the goal, available tools, completed steps, performance metrics and lessons from earlier failures, and decides which tool to call next. The log records the reason for each decision, such as "the first step in any data analysis workflow is to load the dataset and inspect its structure and quality." The preprocessing agent looks at value patterns, the number of unique values and date formats to decide whether each column is an identifier, a timestamp, a target or an input feature, and keeps the target separate so that answer information does not leak into the inputs.
The work that corresponds to prescription is done by the optimization layer. For classification, it finds the features that contributed most to each machine's result and maps the predicted priority level to a maintenance action. For regression, it sets warning and critical thresholds from the mean and standard deviation of the training data and sorts predictions into levels. For anomaly detection, it groups anomalies by machine and recommends an inspection when several features exceed their thresholds.
The input to the current implementation is not live equipment signals but a data file loaded in advance. The authors left adding a data collection agent that receives equipment data directly as future work.
How the LLM, small models and rules divide the work
Cloud LLM and on-site small model
What each model did in the paper's implementation
The third element is rules. Preprocessing tools are chosen by rules based on data characteristics. If more than 20% of a column's values are missing, they are filled from the three nearest neighbors; between 10% and 20%, the median is used. If the data exceeds 100 MB, it is scaled with a method less sensitive to outliers.
Safeguards against failure are also rule-based. If the coordinating agent's output is invalid, it retries up to three times and logs the failure pattern. If the coordinating agent is unavailable, the system falls back to a rule-based approach.
If an analysis model falls below its thresholds (R² below 0.1 or accuracy below 0.6), other model families are tried in turn. If the model's confidence assessment score is low, a warning signals that the result is less reliable.
Results: three tasks run end to end automatically
Validation used two manufacturing datasets published on Kaggle. The maintenance dataset (SMMD) has 1,430 records and 10 features, including temperature, vibration, pressure and acoustic level along with inspection duration and downtime cost. The 6G manufacturing resource dataset (6GMR) has about 100,000 records and 13 attributes, combining equipment signals with network latency and packet loss.
The full workflow was run six times in total across the two datasets and three problems (classification, regression and anomaly detection), and the paper reports the results of three of those runs. All three problems used the same code and configuration, and the system inferred the problem type itself from the columns.
Results by task
Bar = seconds from loading the data to maintenance recommendations
| Task | Data | Selected model | Performance | Maintenance recommendations | Time |
|---|---|---|---|---|---|
| Maintenance priority classification | SMMD | Random forest | Accuracy 97.2% | 10 | 132.52 |
| Failure probability regression | SMMD | Linear regression | R² 0.9209 | 10 (9 critical, 1 elevated) | 165.26 |
| Anomaly detection | 6GMR | Isolation forest | 1,000 anomalies (1.0%) | 50 (monitoring advised) | 127.4 |
In the classification task, downtime cost and vibration emerged as the dominant features. Based on this, the optimization agent produced 10 prioritized recommendations, including one to dispatch the maintenance team to a specific machine immediately. In the regression task, vibration and temperature were the dominant features, and immediate inspection was recommended for the three machines with the highest predicted failure probabilities (0.62, 0.61 and 0.61). In anomaly detection, packet loss and network latency were the main anomaly signals.
There is a caveat when reading these numbers. The authors state that the purpose of the experiments was not to improve prediction accuracy but to show that the system can carry planning, reasoning and execution through to the end without task-specific programming. The 97.2% accuracy comes from an 80/20 split of public data, and the paper contains no experiment comparing the recommendations with actual maintenance outcomes.
Limitations reported in the paper
The authors list the limitations themselves in their conclusion. Latency during LLM reasoning steps may limit real-time responsiveness. Validation used only two offline datasets, which do not capture the volume and variability of plant data streams, and scalability, latency and robustness under continuously arriving equipment data remain open challenges.
Because the system depends on specific model configurations, performance and cost may differ with other language models or deployment settings. The human review step improves transparency, but the authors write that LLM reasoning may produce inconsistent outputs in unseen situations, which calls for stronger safety verification. They also state that privacy and data governance for cloud inference were not explored in depth.
What to look for on the floor
Takeaways from this paper
Read it as an architecture proposal, not a performance paper
When bringing this to a plant, the first thing to look at is the design of the workflow rather than accuracy. Which agent is responsible for data quality checks, model selection and recommendation generation, and where the workflow goes when something fails, are the most concretely described parts of this paper. It is also an implementation-level example of the division between cloud large models and on-site small models covered in Part 9 of the basics series "How AI Agents Are Built."
The human review step deserves attention as well. The paper's implementation shows the agents' decisions and reasoning traces in a command-line interface and lets a person approve, adjust or reject the recommendations. The authors explain that this step is a supervisory mechanism rather than a technical requirement, and that it is especially desirable in the early stages of introducing agents.
As next steps, the authors propose receiving equipment data in real time through industrial communication standards such as MQTT and OPC UA, and carrying out operational actions under user supervision and approval. What this paper produces is maintenance recommendations; it does not yet cover the step of moving equipment directly. For an agent's conclusion to reach the equipment, the safety verification the authors list as a limitation has to come first, between recommendation and execution.
References
Could this work for your process?
Talk to us