LabApprentice: Towards Harness-Level Recursive Self-Improvement for Wetlab Robotics

Guoyue Xu, Mengzhao Jia, Yu Zhou, Qiang Jiang, Yangyu Huang, Renzheng Zhang, Bryan D. Paulsen, Yanliang Zhang, Brett Savoie, Mengxue Hou, Meng Jiang, Tengfei LuoarXiv 2026

TL;DR

LabApprentice is a wetlab robotics system where an AI coding agent learns like an apprentice at a lab bench—writing, running, and refining its own robot and instrument programs across experiments without ever updating its model weights. By using unmodified lab instruments as step-by-step verifiers, the agent turns physical measurements into reusable code and rules, cutting experiment times by 22–59% and eventually composing those tools into a complete four-hour hydrogel synthesis.

What Problem Does This Paper Address?

Self-driving laboratories can run entire experimental campaigns, but their procedures still have to be programmed in advance. Whenever targets, vessels, or bench layouts change—or when a new instrument without a clean API is introduced—researchers face a mountain of repeated integration work.

In software, coding agents can recursively improve by editing their own code and checking it against fast, cheap benchmarks. Wetlab robotics strips away those luxuries: every physical attempt consumes real reagents, takes real time, and cannot be cheaply reset. Worse, a single failed outcome at the end of a long chemistry protocol doesn't tell you which step went wrong. The authors ask: can a coding agent build and revise a library of reusable lab programs through physical execution, using the laboratory's own instruments to check its work along the way?

Methods

LabApprentice pairs a fixed-weight LLM (Claude Opus 5.5) with a Kinova Gen3 robotic arm, cameras, and unmodified lab equipment—a serial-port balance, a stirring hot plate operated by turning its physical knob while a camera reads its display, and a potentiostat on a separate PC.

Figure 1. Overview. (a) The bench at the end of the fifth SPLIT run, seen by a static camera. (b) The five tasks. Each task lists the skills and tools its first run stored (orange) and the items stored by earlier tasks’ first runs that it ran (blue). Fig. 3 lists every stored tool. EIS, electrochemical impedance spectroscopy. (c) Agent-and-robot time of each task’s first run, last run with the store and empty-store control (Table 2). The lighter end of each bar is robot execution and the rest is reasoning and programming. The operator stopped the CALIBRATE control, which is not drawn. (d) A stopping rule developed through SPLIT. The third run measured liquid arriving after the stop and stored a 0.8 g early-stop margin, the fourth reused it, and the fifth revised it to 1.2 g.

Rather than retraining a neural policy, self-improvement happens at the harness level through two core mechanisms:

  • A persistent, agent-written skill store: Each run starts in a fresh session with access to a skill store containing tools (Python programs), written skills, notes, and bench layouts. The agent reads the store, writes any missing capabilities, and saves what it learns for the next run. Because later tools can import and build on earlier ones, the improvement is recursive.
  • Instruments as step-level verifiers: To catch errors before they compound, LabApprentice enforces a claim-before-check protocol. After each experimental step, the agent logs a claim about what it believes happened, reads the designated instrument (e.g., the balance or camera), and logs a verdict. Every arm motion also passes through a ROS 2 motion server with fixed safety checks (joint limits, speed caps, and collision boxes).
Figure 2. Structure of LabApprentice. The runner starts one fresh agent session per run with the bench instructions and that run’s task specification, and copies the agent-written skill store before and after the run. The agent reads the store first, writes and runs its programs, sends every bench command through a timing wrapper, moves the arm through the motion server, and logs a claim, an instrument reading and a verdict for each experimental step. The operator at the bench answers logged requests and labels the criteria after the run.

Datasets

Rather than using a static dataset, the authors evaluate LabApprentice on five physical wetlab tasks on a real bench, whose operation types account for 55–63% of actions annotated in three existing corpora of biochemistry, inorganic, and organic synthesis protocols:

  1. POUR: Pouring liquid to a target mass (20 g, 30 g, 25 g).
  2. HEAT: Heating a beaker on a hot plate (45 °C, 40 °C), holding, turning off, and reweighing.
  3. SPLIT: Splitting water between two Petri dishes (4.0 g or 3.0 g per dish).
  4. CALIBRATE: Writing a potentiostat program to run electrochemical impedance spectroscopy (EIS) and calibrate two conductivity cells.
  5. HYDROGEL: A four-hour workflow mixing, pouring, heating, and measuring a conductive PEDOT:PSS hydrogel, composing tools from the first four tasks.

Between runs, targets, vessel orientations, and bench positions were changed. Each repeated task was also rerun from an empty skill store as a control.

Key Insights and Ideas

  • Turning physics into code: In SPLIT, the agent noticed that ~0.8 g of water continued to fall into the dish after it issued a stop command. It stored an early-stop margin in its skill store, reused it in the next run, and refined it to 1.2 g in the fifth—hitting the target window in a single pulse where earlier runs needed multiple attempts.
  • Visual error recovery: During HYDROGEL, camera frames revealed that a lid the agent thought it was holding was actually sitting on the bench. The agent located the lid, regrasped it, confirmed the grip with a test lift, and continued.
  • Bringing new instruments online: Starting with zero potentiostat code in CALIBRATE, the agent read the vendor's help files and example scripts, wrote its own EIS sweep program, and reused it in later runs.
Figure 4. Physical feedback revises a stored rule in SPLIT. (a) Balance readings during five pulses of the third, fourth and fifth runs, relative to each dish’s target, with time measured from the stop command. (b) Water in both dishes of every run relative to the target, with the number of pulses beside each point. Crosses mark dishes outside the 0.5 g window, and the asterisk a dish filled after the operator had emptied two overshoots.

Key Results

  • Speedups and cost savings: From the first to the last run of each repeated task, agent-and-robot time dropped by 22–59% (e.g., from 21:22 to 8:40 in POUR, and 48:23 to 22:17 in SPLIT). Thinking tokens fell by 38–78%, and API costs by 22–74%. Over 84% of the time savings came from needing less reasoning and programming.
  • Empty-store controls: Rerunning tasks from an empty store took 1.3–3.5× longer than runs with the accumulated store.
  • End-to-end composition: HYDROGEL reused 13 of the 14 stored tools, met all 8/8 success criteria, and produced two conductive hydrogels measuring 0.71 and 1.12 S/m—matching a hand-prepared control (0.71 S/m) and squarely within the literature range (0.01–2.2 S/m).

Limitations and Future Work

The authors note that each condition was run only once, and the empty-store controls were executed after the main runs. The evaluation was also limited to a single bench, a single human operator (who handled tasks outside the arm's reach, such as refills and cable swaps), and a single LLM. Natural next steps include transferring skill stores across different benches and laboratories and integrating new classes of instruments.

Summary updated

BibTeX
@misc{xu2026labapprentice,
  author = {Guoyue Xu and Mengzhao Jia and Yu Zhou and Qiang Jiang and Yangyu Huang and Renzheng Zhang and Bryan D. Paulsen and Yanliang Zhang and Brett Savoie and Mengxue Hou and Meng Jiang and Tengfei Luo},
  title = {{LabApprentice: Towards Harness-Level Recursive Self-Improvement for Wetlab Robotics}},
  year = {2026},
  eprint = {2611.40568},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40568},
}
Figure