Experiment-as-Code Labs: A Declarative Stack for AI-Driven Scientific Discovery
Zhenning Yang, Yuhan Chen, Patrick Tser Jern Kon, Tongyuan Miao, Hongyi Lin, Venkat Viswanathan, Danai Koutra, Ang Chen

TL;DR
The paper introduces Experiment-as-Code Labs, a declarative framework enabling AI agents to design, analyze, and execute experiments in real-world labs through a unified, instrument-agnostic system to accelerate scientific discovery.
Contribution
It proposes a novel declarative stack that bridges AI, systems, and physical labs, allowing flexible, safe, and instrument-independent experimental control.
Findings
Framework enables real-time hypothesis testing in physical labs.
Declarative configurations facilitate safety and resource management.
System is generalizable across various scientific instruments.
Abstract
To unleash the full potential of AI for Science, we must untether the agents from a purely digital environment. The agent's ability to control and explore in real-world labs is essential because the physical lab remains foundational to scientific discovery. While some tasks can be performed on a computer (e.g., data analysis, running simulated experiments), Eureka moments could occur at any time while operating lab instruments (e.g., when a scientist notices unexpected clues, intuition may prompt a real-time course change). Although autonomous labs are on the rise, which expose programmable APIs to control scientific instruments via software, bridging the gap between increasingly powerful AI agents and automated lab equipment requires innovation that draws insights from computer systems. We propose a new paradigm called ``Experiment-as-Code (EaC) Labs,'' where a core concept is to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
