Can AI Be a Good Lab Partner?
An AI agent plans a chemistry experiment, collects and analyzes thermal data, and writes the lab report.
Most school experiments begin with a lab manual. Someone has already decided what to mix, what to measure, and what the answer should be. The manual leaves out the parts of science that take scientists the most time: deciding what to test and how to test it, finding out why a result did not match the prediction and what to change in the next attempt, and writing down what the data show and what they do not. A good lab partner helps with all these tasks.
The Experiments section of Infrared Explorer gives this role to an AI agent. A student starts with a question. The materials do not have to be named: the student can ask what could be done with things found in a kitchen or around the house, and the agent says which items to use. The student can also put items on a table and share a photo of them, and the agent decides what to do with them. Either way, the agent turns the question into a claim that can be tested and designs an experiment to test it.
The student then performs the experiment and records it with a thermal camera. The agent reads the temperature data in the recording, discusses the result, and says what to change next. From the discussion, there are two ways to proceed. The small loop (shown in orange in Figure 1) involves recording the same design again with the problems fixed, to improve the quality of the data. The big loop (shown in purple) involves going back to the plan for a different design that tests the same claim, to cross-validate the result. The student and the agent can go around either loop as many times as the claim requires. At the end, the agent writes a lab report. The agent never touches the lab bench: all it knows about the experiment comes through the camera and the conversation.
As an example, this article follows one experiment from the first question to the final report. We kept the start simple: a photo of salt, baking soda, a mug, and three Petri dishes. The experiment went twice around the small loop: three recordings of the same design, with the first result contradicting the agent's prediction. For the big loop, the agent proposed different designs, which we leave for readers to try. The agent ran on OpenAI's GPT-6 Luna. The window below is the experiment as we left it, with the entire conversation.
The experiment on the web. Scroll the conversation on the left, and open Plan, Captures, or Report on the right.
From a Question to a Plan
We put a mug, a canister of table salt, a box of baking soda, and three glass Petri dishes on a table, took a photo of them in the app (Figure 2), and typed one sentence:
What experiment can I do using these materials?
The agent named the experiment “Cooling When Powders Dissolve” (a slightly misleading name, given that table salt is granular, not a powder), drew the setup (Figure 3), and wrote a plan in three parts: question and prediction, setup, and recording. Every item in the photo got a job: a dish of plain water as the control, a dish each for the salt/water mixture and the baking soda/water mixture, and the mug for pouring the water.
The agent's plan turned our open question into a claim that can be tested: salt and baking soda both take in heat as they dissolve, so both should cool water. For this setup, the claim became a prediction with numbers in it: the salt dish should cool by a few tenths of a degree Celsius and the baking soda dish by perhaps 0.5 to 1.5 °C. The plan also stated what would count as a failed prediction: all three dishes exhibiting similar temperature changes, or the salt and baking soda dishes warming. Additionally, the plan named a weakness in its own design before we did: equal scoops are not equal masses.
The First Recording: A Tie
We filled the three dishes with water, pointed a FLIR ONE Edge Pro straight down at them, and recorded for nearly 40 minutes in the app's time-lapse mode. We marked a reading area on the surface of the liquid in each dish (T1, T2, and T3 in Figure 4). About 100 seconds in, we put a scoop of salt into the middle dish and an equal scoop of baking soda into the bottom dish. The plan said to stir each for 10 seconds, but we did not stir.
Figure 4: The first recording at 105 seconds, seen in visible light (left) and infrared light (right). Top to bottom: plain water, water with salt, water with baking soda. The baking soda lies in a white heap on the bottom of its dish. The colors run from 18.2 °C (dark pink/purple) to 23.2 °C (white).
When the recording was added to the Experiment in Infrared Explorer, the agent went to work. It called up thermal and visible-light frames of its choosing, and it wrote and ran its own code to read the temperature inside the three reading areas. It worked out for itself which dish was the control, which had the salt, which had the baking soda, and when the two materials were added.
The agent also dealt with a problem in the data that we had not mentioned. A thermal camera closes its shutter from time to time to recalibrate, and ours did so 44 times during the recording. Each time, all temperature readings in the frame dipped briefly by about 1 °C before coming back. The agent traced the dips to the recalibrations and left out the frames around each one. It also compared the three dishes with each other by subtracting the readings of the control (the plain-water dish) from the salt and baking soda readings at each point in time. Figure 5 is the chart it drew.
All three water surfaces started at about 19.8 °C. Between 5 and 15 minutes, the salt dish read about 0.8 °C below the plain-water control and the baking soda dish about 0.7 °C below the control, and by the end, both had crept back to about 0.2 °C below the control. It was a tie between the salt and the baking soda, and the agent said plainly what that meant: the result contradicted its own prediction that the dish with baking soda would cool more than the one with salt.
The first recording, with a chart of the salt and baking soda dishes' temperatures relative to the control. Press Play, or move your pointer along the lines on the chart to see the exact values at any point in time.
What the Agent Would Change
The analysis had one thing wrong: the agent assumed we had followed its plan, writing that the salt and the baking soda were “added and stirred.” We told it that nothing had been stirred, and it took the correction, stating, “I misread the setup.”
Then, the agent corrected us. When we asked why there was no difference in cooling between the salt and baking soda dishes, it answered, “There is a small difference in your capture,” and called it “a weak result, not a clear demonstration that salt cools more.” It looked up the chemistry and cited its source: mole for mole and fully dissolved, baking soda should cool the water more than salt.
The agent did not stop at explaining the tie. Its analysis had already said that a repeat of the experiment should have equal amounts of the two solids, and that the salt and baking soda dishes should be stirred equally. When we asked what would make the difference in cooling between the salt and the baking soda more noticeable, it described a repeat of the same design, done with more care: weigh the two solids instead of measuring them by the scoop (8 g of each in 100 mL of water, a ratio at which the baking soda can fully dissolve); stir both dishes the same way for the same time; and set the dishes on insulating pads. Only the stirring had been in the agent's first plan. These changes represent the small loop of the workflow: the claim and the design stay as they are, and what changes is the quality of the data collected. The full exchange with the agent can be found near the top of this article.
The Second Recording: Stirring
We recorded the same design again, with the same three dishes and the same scoops of the salt and the baking soda, this time for 10 minutes. Of the agent's changes, we made only one: after the salt and the baking soda were added, we stirred those two dishes with sticks. We left the plain-water control alone (Figure 6).
Again, the agent looked before it measured. In the visible-light frames, it saw the stirring sticks in the two dishes. It also caught that, before anything was added, the baking soda dish already read about 0.5 °C warmer than the control. Left alone, that offset would have hidden half a degree of cooling, so the agent measured each dish from its own starting temperature before comparing it with the control.
This time, the temperatures in the salt and baking soda dishes pulled apart within a minute. Between two and five minutes after the salt and the baking soda were added, the baking soda dish stayed about 2.3 °C below the plain-water control and the salt dish about 0.6 °C below the control. The baking soda dish did cool more than the salt dish, and more than the predicted 0.5 to 1.5 °C cooling relative to the control. The agent, however, did not call its claim settled: one recording alone cannot show that the difference is repeatable, it said.
The second recording, with the same chart. Press Play to watch the baking soda dish at the bottom turn cold within a minute of the stirring.
The Third Recording: Equal Masses
The second recording still compared equally sized scoops of the salt and the baking soda, but the plan had said from the start that equal scoops are not equal masses. We went around the small loop once more to follow one of the agent's suggestions: we used a kitchen scale to measure precise quantities. Each dish held 30 mL of water, and the middle and bottom dishes received 2 g of salt and 2 g of baking soda, respectively, both stirred (we scaled down the quantities the agent suggested). The plain-water control was again left alone (not stirred).
The agent measured the third recording the way it had measured the second: each dish from its own starting temperature, then compared the salt and baking soda dishes against the control. The baking soda again cooled the most. Between three and five minutes after the solids were added, the baking soda dish read about 2.4 °C below the control, with the salt dish about 1.0 °C below the control. The agent called this the clearest comparison so far, because the masses of the salt and the baking soda and the volumes of water were both equal. It noted that the result agreed with the second recording. It also kept the limits of the experiment in view, noting that this was still a single recording and that equal masses are not equal numbers of moles.
The third recording, with the same chart: 30 mL of water in each dish, with 2 g of salt in the middle one and 2 g of baking soda in the bottom one.
The Report
When we asked for a report, the agent went back to all three recordings and checked the numbers before it wrote anything. The report has a part for each recording (it calls them rounds), each with a thermal frame that shows where the temperatures were read and a chart comparing the salt dish minus the plain-water control to the baking soda dish minus the control (Figure 7).
Figure 7: The three charts in the report, showing the salt and baking soda dishes' changes from starting temperatures, minus the control, against seconds elapsed since the salt and the baking soda were added. The first recording had no stirring; the second had stirring; the third had stirring and equal masses of the salt and the baking soda.
The report limits its claims to what the three recordings demonstrate. All three show the dishes with the salt and the baking soda cooling relative to the control, and the two stirred recordings show the baking soda dish cooling more than the salt dish. On why the first recording differs from the later two, the report does not claim that stirring was the cause, only that it could be. Other differences could explain it too: the recordings started at different temperatures, and the amounts of the salt and the baking soda in the first two recordings were measured by the scoop and not weighed. The last sentence in the report recommends running the small loop again by repeating the third recording to find out whether the larger drop in temperature for baking soda is repeatable.
Different Designs for the Same Claim
A repeat of an experiment can show that a result is repeatable. However, in our case, the three recordings share the same basic design. There could be blind spots in the findings that a different experimental design might reveal. So we asked the agent to cross-validate the claim with different designs:
Generate different experimental designs to prove the science.
The agent immediately took issue with the word “prove,” stating that no single experiment proves a mechanism, but agreement across different tests makes the evidence stronger. Then, it proposed three designs and said what each would test:
- The same comparison with tighter controls. The same amounts, with the control stirred too, both solids added at the same moment, and the whole trial repeated a few times with the dishes swapping places. This tests whether the larger cooling for baking soda is repeatable, and not an effect of the stirring or of where a dish sits.
- More baking soda, more cooling? A row of dishes with the same amount of water and increasing amounts of baking soda, from none to 2 g, all small enough quantities to dissolve fully. If the cooling grows with the amount dissolved, that links the cooling to the dissolving.
- A thermometer in the liquid. The salt and baking soda comparison in insulated cups, read with a thermometer probe. This tests whether the cooling the camera sees at the surface is also there in the bulk of the liquid.
In terms of the workflow in Figure 1, the first proposed design is the small loop again, and it closes a gap in the agent's own first plan, which left the control unstirred. The second and the third proposed designs are the big loop: different designs to test the same claim. The agent's advice was to run the first design and then use the third as an independent check on temperature. We leave these experiments for readers to try on their own.
Conclusion
This article uses salt and baking soda to illustrate a new way to learn science in the real world: students ask an AI agent a question, the agent turns it into a claim and designs an experiment, and the students conduct the experiment themselves. The agent reads the thermal recordings and hands back measured data, an argument, and what to do next: either use the same design again to gather better data, or use a different design to cross-validate the result. At the end, the agent writes the report. Is the agent a good lab partner? In this experiment, it was. It turned a question into a claim and a prediction that could fail, held to the data when we misstated the result, gave way when we knew our own procedure better, and answered a request for proof with three ways to check its own result.
A thermal camera gives students thousands of thermometers where they once had one, a step from sensing to imaging. An AI agent that can read what those thermometers record takes the next step, from imaging to reasoning. By pairing the two, Infrared Explorer turns students' curiosity into genuine scientific investigations.
← Back to Infrared Explorer