Skip to content
#software testing Open access

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

Aug 2026 · Applied Sciences · 0 citations · 22 references

TL;DR

ChemAutoAgent is presented, a multi-agent system that converts text-based instrument manuals into tested and reusable laboratory instrument drivers through a staged, evidence-traceable pipeline and demonstrates the feasibility of reusing published drivers in a multi-device workflow.

Abstract

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.

Read PDF

Similar papers

Conference Jul 2026

Automated PLC Programming Using a Multi-Task LLM System

Programmable Logic Controllers (PLCs) are central to industrial automation, yet their programming remains largely manual and time-consuming. While Large Language Models (LLMs) excel at general-purpose code generation, their use in industrial control is limited by tight coupling with physical hardware, constrained I/O signals, and strict safety requirements. We propose a novel approach to PLC code generation that takes as input structured lists of sensors and actuators from electrical CAD tools, together with the required control functionality. The task is formulated as generating machine-specific control functions grounded in available signals, ensuring physical implementability. The system is based on a single LLM adapted through multi-stage fine-tuning and enhanced with Retrieval-Augmented Generation (RAG). Experiments on error detection, code fixing, and code generation show that fine-tuning significantly improves performance. RAG provides strong gains in error detection and code generation, while offering limited benefit for code fixing, highlighting its task-dependent effectiveness.

Teresa Cacciapaglia, D. Ruffino, D. Naso et al. · 0 citations
Jun 2026

A Self-Evolving Agentic System for Automated Generation and Execution of Biological Protocols

Results show that the evaluation framework captures execution-relevant requirements for autonomous wet-lab automation, and that ProtoPilot can meet them by converting protocol and code generation into validated execution and feedback-guided revision.

Yankai Jiang, Wei Tang, Haoran Sun et al. · 0 citations
Open access Aug 2026

SMILE: Scalable Modular Instrumentation for Laboratory Experiments

Presented demonstrator examples and test results show that SMILE provides a lightweight and accessible approach for physics laboratory automation, conceptually inspired by distributed control systems such as TANGO and EPICS, while remaining focused on small-scale experiments and rapid prototyping.

K. Kamenov, Viktor Angelov, L. Karlov et al. · 0 citations
Book Open access Jul 2026

ScholForge: A Multi-Agent LLM System for Autonomous Software Engineering Research

A ScholForge - hierarchical multi-agent LLM system that tackles end-to-end software engineering research end-to-end, with a natural-language research goal, and produces working code, experimental results, and a compiled manuscript without human intervention.

A. Stepin, Boris Tolstokulakov, Vladislav Kulikov et al. · 0 citations
Preprint Aug 2026

RAG-Based Auto-Configuration for Industrial Fieldbus Devices

SysName, a production-oriented pipeline that automates device configuration end-to-end for Modbus RTU, OPC-UA, Profibus DP, and CANopen, builds a hybrid dense-sparse retrieval index augmented by an ontology graph derived from ECLASS, AAS, and SOSA/SSN, using a BGE-M3 encoder with a cross-encoder reranker to surface relevant manual passages.

A. Ganie, Saad Ezzini, Naveed Farooz Marazi · 0 citations

Related blog posts

MIT News · Artificial Intelligence Aug 17, 2026

Q&A: Rethinking how innovation happens

In his latest book, Professor Eugene Fitzgerald examines the forces that turn breakthroughs into value — and why innovation resists simple formulas.