English

The AI Cosmologist I: An Agentic System for Automated Data Analysis

Instrumentation and Methods for Astrophysics 2025-04-07 v1 Cosmology and Nongalactic Astrophysics Astrophysics of Galaxies Artificial Intelligence Data Analysis, Statistics and Probability

Abstract

We present the AI Cosmologist, an agentic system designed to automate cosmological/astronomical data analysis and machine learning research workflows. This implements a complete pipeline from idea generation to experimental evaluation and research dissemination, mimicking the scientific process typically performed by human researchers. The system employs specialized agents for planning, coding, execution, analysis, and synthesis that work together to develop novel approaches. Unlike traditional auto machine-learning systems, the AI Cosmologist generates diverse implementation strategies, writes complete code, handles execution errors, analyzes results, and synthesizes new approaches based on experimental outcomes. We demonstrate the AI Cosmologist capabilities across several machine learning tasks, showing how it can successfully explore solution spaces, iterate based on experimental results, and combine successful elements from different approaches. Our results indicate that agentic systems can automate portions of the research process, potentially accelerating scientific discovery. The code and experimental data used in this paper are available on GitHub at https://github.com/adammoss/aicosmologist. Example papers included in the appendix demonstrate the system's capability to autonomously produce complete scientific publications, starting from only the dataset and task description

Keywords

Cite

@article{arxiv.2504.03424,
  title  = {The AI Cosmologist I: An Agentic System for Automated Data Analysis},
  author = {Adam Moss},
  journal= {arXiv preprint arXiv:2504.03424},
  year   = {2025}
}

Comments

45 pages

R2 v1 2026-06-28T22:46:44.999Z