EGTtools: Evolutionary game dynamics in Python

Research output: Contribution to journalArticlepeer-review

4 Downloads (Pure)


Evolutionary Game Theory (EGT) provides an important framework to study collective behavior. It combines ideas from evolutionary biology and population dynamics with the game theoretical modeling of strategic interactions. Its importance is highlighted by the numerous high level publications that have enriched different fields, ranging from biology to social sciences, in many decades. Nevertheless, there has been no open source library that provided easy, and efficient, access to these methods and models. Here, we introduce EGTtools, an efficient hybrid C++/Python library which provides fast implementations of both analytical and numerical EGT methods. EGTtools is able to analytically evaluate a system based on the replicator dynamics. It is also able to evaluate any EGT problem resorting to finite populations and large-scale Markov processes. Finally, it resorts to C++ and MonteCarlo simulations to estimate many important indicators, such as stationary or strategy distributions. We illustrate all these methodologies with concrete examples and analysis.

Original languageEnglish
Article number106419
Number of pages19
Issue number4
Publication statusPublished - 21 Apr 2023


  • Evolutionary processes
  • In silico biology
  • Social sciences


Dive into the research topics of 'EGTtools: Evolutionary game dynamics in Python'. Together they form a unique fingerprint.

Cite this