← Latest papers
🔬 mesoscale physics

Accelerating experimental spintronics research through context provisioning for LLM agents

This paper proposes a framework to accelerate experimental spintronics research by equipping LLM agents with context from scientific literature, internal documentation, and controlled instruments via the Model Context Protocol, utilizing specialized retrieval systems that achieve high accuracy in figure and document retrieval to enhance experimental planning and analysis.

Original author: Aditya Kumar, Kilian Leutner, Mathias Kläui

Published 2026-11-30
📖 6 min read🧠 Deep dive

Original author: Aditya Kumar, Kilian Leutner, Mathias Kläui

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer

The world of modern electronics relies on a property of matter called "spin." Imagine the tiny particles inside atoms, like electrons, as if they were spinning tops. In most everyday materials, these tops spin in random directions, canceling each other out. However, in a specialized field of physics known as spintronics, scientists learn to line these spins up in a specific direction. This alignment allows them to store information without needing constant power, creating hard drives that are faster and more energy-efficient. It also enables sensors that can detect the faintest magnetic fields. As our need for computing power grows, researchers are turning to these spin-based systems to build the next generation of technology. But making these devices is incredibly difficult. It involves growing ultra-thin layers of material, carving them into microscopic shapes, and measuring their behavior with custom-built machines. Every single experiment takes a long time and uses expensive resources, meaning scientists can only run a few tests at a time.

To speed up this slow process, a team of researchers at Johannes Gutenberg University Mainz has developed a new way to help scientists plan and analyze their work using artificial intelligence. Instead of trying to build robots that physically move materials around—which is hard to scale up in a lab filled with delicate, custom equipment—they focused on the thinking part of the job. They created a system where an artificial intelligence agent can read the lab's internal notes, search through thousands of scientific papers, and even talk to the measuring instruments directly. The goal was to see if this AI could find the right information to help design better experiments without ever leaving the university's secure network.

The researchers built a system that connects the AI to three specific sources of information. First, it can read the group's own internal wiki, which contains the practical, unwritten rules of the lab: how to set up a machine, what mistakes to avoid, and the specific recipes for making samples. Second, it can search a massive library of scientific papers and theses that the group has collected over the years. Third, it can connect to the actual instruments in the lab, allowing it to see live data and, under strict safety limits, control the machines. To make sure the AI does not make things up, the system is designed to always point back to the exact document or data point it used to form an answer. This is crucial because in science, being able to check the source is just as important as getting the answer.

When the team tested how well the AI could find information in their library of about ten thousand documents, they discovered something surprising about how to search for scientific images. Scientific papers are full of charts and diagrams that show the results of experiments. The researchers wanted to know if the AI should search by looking at the picture itself or by reading the text description that usually sits right below it. They tried both methods. When the AI tried to find the right picture by analyzing the image pixels directly, it failed almost every time, finding the correct image in the top ten results less than five percent of the time. However, when the AI searched by reading the text captions that describe the image, it succeeded in finding the correct figure in the top ten results ninety-two percent of the time. The text description contains the specific details about the experiment that the picture alone cannot show, making it a far more reliable key for finding the right information.

The team also tested how well the AI could handle different types of text. When searching through the vast collection of scientific papers, they found that combining a search for specific keywords with a search for the general meaning of the text actually made the results worse. Because scientific terms like "platinum" or "skyrmion" appear in so many different papers, the simple keyword search got confused and drowned out the more relevant answers. In this case, the AI worked best when it relied solely on understanding the meaning of the text. However, when they tested the system on the lab's internal wiki, the results were different. Here, the keyword search remained very strong, and combining it with the meaning-based search did not hurt the performance. This showed that the best way to search depends entirely on what kind of information you are looking for.

Perhaps the most significant step was giving the AI the ability to control real laboratory equipment. The researchers built a safety layer that acts as a strict gatekeeper. Before the AI can tell a machine to do anything, the system checks the request against a set of pre-defined physical limits. For example, if a machine is only safe to operate up to a certain temperature or magnetic field strength, the system will block any command that tries to go beyond that limit. This allows the AI to operate a specialized microscope used to study magnetic materials, but only within a safe, "sandboxed" environment. The system logs every action and can stop the machine instantly if something goes wrong. This approach proves that AI can be trusted to handle physical hardware without risking damage to expensive equipment or delicate samples.

The work demonstrates that the biggest bottleneck in spintronics research is not necessarily the speed of the machines, but the speed at which scientists can find the right information to plan their next move. By giving artificial intelligence agents access to the right context—internal notes, scientific literature, and live instrument data—the researchers have shown a path to accelerating discovery. The system successfully retrieved the correct scientific figures ninety-two percent of the time using text descriptions, outperformed older search methods in large document collections, and safely controlled a real microscope. The researchers plan to continue improving these tools, using the AI to find gaps in their own documentation and expanding control to more complex experimental setups. This approach offers a practical way to make the slow, expensive process of experimental physics more efficient, allowing scientists to learn more from every single experiment they run.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →