RUN 1000 Hz 0.48 A
RUN 833 Hz 0.30 A
3.66e-2 mbar
1.68e-8 mbar
Live control in the browser
Read the pressures, turn the waveplates, start a recording. From a laptop, a phone or a second lab PC.
While the vendor’s program holds the oscilloscope, your script can’t open it. Switch between the three below.
No live view while the script runs
$ python scan_waveplate.py Error: oscilloscope is in use by another program
Simulated example.
Runs on Windows Linux macOS
RUN 1000 Hz 0.48 A
RUN 833 Hz 0.30 A
3.66e-2 mbar
1.68e-8 mbar
Read the pressures, turn the waveplates, start a recording. From a laptop, a phone or a second lab PC.
200+ MB/s
We regularly stream 4+ channels at 20 MS/s, with a live FFT over the whole stream: at higher FFT rates than some vendor’s software, and with a rolling average.
# in a script or notebook lab["pressure"].state
Run a scan from a notebook and watch it in the browser.
Every snapshot and recording stores the state of every device. Months later you still know the pressure the experiment was under.
Most devices are instruments, but anything with a state works. This one is a background service: it names each nanoparticle once the chamber is pumped down.
from anthropic import Anthropic
from laborchestra import Service
class ParticleName(Service):
threshold = 1e-2 # mbar
state = {"name": ""} # shown in the browser, saved with your data
persist = ["name"] # these values of the state persist over a restart
def run(self):
ai = Anthropic()
previous_pressure = None
while self.running:
pressure = self.lab["pressure"].state["channels"][1]["pressure"]
if pressure is not None:
was_above = previous_pressure is not None and previous_pressure >= self.threshold
if was_above and pressure < self.threshold:
reply = ai.messages.create(
model="claude-sonnet-5-5",
max_tokens=16000,
output_config={"effort": "low"},
messages=[{"role": "user", "content": "Name a nanoparticle like an English first and last name, with a slight quantum twist. Reply with the name only."}],
)
self.state["name"] = "".join(b.text for b in reply.content if b.type == "text").strip()
previous_pressure = pressure
self.sleep(1)
Use your own account. Logs and errors from the server go back to the model, so it can correct its own code. You decide what runs on the experiment.
The AI writes what is specific to your lab: the driver, its widget, the scan. LabOrchestra brings the rest: streaming, recordings with the state of every device, the live view next to your script.
Write a device and widget for our new power meter. The manual is attached.
Draft ready: power_meter.py
Server logpower_meter: timeout, no reply to READ?
The meter expects \r\n line endings. Fixed.
Server logpower_meter: running
Illustration of the workflow
Published in Nature Physics, measured with LabOrchestra
Quantum ground-state cooling of two librational modes of a nanorotor
Troyer et al., Nature Physics 22, 584–590 (2026). Read the paper
We built LabOrchestra for this experiment. Only the device files are specific to it. The rest should fit any lab with several instruments.
Developed at the
Faculty of Physics
University of Vienna
Pre-release 0.1.0 is available now for Windows, macOS and Linux: download it. Devices are added in the browser, updates take one click. The first stable release follows in December 2026, as open source under the GPL-3.0. The documentation is online already.
We are looking for labs to run early versions and tell us what is missing.
Which instruments do you run, and what annoys you about controlling them?
Prefer email? Write to us.