Accelerating experimental spintronics research through context provisioning for LLM agents

AI agents that help plan and analyse spintronics experiments need three kinds of context: the literature, the lab's own documentation and its instruments. Searching figure captions as text puts the right figure in the top 10 for 92% of questions, against 4 to 5% for image embeddings.

Authors
Aditya Kumar, Kilian Leutner, Mathias Kläui
Published
arXiv preprint, AI4Sci 2026 proceedings, 2026

About this paper

Contribution to the proceedings of the 2nd International Conference on AI for Science (AI4Sci 2026) in Mainz, submitted to Proceedings of Science. Full text at arXiv:2611.36656.

The paper describes how the lab gives LLM agents context over MCP from three sources: the scientific literature, the group's internal documentation and routine characterization instruments. I built the literature retrieval and its evaluation, written up in the Literature RAG entry. On a corpus of 10,000 physics documents, indexing figures by their caption text puts the right figure in the top 10 for 92% of questions, against 4 to 5% for vision-language image embeddings. Fusing keyword search into semantic search lowers recall on the literature. On the lab's documentation it does not, and semantic search alone puts the right page in the top 10 for 98% of questions. The instrument part describes a control architecture, demonstrated on the Kerr microscope agent, that keeps an agent's hardware actions within declared physical limits.