← index see it in the spaceport → LLM Dashboard for Caterpillar Sensor Data 2024–2025 · work
A dashboard where Caterpillar engineers ask about a machine's sensor data in plain English and get the analysis and its charts back. Sixteen students built it through Purdue's Data Mine; I built the front end.
Caterpillar’s machines carry hundreds of sensors: engine speed, temperatures, fuel use, pressures. To look at one machine’s readings, an engineer had to dig through folders of files to find the right one, pull the data out, and then write the analysis by hand.
For a year at Purdue’s Data Mine, sixteen students built Caterpillar a dashboard that starts from a question instead. The engineer types what they want to see; the dashboard finds the data, writes and runs the analysis, and shows the answer with its charts. I built the front end: every screen the engineer works in.
How a question goes through it. The yellow part is mine.
How it works
Caterpillar keeps machine data in GH5 files, a form of HDF5, and the server first turns them into plain tables. Then two agents from LAMBDA, an open-source data agent from the Hong Kong Polytechnic University, take over. The programmer writes Python for the question and the server runs it. If it fails, the inspector reads the error and tells the programmer what to fix. They try up to five times; after that the engineer can edit the code themselves.
A knowledge base teaches the model Caterpillar’s own names for its machines, which few people outside its engineering department would know. The models are open ones, Llama and DeepSeek, run through Ollama, and the engineer can switch between them.
We tested it on Caterpillar’s real machine data, which stays with Caterpillar. A chart that had taken minutes of hand-written queries came back in seconds.
The front end
Before any code, a few of us drew the screens as a Figma prototype and asked for feedback on it. Then I built them in React, with Material UI for the screens and Chart.js for the charts:
Home: start a chat, look through machine data, or upload a GH5 file.
Chat: type a question and read the answer, its code highlighted; upload a file into the conversation; write the whole chat up as a report to download.
Machine Data: a machine’s sensors over time, its key numbers and a short summary.
History and Favorites: earlier chats, and the ones worth keeping.
Settings: which model answers, light or dark, whether to show the code.
From an early offline build, filled with sample numbers. None of it is Caterpillar’s data.
I was also the first on the team to write code with AI agents, and I brought the others to it: first RooCode and Cline, early agents that worked inside the editor, then Windsurf, and in the end Cursor.
Handing it over
At the end of the year we showed it at the 2025 Data Mine Corporate Partners Symposium, and handed the dashboard and its code to Caterpillar. The team’s symposium video:
LLM-Powered Data Dashboard, The Data Mine Corporate Partners Symposium 2025
The poster is on The Data Mine’s site.
In the town
A Caterpillar yard on campus: a fenced lot with machines parked, a radio mast, and a tall shed whose front is one big screen. On it a question types itself out and a chart answers it: bars, a line, a scatter, a ring, a heatmap, one after another, all with made-up numbers. Out at the town’s building sites, Caterpillar machines dig, load, push and tip through the day shift, and every minute and a half or so each one sends its readings to the mast as a pulse of gold. Point at the yard and they all report at once, and a question and its answer rise over the yard in light, worked out from the fleet’s simulated day.
Credits
The team: Sankalp Singh, Brandon Perez, Muzhgan Aghazada, Niveditha Nerella, Laura Mo, Sai Lekkala, Kevin Patel, Shreyas Vendantham, Mayukha Reddivari, Rahil Mehta, Aiden Tian, Shubhro Biswas, Mihir Singh, Heng-I Chu, Arjun Khandelwal and me. Our TA was Siddharth Sancheti, and our mentors at Caterpillar were Jim Katter and Neo Mohsenvand. The two-agent design is LAMBDA ’s. Caterpillar and CAT are Caterpillar’s trademarks; their marks are left out of the screenshots here.
Links