cs.AISep 23, 2026

Driving Epidemic Models with AI Agents: the Epydemix Agent Framework

Authors: Nicolò Gozzi, Ciro Cattuto, Alessandro Vespignani

Organizations: ISI Foundation, Turin, Italy · Network Science Institute, Northeastern University, Boston, MA, USA

Abstract

Artificial Intelligence agents based on large language models provide convenient natural language interfaces to scientific software, but reliability is not automatic. Here we introduce the Epydemix Agent Framework, an additive layer over Epydemix, an open-source Python library for stochastic compartmental epidemic modeling. The framework extends the library with four capabilities to facilitate interaction with an AI agent: discovery of available models and parameters, preventive validation of a declarative scenario specification, execution through tested library code, and inspectability of results. These capabilities let an agent handle the entire modeling process, from the natural-language description of the scenario to quantitative results, figures, and interpretation of findings without writing custom code. Each step reads input files and saves results in a separate output bundle, making the process auditable and reproducible. First, we show the end-to-end workflow with a case study comparing vaccination strategies for a novel respiratory virus. Second, we assessed the framework across 50 agent sessions and five modeling tasks by comparing the agent use of the framework against the direct use of the Python interface. The framework reduced turns, output tokens, and cost on most tasks, unless it trades resources for per-point reproducibility.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. The Epi-LLM Framework: probing LLM behavioral priors through epidemiological agent-based models

    Jun 1, 2026Petra Ferencz, Ava Keeling, Tobias O'Keefe +4Epidemiological ModelsAgent-Based Model

  2. LLM-powered reasoning in agent-based modeling

    Jul 7, 2026Sifat Afroj Moon, Dakotah Maguire, Adam Spannaus +5Agent-Based ModelEpidemiological Models

  3. comokit4py : a python package to ease COMOKIT agent based model simulation integration into a high performance computing workflow

    May 6, 2026Arthur Brugière, Kévin ChapuisAgent-Based ModelPython