This video shows a troubleshooting assistant for an industrial steam generation boiler, built in ErgoTech's MIStudio from three reusable visual components, KnowledgeBaseDevice, KnowledgeBase and FeatureExtractor, instead of thousands of lines of generated application code. An operator asks a question about the boiler, and the system combines the boiler's P&ID and documentation with features calculated from historical boiler data to produce an answer. The architecture stays visible so process engineers and controls personnel can inspect, modify and audit it.
Background
The demo responds to a LinkedIn post in which the author, who says they have no coding experience, built a troubleshooting assistant for an industrial steam generation boiler. The application was more than 5,000 lines, entirely generated by an LLM (Claude Code, according to the video description). The video calls it an impressive demonstration of LLMs and vibe coding, but asks who is responsible for that software, who can audit and maintain it, and how it will be explained, or whether it will be used as a black box. This demo replicates the same idea with configured MIStudio components.
What the video shows
The process is the steam boiler from the original post. Years of data collected from this boiler are available as a data set on Kaggle, referenced in the LinkedIn post; the available data is from 2022 and 2023. The application uses three existing MIStudio components:
- KnowledgeBaseDevice indexes the boiler's P&ID and builds a knowledge graph of the interactions between its components. It accepts a folder of files of any type: images, doc files, PDFs and SOPs, and could also include maintenance history from an MES or a database. Images embedded in PDF or doc files are found, turned into a knowledge graph and combined with the surrounding text. Indexing happens automatically when a prompt is introduced.
- FeatureExtractor works against any time series and extracts the features you specify, such as mean, standard deviation, max, min and dominant frequencies. The description adds slope, correlations, excursion counts and missing samples. Here it works on the historical boiler data.
- KnowledgeBase brings the pieces together. Any MIStudio component can be an MCP server, and the FeatureExtractor is documented as an MCP server for the KnowledgeBase, so the prompt can request historical data as part of the diagnosis. The KnowledgeBase uses two prompts: a system prompt describing the system, and the operator's simple question.
In the example, the operator asks what anomalies have been seen in the last 5 hours of the available data. The system queries the database, asks the LLM a number of questions and responds that there are no temperature anomalies in the last 5 hours: operation remained normal, with no duration below the threshold of 200 units. With current data in the database, the same question could cover the last 5 hours of today.
Additional details: Contextual AI on the ErgoTech wiki
Chapters
- 0:00 The LinkedIn boiler troubleshooting app
- 0:46 An alternative: three MIStudio components
- 1:27 Indexing the P&ID and documents
- 2:57 Kaggle boiler data and the FeatureExtractor
- 4:02 KnowledgeBase, MCP and prompts
- 4:58 Asking about anomalies
- 5:40 Summary
Frequently asked questions
What is the difference between this and a generated application?
Instead of more than 5,000 lines of generated code, the application is built from three reusable MIStudio components whose configuration engineers can inspect, understand, modify and audit.
What process does the example come from?
An industrial steam generation boiler, the same one used in the original LinkedIn post. Its historical data, from 2022 and 2023, is publicly available on Kaggle.
How does the LLM get process data?
Through the FeatureExtractor, which acts as an MCP server for the KnowledgeBase. The prompt requests calculated features from the historical data rather than reading raw data.
What is MIStudio?
MIStudio is an industrial automation, SCADA/HMI, DataOps and application engineering platform that enables engineers and LLMs to build, inspect and maintain industrial applications using proven software components.
Original inspiration: LinkedIn post.
Transcript
Show the transcript (from YouTube's captions, lightly corrected)
0:01 A LinkedIn article caught my attention this week, where the author, who claims to have no coding experience, created a troubleshooting guide for an industrial steam generation boiler. The application was some 5,000-plus lines and was entirely generated by an LLM. It's a very impressive demonstration of the capabilities of LLMs and vibe coding. But it also exposes a problem of who is going to be responsible for that? Who can audit that software? Who's going to maintain it? And how is it going to be explained, or is it just going to be used as a black box?
0:46 I'd like to offer an alternative approach to 5,000 lines of AI-generated code. MIStudio, among other capabilities, has the ability to build contextual AI applications. And I took the opportunity to replicate the idea of a boiler troubleshooting application within MIStudio. The real focus of that is three components, these three components in the middle here. So, we start with the P&ID, the, the piping and instrument, instrument, instrumentation diagram for the boiler, which we can see over here on our, our window.
1:27 And the first thing that happens with that is that is indexed. We build a, a knowledge map from that, a knowledge, a knowledge graph from that, that will tell us all the interactions between these various components. And then we can use that in future queries to find out what the, the problems are with the, the boiler operation. In MIStudio, that's a very simple operation. The KnowledgeBaseDevice server here will accept a folder of files, and files of any type. They can be images, they can be doc files, they can be PDFs, anything, SOPs. It could also include the whole history of maintenance data from an MES system or something similar. It can be worked against a database. Any data that can be the available can be indexed by the KnowledgeBaseDevice server, and that can then be used in future queries.
2:24 It's very smart. It'll deal with images, so this is a simple image, but if the image is embedded in a PDF file or the image is embedded in a doc file, it'll not only find the image and build a, a knowledge graph of the image, it'll also combine that with the text, so you have a, a complete description of what's in that document. And so, this happens automatically. You point it to the folder. As soon as a prompt is, is introduced, it'll go and index the, the files that are in that folder.
2:57 The other interesting thing about this application was that it's a, there's an own data set on Kaggle, years' worth of data collected from this boiler is available on Kaggle, and that's referenced in the original LinkedIn post. And so, to make use of that, what we have is the MIStudio FeatureExtractor. And what that does is that will work against a time series of any kind and will allow you to specify features that you want to extract. It's got a very broad range of features: mean, standard deviations, max, min, dominant frequencies. Any, any feature you really, you can think of that might be useful for determining the problem set in a, in any process is probably part of the FeatureExtractor. And so, it's working against historical data. It's going to use that historical data to determine what's happening, what, what, what this, the status of the boiler is.
4:02 And the final piece is the piece that lets us bring all these, these things together. Knowledge base being allows us to, to create a prompt that will work against the information we have. Any component in MIStudio can be an MCP server. So, this FeatureExtractor is documented as being an, an, an MCP server for our complete knowledge base here. And so, the prompt in the knowledge base can and will request historical data to use that as part of the, the troubleshooting diagnosis. So, it's actually a combination of two prompts. There's a system prompt that actually gives a description of the system, and then there's the opportunity to present a simple prompt, a simple question that you want to answer, that will combine with the system prompt to get you the, the result.
4:58 And so, here I have a fairly simple question. I'm just going to ask, you know, what anomalies have we seen in the last 5 hours of the available data? The available data is quite old. The available data is from 2022, 2023. There's nothing current, but if you, in principle, if the database had current data, we could ask for the last 5 hours of, of today. And so, it takes a little bit to run through this whole operation. It's going to go and query the database. It's going to go and ask the LLM a number of questions, and it'll come back with a response. There are no, no temperature anomalies in the last 5, 5 hours. It's remained within normal operation, and no duration below the threshold of 200 units.
5:40 So, quite simply, we've determined that we have a troubleshooting guide for a industrial boiler based on historical data, and the ability to digest documents that are associated with that boiler, and a simple LLM prompt.
