Part VII: Autonomous Discovery Systems
Chapter 55: Self-Driving Laboratories

Self-Driving Laboratories

"I pipetted 10,000 reactions last night while you slept. Three of them changed chemistry. You're welcome."

A Self-Driving Lab That Ran Out of Reagents

Overview

A self-driving laboratory (SDL) is a physical or simulated facility where an AI planner designs experiments, robotic actuators execute them, automated instruments observe results, and a statistical model updates its beliefs, all without human intervention between cycles. The concept completes the arc from Chapter 46's automated experiment design by closing the loop with real (or realistically simulated) hardware. Where Chapter 46 asked "which experiment should I run next?" this chapter asks "how do I build the system that runs it, reads the result, and decides the experiment after that?"

SDLs represent the most mature instantiation of autonomous discovery: systems such as Emerald Cloud Lab, the Acceleration Consortium's platforms at the University of Toronto, and Berkeley Lab's A-Lab have demonstrated the full cycle from AI-generated hypothesis to robotic synthesis to characterization to model update. The key engineering challenge is not any single component (we have good planners, good robots, good instruments) but the integration: connecting an AI planner's output format to a liquid handler's input protocol, mapping instrument readings back into the model's feature space, and enforcing safety constraints at every interface.

This chapter teaches you to build that integration. We start with the automation infrastructure (robotic platforms, instrument APIs, scheduling), then formalize the closed-loop experimentation cycle, address safety and the digital-physical interface, and finish with a complete simulated SDL that runs 20 rounds of Bayesian optimization with safety constraints to optimize a molecular property.

The chapter draws on Bayesian methods from Chapter 32, optimization from Chapter 45, experiment design from Chapter 46, chemistry and materials domain knowledge from Chapter 49, and the AI scientist architecture from Chapter 53.

Prerequisites

This chapter assumes familiarity with Bayesian optimization and Gaussian processes from Chapter 32, acquisition functions from Chapter 46, and basic molecular representations (SMILES, molecular descriptors) from Chapter 49. Comfort with Python, PyTorch, and REST APIs is required. No robotics or wet-lab experience is assumed.

Learning Outcomes

Sections

55.1 Laboratory Automation Infrastructure

Robotic platforms, liquid handlers, plate readers, and high-throughput characterization instruments. Instrument control APIs, scheduling and orchestration systems, and the software stack that connects AI planners to physical hardware. Case studies from Emerald Cloud Lab and the Acceleration Consortium.

55.2 Closed-Loop Experimentation

Reference architectures (Atlas, ChemOS 2.0, Coscientist) and how each decomposes the loop differently. Bayesian optimization with acquisition functions as the decision engine. The GNoME-to-A-Lab pipeline: from 2.2 million predicted crystals to autonomous robotic synthesis at 71% success rate.

55.3 Safety and Digital-Physical Interfaces

GHS hazard classification, chemical safety constraints, and the ChemCrow safety layer. Encoding safety rules as domain constraints on acquisition functions. FastAPI-based digital-physical interfaces. Error handling, fault recovery, and human-in-the-loop escalation protocols.

55.4 Building a Simulated Self-Driving Lab

Recipe: construct a complete simulated SDL for molecular optimization. A surrogate oracle simulates wet-lab measurements. BoTorch drives 20 rounds of constrained Bayesian optimization. Safety constraints filter the acquisition domain. Full provenance logging integrates with the Discovery Workbench.

What's Next

A self-driving laboratory generates discoveries, but how do you know the discoveries are real? How do you compare two SDLs, or measure whether adding a safety constraint improved or degraded the system's scientific output? Chapter 56: Evaluating Discovery Systems builds the evaluation framework: metrics for novelty, validity, and efficiency that let you benchmark autonomous discovery systems against human baselines and against each other. The SDL we build in Section 55.4 becomes one of the evaluation targets in Chapter 56.

Bibliography

Foundational Papers

Boiko, D. A., MacKnight, R., Kline, B., & Gomes, G. (2023). Autonomous chemical research with large language models. Nature, 624, 570-578.

Introduces Coscientist, an LLM-driven system that autonomously plans and executes chemical experiments using robotic lab equipment. The core reference for Section 55.2's discussion of LLM-based experiment planning.

Merchant, A., et al. (2023). Scaling deep learning for materials discovery. Nature, 624, 80-85.

GNoME's graph neural network discovers 2.2 million stable crystal structures, 381,000 of which were subsequently validated. The GNoME-to-A-Lab pipeline in Section 55.2 traces how AI predictions become physical materials.

Szymanski, N. J., et al. (2023). An autonomous laboratory for the accelerated synthesis of novel materials. Nature, 624, 86-91.

Berkeley Lab's A-Lab autonomously synthesizes inorganic materials predicted by GNoME, achieving a 71% success rate over 17 days with zero human intervention. The primary case study for closed-loop materials synthesis in Section 55.2.

Platforms and Architectures

Ramos, M. C., Michtavy, S. S., Porosoff, M. D., & White, A. D. (2024). A review of self-driving laboratories. Nature Communications, 15, 1455.

A comprehensive review of SDL architectures, covering hardware platforms, software stacks, and integration patterns. Provides the taxonomic framework used throughout this chapter.

Roch, L. M., et al. (2022). ChemOS 2.0: An orchestration architecture for chemical self-driving laboratories. Matter, 5(4), 1106-1123.

Describes the ChemOS 2.0 orchestration architecture for chemical SDLs, with modular planner, executor, and observer components. A key reference architecture for Section 55.2.

Seifrid, M., et al. (2022). Autonomous Chemical Experiments: Challenges and Perspectives on Establishing a Self-Driving Lab. Accounts of Chemical Research, 55(17), 2454-2466.

Discusses the practical challenges of building SDLs, including instrument integration, error handling, and the gap between simulated and physical experiments.

Safety and Tools

Bran, A. M., et al. (2024). Augmenting large language models with chemistry tools. Nature Machine Intelligence, 6, 525-535.

Introduces ChemCrow, an LLM agent augmented with chemistry tools including safety checks against GHS hazard classifications. The foundation for Section 55.3's safety layer.

BoTorch: Bayesian Optimization in PyTorch.

The Bayesian optimization library used throughout this chapter for acquisition function optimization, constrained optimization, and the SDL recipe in Section 55.4.

PyMC: Probabilistic Programming in Python.

Used for Bayesian surrogate modeling and posterior inference in the SDL loop, complementing BoTorch for cases requiring flexible probabilistic models.

Scientific Applications

Darvish, K., et al. (2024). ORGANA: A robotic assistant for automated chemistry experimentation. Science, 384(6700), 1109-1116.

Demonstrates a robotic system that interprets natural language experiment descriptions and executes multi-step chemistry protocols with error correction.

Shields, B. J., et al. (2021). Bayesian reaction optimization as a tool for chemical synthesis. Nature, 590, 89-96.

Applies Bayesian optimization to optimize chemical reaction conditions in a closed loop, demonstrating the practical impact of the SDL paradigm on synthetic chemistry.