Agentic AI for operating scientific instruments for nanoscale characterization
Summary
The paper presents an agentic AI framework using large language models and the Model Context Protocol to automate atomic force microscope operation for nanoscale characterization, achieving expert-level performance with safe execution.
View Cached Full Text
Cached at: 08/28/26, 09:32 AM
# Agentic AI for operating scientific instruments for nanoscale characterization Source: [https://arxiv.org/abs/2608.26198](https://arxiv.org/abs/2608.26198) [View PDF](https://arxiv.org/pdf/2608.26198) > Abstract:Operating a scientific instrument such as an atomic force microscope \(AFM\) requires continuous expert decision\-making\. A trained user defines the experimental intent, translates it into instrument commands, assesses incoming data, adjusts imaging parameters, and post\-processes the final image\. Existing automation usually addresses only parts of this workflow through hard\-coded routines, task\-specific controllers, or trained machine\-learning models\. Here we present an agentic\-AI framework that operates the executable part of the AFM workflow using a general\-purpose, tool\-augmented large language model connected to instrument functions through the Model Context Protocol \(MCP\)\. The framework consists of 3 MCP\-based agents: AFM Messenger converts natural\-language instructions into checked instrument commands; AFM Pilot assesses image quality through a large language model \(LLM\) and, if necessary, adapts imaging parameters; and AFM Doctor diagnoses image artifacts and applies transparent post\-processing from a pre\-approved tool set\. Because the language model performs image assessment rather than a fixed scalar objective or external optimizer, the same strategy can be applied across sample types and imaging modes without specific retraining\. Safe hardware operation is enforced through an ambiguity check layer before execution\. Benchmarking against fine\-tuned and off\-the\-shelf tool\-using models shows that this guarded execution layer, rather than model capability alone, reduces wrong\-command execution to zero\. In live experiments on different samples, AFM Pilot matched expert operators in image quality, iteration count, and tuning time, with no significant difference\. These results demonstrate a safe route to agentic operation of scientific instruments, where experimental intent remains human\-defined while command execution, image\-based tuning, and post\-processing are delegated to AI agents\. ## Submission history From: Georg Ernest Fantner \[[view email](https://arxiv.org/show-email/b1571bd5/2608.26198)\] **\[v1\]**Tue, 25 Aug 2026 14:55:40 UTC \(6,694 KB\)
Similar Articles
Experiments in Agentic AI for Science
This paper presents two agentic AI frameworks, DeepTS/DeepCollector and DeepScribe, that automate scientific workflows including time-series data curation and conversion of physics lectures into structured reports, using a hybrid local-cloud architecture with LLMs.
From Prompts to Protocols: An AI Agent for Laboratory Automation
This paper presents an AI agent that integrates large language models with laboratory orchestration software, allowing scientists to create, monitor, and manage automated lab protocols using natural language. Evaluated on three simulated labs, the agent achieves a 97% first-attempt protocol generation success rate and requires far fewer interface actions.
Scientific computing in the age of agentic AI
OpenAI shares a field report on using AI agents like Codex and Claude Code to assist in scientific computing projects, showing significant acceleration in software development and maintenance while shifting researchers' roles to verification and orchestration.
From Overload to Insights: How AI Agents Can Support Scientists in Analyzing Complex Data
This paper presents an agentic AI system designed to assist scientists at European XFEL in analyzing complex experimental data by retrieving documentation and generating analysis code, integrated with high-performance computing environments.
An Agentic AI Scientific Community for Automated Neural Operator Discovery
This paper presents an agentic AI scientific community of virtual labs that autonomously discover neural operator architectures for PDE problems. Using LLM planners, numerical workers, and reviewers under a citation-based economy, the system produces high-accuracy hybrid architectures, with results suggesting no universal winner among operator families.