DOI: 10.3390/app16168291 ISSN: 2076-3417

ChemAutoAgent: A Multi-Agent System for Evidence-Controlled Laboratory Instrument Driver Generation from Text-Based Manuals

Cheda Wu, Shunnan Jiang, Zhaohong Zuo, Jun Li

Instrument control remains a practical bottleneck in laboratory automation and self-driving laboratories. Although large language models (LLMs) have shown strong potential in document understanding, code generation, and scientific workflow automation, most existing systems assume that ready-to-use instrument interfaces are already available. However, converting heterogeneous device manuals and communication protocols into tested, reusable software drivers therefore still requires substantial manual effort and iterative hardware-level debugging. In this work, we present ChemAutoAgent, a multi-agent system that converts text-based instrument manuals into tested and reusable laboratory instrument drivers through a staged, evidence-traceable pipeline. We evaluate ChemAutoAgent tested and reusable drivers on three representative instruments—a magnetic stirrer, a peristaltic pump, and a Raman spectrometer—spanning three communication protocols: ASCII/NAMUR, MODBUS RTU, and a custom binary-frame protocol. Following iterative testing and repair, all evaluated driver functions passed the predefined tests for connection establishment, parameter configuration, command execution, and data acquisition. The evaluated drivers required between one and four repair cycles, with autonomous operation ratios ranging from 73% to 81%. A cross-device invocation experiment further demonstrates the feasibility of reusing published drivers in a multi-device workflow.

More from our Archive