Agentpy - Agent-based modeling in Python¶
Agentpy is an open-source library for the development and analysis of agent-based models in Python. The framework integrates the tasks of model design, numerical experiments, and data analysis within a single environment, and is optimized for interactive computing with IPython and Jupyter. If you have questions or ideas for improvements, please visit the discussion forum or subscribe to the agentpy mailing list.
Quick orientation
To get started, please take a look at Installation and Overview.
For a simple demonstration, check out the Wealth transfer tutorial in the Model Library.
For a detailled description of all classes and functions, refer to API Reference.
To learn how agentpy compares with other frameworks, take a look at Comparison.
Example
A screenshot of Jupyter Lab with two interactive tutorials from the model library:

Table of contents
Indices and tables