An AI system to help scientists write expert-level empirical software – Nature

An AI system to help scientists write expert-level empirical software – Nature

Abstract

The cycle of scientific discovery is frequently bottlenecked by the slow, manual creation of software to support computational experiments1. To address this, we present Empirical Research Assistance (ERA), an AI system that creates expert-level scientific software whose goal is to maximize a quality metric. The system uses a Large Language Model (LLM) and Tree Search (TS)2 to systematically improve the quality metric and intelligently navigate the large space of possible solutions. ERA achieves expert-level results when it explores and integrates complex research ideas from external sources. The effectiveness of tree search is demonstrated across a diverse range of tasks. In bioinformatics, ERA discovered 40 novel methods for single-cell data analysis that outperformed the top human-developed methods on a public leaderboard. In epidemiology, ERA generated 14 models that outperformed the CDC ensemble and all other individual models for forecasting COVID-19 hospitalizations. ERA also produced expert-level software for geospatial analysis, neural activity prediction in zebrafish, and numerical solution of integrals, and a novel rule-based construction for time series forecasting. By devising and implementing novel solutions to diverse tasks, ERA represents a significant step towards accelerating scientific progress.

You have full access to this article via your institution.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to
Shibl Mourad or Michael P. Brenner.

Supplementary information

Supplementary Information (download PDF )

This file contains Supplementary Notes, Supplementary Figures 1-20, Supplementary Tables 1-19, and Supplementary References.

Peer Review File (download PDF )

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Aygün, E., Belyaeva, A., Comanici, G. et al. An AI system to help scientists write expert-level empirical software.
Nature (2026). https://doi.org/10.1038/s41586-026-10658-6

Download citation

  • Received: 13 September 2025

  • Accepted: 13 May 2026

  • Published: 19 May 2026

  • DOI: https://doi.org/10.1038/s41586-026-10658-6

Similar Posts