Zephyrus: An Agentic Framework for Weather Science

Sumanth Varambally, Marshall Fisher, Jas Thakker, Yiwei Chen, Zhirui Xia, Yasaman Jafari, Ruijia Niu, Manas Jain, Veeramakali Vignesh Manivannan, Zachary Novack, Luyu Han, Srikar Eranky, Salva Rühling Cachay, Taylor Berg-Kirkpatrick, Duncan Watson-Parris, Yian Ma, Rose Yu

TL;DR

Zephyrus is the first agentic framework designed to bridge the gap between Large Language Models (LLMs) and high-dimensional meteorological data. By providing LLMs with a specialized Python environment and a suite of weather-specific tools, Zephyrus enables AI agents to reason about complex atmospheric phenomena, perform simulations, and outperform text-only models by up to 44 percentage points on a new, rigorous benchmark.

The Gap in Weather Science AI

Modern weather science is caught between two worlds. On one side, "foundation models" for weather—neural networks trained on massive numerical datasets—can predict the future state of the atmosphere with incredible precision. On the other, LLMs excel at reasoning and communication but are effectively "blind" to the 4D, high-dimensional numerical data (latitude, longitude, time, and variables like pressure or humidity) that defines meteorology.

Currently, a researcher wanting to compare a forecast against historical climatology or run a "what-if" climate simulation needs deep technical expertise to orchestrate disparate datasets, APIs, and physics simulators. This paper addresses the lack of an interactive, language-based interface capable of reasoning over raw meteorological data to solve complex scientific queries.

Introducing the Zephyrus Framework

To solve this, the authors introduce Zephyrus, an agentic framework built on three main pillars:

The Zephyrus framework architecture, illustrating the agent's interaction with the Code Execution Server and various meteorological tools.
  1. ZephyrusWorld: A sandboxed Python environment where agents can execute code. It provides high-level APIs for five essential tools:
  2. WeatherBench 2 Indexer: For accessing global atmospheric data.
  3. Geolocator: Translating natural language (e.g., "The Rust Belt") into geographic coordinates.
  4. Forecaster: An interface to state-of-the-art transformer-based weather models.
  5. Simulator: A physics-based climate simulator (JCM) for counterfactual reasoning.
  6. Climatology: A module for querying historical means and extremes.
  7. The Agents: The researchers designed two types of agents:
  8. Zephyrus-Direct: Generates a complete Python solution in one go, utilizing a loop to fix syntax errors.
  9. Zephyrus-Reflective: A multi-turn agent that uses a "ReAct" (Reason + Act) pattern. It writes a block of code, observes the output, and then decides whether to refine its approach or provide a final answer.
  10. Code Execution Server: A robust backend that manages resource pools and parallelizes requests, ensuring the LLM can run heavy simulations efficiently without crashing the system.

ZephyrusBench: A New Standard for Evaluation

The study utilizes the ERA5 reanalysis dataset (the "gold standard" of historical weather data) via the WeatherBench 2 interface.

Crucially, the authors introduce ZephyrusBench, a comprehensive benchmark consisting of 2,230 question-answer pairs across 49 tasks. These tasks range from "Easy" data lookups to "Hard" extreme event detection and counterfactual analysis.

The data generation pipeline for ZephyrusBench, showing how real weather reports are transformed into verifiable synthetic task data.

The benchmark was curated through a mix of human-expert templates and a novel "semi-synthetic" pipeline. This pipeline extracts claims from real NOAA weather reports and verifies them against raw data using LLM-generated code, ensuring high-quality, grounded evaluation data.

Key Insights and Results

  • Code as the Universal Interface: Instead of trying to cram multi-gigabyte 4D data into an LLM's limited context window, Zephyrus uses code as a bridge. The LLM acts as the "pilot," writing scripts to process data, while the environment handles the heavy numerical lifting.
  • Massive Performance Gains: Zephyrus agents outperformed text-only baselines by up to 44 percentage points in correctness. Using frontier models, the framework achieved 61.2% overall correctness, compared to just 17% for the text-only version of the same model.
  • The Power of Reflection: The "Reflective" agent consistently outperformed the "Direct" version. By observing intermediate results, the agent could catch scientific errors—like predicting a storm in the middle of the ocean when the query asked for land-based impacts—and adjust its search parameters.
  • Spatial and Numerical Precision: For tasks requiring location identification, Zephyrus-Reflective achieved over 90% accuracy, whereas text-only models hovered around 18%. The agents also significantly reduced the "Standardized Absolute Error" in numerical tasks.

Limitations and Future Work

Despite these successes, the "Hard" tasks remain a significant hurdle, with agents scoring between 14% and 37% correctness. The models particularly struggle with long-term global climate forecasting (e.g., 3-month horizons) and generating nuanced, expert-level textual reports that synthesize multiple atmospheric variables.

Future work will focus on integrating more diverse datasets (such as hydrology and solar radiation), improving the agents' ability to reason over longer temporal scales, and developing more sophisticated models capable of the deep synthesis required for professional meteorological discussions.

Reference: Varambally, S., et al. (2025). Zephyrus: An Agentic Framework for Weather Science. Published as a conference paper at ICLR 2026. Code available on GitHub.

Summary updated

BibTeX
@inproceedings{varambally2026zephyrus,
  author = {Sumanth Varambally and Marshall Fisher and Jas Thakker and Yiwei Chen and Zhirui Xia and Yasaman Jafari and Ruijia Niu and Manas Jain and Veeramakali Vignesh Manivannan and Zachary Novack and Luyu Han and Srikar Eranky and Salva Rühling Cachay and Taylor Berg-Kirkpatrick and Duncan Watson-Parris and Yian Ma and Rose Yu},
  title = {{Zephyrus: An Agentic Framework for Weather Science}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=aVeaNahsID},
}
Figure