legoESM: a modular, differentiable, multiscale, AI-ready Earth system model built with AI agents
Pierre Gentine, Dhruv Balwada, Ayta\c{c} Pa\c{c}al, Linnia Hawkins, Alistair Adcroft, Hang Fan, Jianing Fang, Aya Lahlou,
Key points
From the paper's conclusion- Here we present legoESM, a composable, differentiable, multiscale ESM written in JAX.
Abstract
Earth system models (ESMs) have grown tremendously in realism, yet key uncertainties persist in the climate response to greenhouse-gas forcing, particularly due to cloud radiative feedbacks. In addition, their software architecture was not designed for accelerator hardware or modern artificial intelligence (AI). Here we present legoESM, a composable, differentiable, multiscale ESM written in JAX. It builds on decades of community-developed parameterizations and numerical methods, recast in a unified framework by AI coding agents under a human-specified scientific contract and verified through benchmarking. Dynamical cores, physics schemes, grids, complexity levels and components are swappable like building blocks, and can use conventional physics or machine-learned emulators. A single code base spans metre-scale large-eddy simulation to global simulations and weather to climate. End-to-end differentiability enables gradient-based calibration, variational data assimilation and online training. legoESM modular architecture enables systematic evaluation of diverse model variants to explore structural uncertainty and test hypotheses. legoESM produces realistic simulations across scales, reduces land-surface temperature bias through gradient-based calibration, and scales efficiently on GPUs to kilometer-scale simulations. It offers an open, community infrastructure for hypothesis testing, research and teaching in Earth sciences and a template for multiscale physical systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Can LLM Agents Improve Imperfect Earth System Model Parameterizations?arXiv · 2026
- ADDA: a Modular Framework for Representing, Simulating and Assimilating Dynamics with End-to-end DifferentiabilityarXiv · 2026
- Rescene-ESM: an Earth system model built around a frozen AI weather modelarXiv · 2026
- Suêtes: An end-to-end differentiable non-hydrostatic limited-area dynamical corearXiv · 2026
- MESMER v1.0.0: consolidating the modular Earth system model emulator into a sustainable research software packageGeoscientific model development · 2026
- aiLand v1: physics-based land surface emulator with observational fine-tuningGeoscientific Model Development · 2026