HydroMind: A Checkable Agent for Autonomous Hydrological Research

Zheng Fang, Yiqun Sun, Simin Qu, Shijie JiangarXiv 2026

TL;DR

HydroMind is a specialized "harness" that allows LLM agents to conduct autonomous hydrological research with significantly higher reliability. By enforcing a structured research procedure and providing specialized modeling tools, the system reduced the rate of unsupported scientific claims from 30% to just 5%, making the AI's "aha moments" actually verifiable by human researchers.

What Problem Does This Paper Address?

While large language models (LLMs) are increasingly capable of writing code for scientific models, they often operate in a "black box" when tasked with autonomous research. In previous studies, human researchers usually pre-defined the evaluation criteria (like test periods and scoring functions). When agents are left to make these research decisions themselves, they often produce claims that are either unsupported by their own data or entirely uncheckable by human peers.

This "credibility gap" is a major hurdle for autonomous science. If an AI claims that "Model A is better than Model B," how can we be sure the comparison was fair, the statistics were sound, and the code actually performed the test the agent described?

Methods

The researchers developed HydroMind, a two-layered system designed to wrap around a general-purpose coding agent (in this study, GPT-5.6 Sol). They define this environment as a "harness"—the set of tools and instructions the agent must follow.

HydroMind consists of two key components:

  1. Modeling Tools: A Python-based toolkit containing 84 built-in hydrological models and standard evaluation metrics. Crucially, these tools use fixed commands that automatically log every run’s settings, trained models, and predictions into a database.
  2. Research Procedure: A formal set of instructions that forces the agent to work in a loop: writing a research design (including "acceptance criteria" for what counts as a success) before running any models, and recording every change to that design.

The authors compared three levels of harnesses: a General Harness (basic coding environment), the General Harness + Modeling Tools, and the Full HydroMind Harness (Tools + Procedure).

Figure 1. The two parts of HydroMind and their place in a general-purpose agent. Left: an agent consists of a language model and a harness; HydroMind adds the modeling tools and the research procedure to the harness. Top right: the research procedure. The agent writes a research design and then runs models and analyzes results round after round, with a record at the end of each round; at any time, when a research decision has to change, the agent returns to the design, changes it, and then continues. Bottom right: the modeling tools. Built-in components and components written by the agent are used through the same fixed commands, and the settings, trained model, and predictions of every model run are stored.

Datasets

The agent was tested on four open research questions using several standard hydrological datasets:

  • CAMELS-US: A large-sample dataset containing catchment attributes and meteorology for hundreds of basins across the United States.
  • Qingshan Reservoir Data: High-resolution hourly rainfall and streamflow data used for a specific case study on reservoir release modeling.
  • SWAN Model: The agent was provided with the original code for the Soil Water Accounting Network (SWAN) model to propose and test improvements.

Key Insights and Ideas

  • Tools vs. Procedure: The study found that simply giving an agent better tools (the Modeling Tools layer) improved record-keeping but didn't significantly stop the agent from making weak or "hallucinated" claims. The real breakthrough came from the Research Procedure.
  • The Power of Pre-Commitment: By forcing the agent to write down its "acceptance criteria" (e.g., "the improvement must be statistically significant across 10 sets of hyperparameters") before seeing the results, the researchers prevented the agent from "cherry-picking" data to support a conclusion after the fact.
  • Internal Consistency as Truth: In autonomous research, there is often no "ground truth" answer to a new question. Therefore, the gold standard for a claim is internal consistency: does the agent’s reported number actually match what its code produced? HydroMind makes this checkable by humans.
Figure 2. Experimental design. The same agent studied four research questions under three harnesses, yielding 12 experiments. Each harness adds one part to the previous one. Each experiment submitted the same four items. We rechecked claims from the submitted materials and assessed what records each experiment provided for checking its claims.

Key Results

The impact of the HydroMind harness was dramatic across the 12 experiments conducted:

  • Reduction in False Claims: Under a standard general harness, 30% of the agent's claims did not hold up upon recheck. With the full HydroMind harness, this dropped to only 5%.
  • Improved Checkability: The share of claims backed by a statistical test, confidence interval, or clear decision rule rose from 48% (General) to 83% (HydroMind).
  • Perfect Traceability: Using the modeling tools, 100% of the claims had their underlying code and settings preserved on record, compared to 89% in the general environment where the agent sometimes modified scripts mid-run without logging.

Limitations and Future Work

The authors acknowledge several areas for further exploration:

  • Single Model Focus: The study only used one language model (GPT-5.6 Sol). It remains to be seen if these results hold steady across different LLM architectures.
  • Domain Specificity: While highly effective for hydrology, the specific tools and procedures would need to be adapted for other scientific fields like chemistry or biology.
  • Human-in-the-loop: In a real-world setting, the "acceptance criteria" phase would ideally involve a human researcher to ensure the AI isn't setting the bar too low, a step that was automated for this controlled experiment.

Summary updated

Abstract

General-purpose coding agents have written code for hydrological and Earth-system models. In these studies the researchers decided in advance how the model would be evaluated, for example the test period, the scoring function, and the standard the model had to meet. No study has tested what happens when the agent makes these decisions itself: how many of its claims are supported by its own data, code, and results, and whether readers can check them. Both may depend on the agent's harness, that is, the tools it can call and the written instructions it follows. We compared three harnesses: the agent's own harness; this harness plus the modeling tools of HydroMind, a hydrological modeling system we developed for general-purpose agents, which run every model through fixed commands and store its settings, trained model, and predictions; and both plus HydroMind's research procedure, under which the agent writes a research design before running any model and records every change to it. Under each harness, the same agent studied four open questions in hydrological model development and was given only the data. Under the three harnesses, the experiments submitted 23, 20, and 41 claims, each stating that one model or approach is better than, worse than, or similar to another. A claim does not hold if the difference recomputed from the experiment's own code and predictions disagrees with it, or if the code did not compare the two models or approaches the claim names. Under the three harnesses, 30%, 20%, and 5% of the claims did not hold. A statistical test, confidence interval, or decision rule that lets readers judge the stated difference was reported for 48%, 53%, and 83% of the claims. With the language model unchanged, changing only the harness reduced the share of claims that do not hold and increased the share that readers can check.
BibTeX
@misc{fang2026hydromind,
  author = {Zheng Fang and Yiqun Sun and Simin Qu and Shijie Jiang},
  title = {{HydroMind: A Checkable Agent for Autonomous Hydrological Research}},
  year = {2026},
  eprint = {2611.23323},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.23323},
}

Loading related content...

Figure