cs.AIMar 25, 2026

Toward Full Autonomous Laboratory Instrumentation Control with Large Language Models

Authors: Yong Xie, Kexin He, Andres Castellanos-Gomez

Organizations: Key Laboratory of Wide Band-Gap Semiconductor Technology, School of Advanced Materials and Nanotechnology, Xidian University, Xi’an 710071, China · 2D Foundry Research Group. Instituto de Ciencia de Materiales de Madrid (ICMM-CSIC), Madrid, E-28049, Spain.

Abstract

The control of complex laboratory instrumentation often requires significant programming expertise, creating a barrier for researchers lacking computational skills. This work explores the potential of large language models (LLMs), such as ChatGPT, and LLM-based artificial intelligence (AI) agents to enable efficient programming and automation of scientific equipment. Through a case study involving the implementation of a setup that can be used as a single-pixel camera or a scanning photocurrent microscope, we demonstrate how ChatGPT can facilitate the creation of custom scripts for instrumentation control, significantly reducing the technical barrier for experimental customization. Building on this capability, we further illustrate how LLM-assisted tools can be extended into autonomous AI agents capable of independently operating laboratory instruments and iteratively refining control strategies. This approach underscores the transformative role of LLM-based tools and AI agents in democratizing laboratory automation and accelerating scientific progress.

Explore similar work

CardsList
  1. From Prompts to Protocols: An AI Agent for Laboratory Automation

    May 15, 2026Angelos Angelopoulos, James F. Cahoon, Ron AlterovitzLLM Agent OrchestrationLaboratory Automation

  2. Agentic AI for operating scientific instruments for nanoscale characterization

    Aug 25, 2026Zahra Ayar, Marcos Penedo, Mahdi Mehdikhani +3Laboratory AutomationAgentic Workflows