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:
Overview of the MESA library: Learn about the core concepts and components of Mesa.
Introductory Tutorial: Learn how to create your first Mesa model.
Visualization Tutorial: Learn how to create interactive visualizations for your models.
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#
Mesa best practices: an overview of tips and guidelines for using MESA.
API documentation#
Mesa API reference: Detailed documentation of Mesa’s classes and functions.
Repository of models built using MESA#
Mesa Examples repository: A collection of example models demonstrating various Mesa features and modeling techniques.
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#
Mesa GitHub Discussions: Join discussions, ask questions, and connect with other Mesa users.
Matrix Chat: Real-time chat for quick questions and community interaction.
Enjoy modelling with Mesa, and feel free to reach out!