New in release 1.5.0: chemlab, the lab's supplies and 276 tasks with checkers.
Each instrument runs on one behaviour model. A robot can work it by hand, or an LLM agent can work it from a shell, and the instrument behaves the same either way.
Embodied mode: robots operate the instruments
Every instrument is a 3D model with working joints (doors, lids, sashes, keys, knobs), grasp and place points, and colliders. On the 106 instruments with a front panel, the screen is drawn by the instrument's own menu engine, so a robot sees the result of what it pressed. All 203 instruments were converted to USD and run in NVIDIA Isaac Sim through the Matterix framework, where a robot arm pressed a key or tapped the screen on 97 front panels.
New in 1.5.0, the lab has its supplies: 62 models of specific products, from DURAN screw-cap bottles, vials, tubes, well plates and Opentrons tip racks to a reagent shelf, safety cabinets, a refrigerator and a desiccator. Caps are separate parts, and every container records its grasp points and inside volume. A table of 239 substances gives their hazard codes and storage classes.
The instruments' behaviour models run inside the scene, so the balance reading, the hotplate temperature, the reaction and the powder dose all come from them. Two robot workflows in our Isaac Sim lab:
Esterification. (1) The robot pours 50 mL of ethanol and then 40 mL of acetic acid into the reaction beaker; 89.3 mL arrive. The liquids are simulated as particles and tinted so they show up (ethanol blue, acetic acid amber; both are really colourless). (2) The OHAUS balance reads 191.8 g. (3) The robot sets the beaker on the IKA hotplate. (4) The hotplate heats with a 70 °C set point and stirs at 300 rpm; after 200 s the liquid is at 77 °C and 1.91 g of ethyl acetate has formed.
Powder dosing with the Quantos. (1) The robot slides a potassium bromide dosing head into the Quantos. (2) It sets an empty vial on the weighing pan. (3) The Quantos closes its doors and doses 50.000 mg, exactly the target. (4) The robot puts the vial back in the rack.
The robot scenes were built with Matterix, which is not part of this release. ChemLab-Assets ships the instruments, labware and behaviour models they load.
Agentic mode: chemlab, a command line for LLM agents
chemlab puts the whole lab behind one shell command. An agent lists the instruments, reads their help, sets them up, runs them and reads the results, as a person would at the bench. Time in the lab moves only when the agent waits.
- Plain commands for each kind of instrument.
chemlab run gives each of 30 instrument classes (balances, temperature control, pipetting, chromatography and more) one set of verbs, with units, range checks and named positions. chemlab call reaches every capability in an instrument's contract.
- Errors that say what to do. Each error says what is wrong, how to fix it and whether the instrument changed.
- A stocked lab. The default lab starts with all 203 instruments ready, 97 containers on shelves and in cabinets (solvents, buffers, certified standards, plates, gas cylinders) and 189 items already loaded in the instruments.
chemlab list --inventory shows what is where.
- Ready for evaluation. An agent sees only what the instrument shows; true values are kept for evaluators. Its shell runs in a sandbox that reaches nothing but
chemlab. The basic commands (list, describe, call, read, wait, screen and more) also work as MCP tools.
A complete task. 276 tasks come with automatic checkers. Each gives the agent an instruction in plain words; the checker then reads the instrument's own state, so writing the right answer is not enough. Below, an agent verifies a water-activity meter against a certified standard. The meter is still warming up, nothing has been measured, and the chamber lever is open. The agent fixes each problem from the error message alone.
Screens as images. An agent can also work the front panel like a person, with keys and knobs only. A gesture reports only whether the instrument accepted it, so the agent looks at the display to see what happened. chemlab screen saves the display as a PNG for a vision-language model to read.
cd ChemLab-Assets/chemlab
python -m chemlab.gserve --only ika_plate_rctdigital mt_xpr204e --shell # a sandboxed shell with two instruments
python -m chemlab.tasks list # the 276 tasks
python -m chemlab.tasks shell pm04_recover_aw_verify # do a task yourself; the checker runs when you exit
python -m chemlab.tasks run pm04_recover_aw_verify --solution my_agent.sh # or score your agent's commands