ClimateAgent: Multi-Agent Orchestration for Complex Climate Data Science Workflows

Chenyue Li, Hyeonjae Kim, Wen Deng, Mengxi Jin, Wen Huang, Mengqian Lu, Binhang Yuan

TL;DR

CLIMATEAGENT is a new autonomous multi-agent framework designed to automate the grueling end-to-end workflows of climate data science—from fetching petabytes of satellite data to generating publication-quality reports. By orchestrating specialized agents for planning, data retrieval, and coding, it achieves a 100% task completion rate on a rigorous new benchmark, far outstripping general-purpose models like GPT-5 and GitHub Copilot.

What Problem Does This Paper Address?

Climate science is currently bottlenecked by a "data deluge." Researchers must navigate massive, heterogeneous datasets (like the ERA5 reanalysis) and complex, often finicky APIs (like the Copernicus Climate Data Store).

While Large Language Models (LLMs) are great at writing snippets of code, they often fail at complex, multi-step scientific workflows. Generic agents lack domain-specific context, struggle with "brittle" API parameters, and can't easily maintain consistency across a long-horizon project. If a single data download fails or a variable name is mismatched halfway through a script, the entire pipeline usually collapses. The authors sought to build a system that could not only plan these complex tasks but also self-correct when things inevitably go wrong.

Methods

The authors introduce a hierarchical multi-agent architecture that mirrors how a human research team might collaborate:

  • ORCHESTRATE-AGENT & PLAN-AGENT: These act as the "project managers." They decompose a high-level user query (e.g., "Analyze the 2023 heatwave in Europe") into a structured sequence of sub-tasks and manage a persistent, shared context to ensure consistency across steps.
  • DATA-AGENTs: These are specialists in data acquisition. Instead of guessing API parameters, they use dynamic introspection (via tools like Selenium) to check live metadata and synthesize robust download scripts.
  • CODING-AGENTs: These agents handle the "heavy lifting" of analysis and visualization. They generate Python code using domain-standard libraries like xarray and cartopy. Crucially, they include a self-correction loop that uses execution feedback to debug code and an LLM-based semantic validation step to catch scientific errors (like using the wrong statistical test).

The system maintains a JSON-serialized "workflow memory," allowing it to resume tasks after interruptions and provide a full provenance record for reproducibility.

Datasets

The study utilizes several major climate data sources, including:

  • ERA5: Global atmospheric reanalysis data.
  • S2S Forecasts: Sub-seasonal to seasonal weather forecasts.
  • OISST & IBTrACS: Sea surface temperature and tropical cyclone track data.

To evaluate the system, the authors introduced CLIMATE-AGENT-BENCH-85. This is a new benchmark consisting of 85 real-world tasks spanning six domains: Atmospheric Rivers, Drought, Extreme Precipitation, Heat Waves, Sea Surface Temperature, and Tropical Cyclones. Tasks are stratified by difficulty (Easy, Medium, Hard) to test everything from simple single-source plots to complex multi-tool integrations.

Key Insights and Ideas

  • Modular Specialization vs. Monolithic LLMs: The "aha moment" here is that a single "smart" model isn't enough. By breaking the workflow into specialized roles, the system can inject domain expertise exactly where it's needed (e.g., the Data Agent knows the quirks of the ECMWF API).
  • Contextual Coordination: One of the biggest failure points for AI is "context drift"—forgetting a constraint established ten steps ago. CLIMATEAGENT’s persistent shared context treats intermediate artifacts as "contracts" between agents, ensuring that the analysis stays aligned with the original scientific intent.
  • Dynamic API Awareness: APIs change and parameters are strict. By having agents actively "look" at the API metadata before writing code, the system avoids the common "hallucinations" that plague static LLMs.

Key Results

The performance gains were dramatic:

  • Task Completion: CLIMATEAGENT achieved a 100% success rate in completing the benchmark tasks.
  • Report Quality: On a 1–10 scale, CLIMATEAGENT scored 8.32, significantly outperforming GitHub Copilot (6.27) and a GPT-5 baseline (3.26).
  • Domain Specificity: In highly complex domains like Tropical Cyclones (TC), the GPT-5 baseline essentially failed (0.00 score), while CLIMATEAGENT maintained a high score (7.85) by successfully orchestrating external tools like TempestExtremes.
  • Robustness: The system's self-correction loop successfully handled common errors like shape mismatches in arrays, invalid date formats in API requests, and syntax errors that typically halt standard scripts.

Limitations and Future Work

While the system is highly autonomous, the authors acknowledge that scientific logic "hallucinations" can still occur, necessitating the inclusion of the semantic validation layer.

Future directions include: * Expanding the agent library to include more specialized tools and data portals. * Integrating more complex physical models beyond data analysis. * Further refining the "human-in-the-loop" capabilities to allow scientists to steer the agents during particularly ambiguous discovery phases.

Summary updated

BibTeX
@article{li2026climateagent,
  author = {Chenyue Li and Hyeonjae Kim and Wen Deng and Mengxi Jin and Wen Huang and Mengqian Lu and Binhang Yuan},
  title = {{ClimateAgent: Multi-Agent Orchestration for Complex Climate Data Science Workflows}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure