Getting started#

Mesa is a modular framework for building, analyzing and visualizing agent-based models.

Agent-based models are computer simulations involving multiple entities (the agents) acting and interacting with one another based on their programmed behavior. Agents can be used to represent living cells, animals, individual humans, even entire organizations or abstract entities. Sometimes, we may have an understanding of how the individual components of a system behave, and want to see what system-level behaviors and effects emerge from their interaction. Other times, we may have a good idea of how the system overall behaves, and want to figure out what individual behaviors explain it. Or we may want to see how to get agents to cooperate or compete most effectively. Or we may just want to build a cool toy with colorful little dots moving around.

Tutorials#

If you want to get a quick start on how to build agent based models with MESA, check the overview and tutorials:

Examples#

Mesa ships with a collection of example models. These are classic ABMs, so if you are familiar with ABMs and want to get a quick sense of how MESA works, these examples are great place to start. You can find them here.

Further resources#

To further explore Mesa and its features, we have the following resources available:

Best practices#

API documentation#

Repository of models built using MESA#

Migration guide#

  • Mesa 3.0 Migration guide: If you’re upgrading from an earlier version of Mesa, this guide will help you navigate the changes in Mesa 3.0.

Source Ccode and development#

  • Mesa GitHub repository: Access the full source code of Mesa, contribute to its development, or report issues.

  • Mesa release notes: View the detailed changelog of Mesa, including all past releases and their features.

Community and support#

Enjoy modelling with Mesa, and feel free to reach out!