Epydemix
The ABC of Epidemics

Learn more

Epydemix provides a unified, open-source framework that enables researchers and public health practitioners to design, simulate, and calibrate epidemic models within a single environment.

Python Package

epydemix

An open-source Python package designed for flexible, modular, and data-driven epidemic modeling.

Epydemix supports the full modeling pipeline—from constructing stochastic compartmental models to running simulations, integrating real-world data, and calibrating parameters. Users can incorporate age-structured contact patterns, dynamic interventions, and population demographics with ease. Built-in Approximate Bayesian Computation (ABC) methods enable robust parameter estimation and model fitting, supporting forecasting, scenario exploration, and policy-relevant analyses. Epydemix bridges the gap between theoretical modeling and practical application, helping researchers and public health professionals translate models into actionable insights.

Get started

Tools

epyForecast

A desktop app to run short-term forecasts using real data, powered by Epydemix.

epyUScenario

A web app to explore epidemic scenarios, powered by Epydemix.

epydemix agent framework

A framework that lets AI agents discover, run, calibrate, and inspect epidemic models, powered by Epydemix

epydemix web API

A REST API to run epidemic simulations, explore populations and contact data, and export everything as executable Python, powered by Epydemix.

View all tools

Data

Epydemix includes access to  population data and synthetic age-stratified contact matrices for over 400 countries and regions worldwide. These datasets enable users to construct realistic, demographically grounded epidemic models. Contact matrices capture interactions across key settings — home, work, school, and community — and are provided in multiple formats to support a range of modeling scenarios.

Epydemix Data on GitHub

Papers & scientific outputs

Nicolò Gozzi, Ciro Cattuto, Alessandro Vespignani
arXiv preprint arXiv:2609.28692 (2026). view pdf

Nicolò Gozzi, Matteo Chinazzi, Jessica T. Davis, Corrado Gioannini, Luca Rossi, Marco Ajelli, Nicola Perra, Alessandro Vespignani
PLOS Computational Biology 21, no. 11 (2025): e1013735. view pdf