Self-driving labs: where sampling and HPLC injection fit in the loop
What a self-driving lab is, how landmark systems analysed their samples, why HPLC is often the bottleneck, and a checklist for samplers that run in a closed loop.
- Published
- Reading time
- 8 min
- Category
- Research
- Sources
- 13
A self-driving lab is an automated laboratory in which software chooses the next experiment from the results of earlier ones, hardware runs it, and instruments measure the outcome, with no human making each decision. Sampling and injection sit where the physical experiment turns into data. If the sampler cannot be scripted, cannot report what it actually did, or stops on a fault at 3 a.m., the loop stops. For liquid-phase chemistry, HPLC is often the slowest and least automation-friendly step, so the sampler and its software interface deserve as much design effort as the robot or the optimiser.
Key points
- Each landmark self-driving lab below is built around its analytical method: GC for the mobile robotic chemist, XRD for A-Lab, inline NMR for RoboChem, HPLC and UPLC-MS for several organic chemistry platforms.
- One HPLC at 10 minutes per run gives 6 results per hour. In the Merck and UBC batch platform the analysis set the pace of the whole loop.
- Analysis is also where autonomous labs have gone wrong: A-Lab's phase identification from XRD was revised in a 2026 correction.
- A closed-loop sampler needs a scriptable interface, explicit errors, fault sensors, unattended recovery and a log of executed (not requested) parameters.
- You do not need a purpose-built HPLC: one platform added an injection valve and relay triggers to a standard Agilent 1100, another used mobile robots to feed an unmodified UPLC-MS.
What is a self-driving lab?
A self-driving lab (SDL) closes the design-make-test-analyse cycle. A planner proposes conditions (Bayesian optimisation, a heuristic, or a large language model), an execution layer makes the sample (liquid handler, flow reactor, powder doser, mobile robot), an analytical layer measures it, and the result goes back to the planner. The 2024 Chemical Reviews survey by Tom et al. covers the field in depth. Funding has followed: in April 2023 the University of Toronto received a CA$200 million Canada First Research Excellence Fund grant for the Acceleration Consortium, which builds SDLs for materials and molecules.
The word "autonomous" hides a lot of plumbing. Most of the engineering effort in the papers below goes into moving samples between stations, converting a planner's suggestion into volumes a machine can dispense, and getting results back in a form the planner can read.
Landmark systems and how they analysed their samples
| System | Chemistry | Analysis | What it shows about sample handling |
|---|---|---|---|
| Chemputer, Steiner et al., Science 2019 | Batch organic synthesis with flasks, separatory funnel, rotary evaporator | Coupled to analytical instruments in later work (next row) | Chemical programming language for standard glassware |
| Chemputer with sensors, Leonov et al., Nat. Commun. 2024 | Closed-loop optimisation, 25-50 iterations | In-line HPLC, Raman, NMR plus seven low-cost sensors | Sensors detected liquid-transfer and hardware failures |
| Mobile robotic chemist, Burger et al., Nature 2020 | Photocatalysts for hydrogen evolution, 688 experiments in 8 days | Headspace GC, unmodified commercial instrument | A free-roaming robot operates instruments built for people |
| Ada, MacLeod et al., Sci. Adv. 2020 | Thin films for hole transport | UV-vis-NIR and four-point probe | One sample about every 20 min; consumables refilled every seven samples |
| Christensen et al., Commun. Chem. 2021 | Stereoselective Suzuki coupling, 192-reaction campaigns | Agilent 1100 HPLC-UV, online | HPLC valve on the robot deck; relays trigger the run; 15 min cadence |
| A-Lab, Szymanski et al., Nature 2023 | Solid-state inorganic synthesis, 17 days | Powder XRD with machine-learning phase identification | Automated interpretation was the step later revised |
| Coscientist, Boiko et al., Nature 2023 | Cross-couplings planned by a GPT-4 agent | GC-MS; HPLC through Emerald Cloud Lab code | Plates were moved by hand; the agent read API documentation to fix its own errors |
| RoboChem, Slattery et al., Science 2024 | Flow photocatalysis, 19 molecules | In-line benchtop NMR | Open-source hardware and software built from available parts |
| Dai et al., Nature 2024 | Exploratory synthesis, supramolecular chemistry | UPLC-MS and 80 MHz benchtop NMR, both unmodified | The synthesiser reformats aliquots for each instrument; robots carry them |
Three patterns stand out. First, analysis determines architecture: RoboChem could use a flow cell because NMR can be inline, while HPLC users either inject from a valve (Christensen) or move vials (Dai). Second, people usually remain somewhere in the loop: Coscientist's authors note that plates were moved manually, and Ada needed consumables replenished every seven samples. Third, several groups chose to leave analytical instruments unmodified so that they could be shared, which pushes complexity into sample preparation and transport.
Why analysis, and HPLC in particular, is often the bottleneck
Throughput. A 10-minute HPLC cycle (gradient plus re-equilibration) gives 6 results per hour, 144 per day, from one instrument. Unless sample preparation is just as slow, the HPLC sets the pace. In the Christensen et al. platform, ChemOS had the robot initiate reactions at 15-minute intervals and aliquot each one at its endpoint at the same interval, so the analysis set the pace. Ada's authors went further and replaced a slow device measurement with a faster proxy, a "pseudomobility" from conductance and absorbance, because the conventional measurement was not compatible with the timescale of autonomous optimisation.
Interpretation. An optimiser trusts whatever number the analysis returns. A-Lab's 2026 author correction followed concerns about identifying phases from diffraction alone: after manual re-analysis, the platform's conclusion held for 36 of 40 reported successes and 4 were inconclusive, and the revised paper reports 36 compounds from 57 targets. Dai et al. argue that decisions based on a single, hard-wired characterisation technique are fragile, which is why they combine UPLC-MS with NMR.
HPLC-specific friction. Samples need quenching, dilution and sometimes filtration; strong sample solvents distort peaks; very different samples in sequence expose carryover; new products need peak assignment; and chromatography data systems were designed around sequences a person sets up. Christensen et al. chose a lightweight Python framework instead of APIs between ChemOS, Chemspeed AutoSuite and Agilent ChemStation.
Practical ways around the bottleneck:
- Decouple sampling from analysis: quench aliquots into vials at the right time and inject the bank later, as described in online HPLC reaction monitoring.
- Shorten the method: short columns and steep gradients, accepting less resolution for screening rounds.
- Run a cheap screen (plate reader, UV) on everything and HPLC only on candidates.
- Add a second HPLC before adding a second robot.
What a sampler needs to work in a closed loop
A scriptable interface with documentation
Every action available from the front panel must be available as a command, with documented parameters, replies and error codes. Coscientist's documentation module let the agent correct a protocol after a failed call to the Opentrons API, which makes the point: undocumented interfaces block software agents as much as people. A plain-text protocol over a serial port is enough; controlling serial instruments from Python shows the pattern, and SiLA 2 and OPC UA LADS add discovery and typing on top.
Error reporting and sensors
The planner needs to know when a sample is bad, not only when the instrument stops. Useful signals include valve position confirmation, door state, needle collision, pressure on the sample line, missing vial, and liquid detected or not detected. Leonov et al. added colour, temperature, pH, conductivity and liquid-transfer sensors to the Chemputer and used them to detect critical hardware failures.
Recovery from faults
Overnight runs fail in boring ways: a blocked needle, a vial cap that did not pierce, a power blip. The sampler should report the fault, return to a known state (home axes, confirm valve position), and let the controller mark one sample invalid and carry on. Commands that move liquid are not safe to retry blindly, so the controller has to query state after a timeout.
Footprint, enclosure and power
Air-sensitive work may need the sampler inside a glovebox, as in Malig et al.'s Buchwald-Hartwig study, and solvent work usually means a fume hood shared with other modules. Measure the hood's usable width and depth, and the space the door and tray need (see how much bench space an HPLC takes). Low-voltage DC supplies are easier to route into enclosures than mains.
Liquid-handling range
In a loop the sampler may need to draw from a reactor, quench, dilute, add a reagent and inject. Check the volume range at both ends and how small volumes are delivered. Christensen et al.'s robot could not dispense sub-microlitre volumes accurately, so their script rounded to whole microlitres and reported the executed values back to the optimiser.
Throughput and capacity
Cycle time per injection, tray capacity and the time until a human must refill solvents, vials or tips determine how long the loop runs unattended.
Logging
Log every command, reply and sensor reading with a timestamp, plus sample genealogy: which reaction, which aliquot, which vial, which injection, which data file. Without it, a suspicious data point cannot be traced.
A requirements checklist
| Requirement | Why it matters | How to check before committing |
|---|---|---|
| Documented command set | No scripting, no loop | Ask for the protocol document; send commands from a terminal |
| Explicit status and error replies | The controller must distinguish busy, done and failed | Trigger a fault (open the door, remove a vial) and read the reply |
| Fault sensors | Bad samples should be flagged, not analysed | List sensors; test each one |
| Recovery without a human | Overnight runs | Cut power mid-cycle; does it re-home and report? |
| Executed-parameter reporting | The optimiser must learn from what happened | Request an odd volume; compare reply with a weighed dispense |
| Trigger or synchronisation route | Data system must start with the injection | Check for a contact-closure output or a software start path |
| Footprint and power | Hood or glovebox space | Measure with the door open and the tray out |
| Capacity and cycle time | Unattended hours | Calculate runs per tray and per solvent refill |
| Logging | Traceability | Confirm you can log at the wire level |
Where the AS-48 fits
The AS-48 is a useful worked example of these trade-offs. It appears as a virtual COM port over USB-C and uses a documented plain-text command set, so any language that opens a serial port can drive it. It has a door sensor, needle crash detection, pressure monitoring on the sample line, an angle sensor that checks every valve switch and a power-up self-check. It is 140 × 155 × 168 mm (W × D × H) and runs on 24 V DC. The HPLC configuration injects 1-100 µL; the LH configuration uses a 4 mL syringe for reactor sampling, dilution and reagent addition. Two gaps matter for a closed loop: its specification has no inject-start or contact-closure output, so starting acquisition depends on your software set-up, and there is no tray cooling. It is an engineering prototype, and values such as cycle time are design targets.
Frequently asked questions
- What is a self-driving lab?
- A laboratory in which software chooses the next experiment from the results of earlier ones, automated hardware carries it out, and instruments measure the outcome, so the design-make-test-analyse cycle runs without a human making each decision.
- Why is HPLC a bottleneck in self-driving labs?
- A typical HPLC run takes 5-15 minutes, so one instrument delivers only 4-12 results per hour, while a liquid handler can set up dozens of reactions in that time. Samples also need quenching and dilution, and most chromatography data systems were designed for human-run sequences rather than external control.
- Can a self-driving lab use an existing HPLC?
- Yes. Christensen et al. connected an Agilent 1100 HPLC to a Chemspeed robot with an injection valve on the robot deck and relay triggers, and Dai et al. used mobile robots to carry samples to an unmodified UPLC-MS that people could still use between runs.
- What interface should an instrument have for a self-driving lab?
- A documented, scriptable command interface with explicit status and error replies, sensors that detect faults, a defined way to recover without a human, and a log of every command and the parameters actually executed.
- Do self-driving labs need SiLA 2?
- No. Many published systems use Python glue code around vendor APIs and serial protocols. Standards such as SiLA 2 pay off when you integrate many devices from different vendors and want discovery and typed interfaces.
Sources
- 01Burger et al., A mobile robotic chemist, Nature 583, 237-241 (2020)
- 02Boiko et al., Autonomous chemical research with large language models, Nature 624, 570-578 (2023)
- 03Szymanski et al., An autonomous laboratory for the accelerated synthesis of inorganic materials, Nature 624, 86-91 (2023)
- 04Author Correction to Szymanski et al. (2026)
- 05Slattery et al., Automated self-optimization, intensification, and scale-up of photocatalysis in flow, Science 383, eadj1817 (2024)
- 06Steiner et al., Organic synthesis in a modular robotic system driven by a chemical programming language, Science 363, eaav2211 (2019)
- 07Leonov et al., An integrated self-optimizing programmable chemical synthesis and reaction engine, Nat. Commun. 15, 1240 (2024)
- 08MacLeod et al., Self-driving laboratory for accelerated discovery of thin-film materials, Sci. Adv. 6, eaaz8867 (2020)
- 09Christensen et al., Data-science driven autonomous process optimization, Commun. Chem. 4, 112 (2021)
- 10Dai et al., Autonomous mobile robots for exploratory synthetic chemistry, Nature 635, 890-897 (2024)
- 11Malig et al., Online HPLC analysis of Buchwald-Hartwig aminations from within an inert environment, ACS Catal. 10, 13236-13244 (2020)
- 12Tom et al., Self-driving laboratories for chemistry and materials science, Chem. Rev. 124, 9633-9732 (2024)
- 13University of Toronto: U of T receives $200-million grant to support Acceleration Consortium's self-driving labs research (2023)