MedLabs is a Java library for modeling disease spread on the level of individual humans in a city or region. The models contain agent-based representatives of persons, who carry out their normal activities during the day, where they can come into contact with the disease, either through contact with other persons, proximity to other persons, contact with disease vectors, or contact with objects or food that carry the disease.

MedLabs has been set-up as an open source simulation library for disease spread, and it is available under a BSD-3 license, which means that it is allowed to use the software for any purpose, including commercial use.Sources are available on the TU Delft SVN server, and will be made available on github shortly.

The original MedLabs libraries have been developed in the PhD thesis work of Dr. Mingxing Zhang, who defended his PhD thesis called "Large-Scale Agent-Based Social Simulation - A study on epidemic prediction and control" in 2016. The thesis is available from the TU Delft Repository under The main ideas have been published in the Journal of Artificial Societies and Social Simulation (JASSS): Zhang et al (2016) Modeling Spatial Contacts for Epidemic Prediction in a Large-Scale Artificial City. doi: 10.18564/jasss.3148.