To install the latest release of agentpy, run the following command on your console:

$ pip install agentpy


Agentpy supports Python 3.6, 3.7, 3.8, and 3.9. The installation includes the following packages:

These optional packages can further be useful in combination with agentpy, and are required in some of the tutorials:

  • jupyter, for interactive computing

  • seaborn, for statistical data visualization


The most recent version of agentpy can be cloned from Github:

$ git clone

Once you have a copy of the source, you can install it with:

$ pip install -e

To include all necessary packages for development, you can use:

$ pip install -e .['dev']