Article view
Mesa 3: Agent-based modeling with Python in 2025
By Ewout ter Hoeven, Jan H. Kwakkel, Vincent Heß, Thomas Pike, Boyu Wang, Rht, Jackie Kazil
Article information
- Publisher
- Free Journal Network
- Publication
- Published 28 March 2025
- Institutions at publication
- Delft University of Technology; Independent Researcher, Germany; George Mason University; University at Buffalo, State University of New York; Independent Researcher
- Full text
- Read the article
Countries with citations
No data yet
Usage
Phase 3: not collected yet
Abstract
Mesa is an open-source Python framework for agent-based modeling (ABM) that enables researchers to create, analyze, and visualize agent-based simulations. Mesa provides a comprehensive set of tools and abstractions for modeling complex systems, with capabilities spanning from basic agent management to sophisticated representation of spaces where agents interact. First released in 2014 and published in Masad et al. (2015) (with updates published in Kazil et al. (2020)), this paper highlights advancements and presents Mesa in its current version (3.1.5)as of 2025. Statement of needAgent-based models (ABMs) are composed of autonomous, heterogeneous agents interacting locally with other agents. These interactions give rise to emergent phenomena. The aggregate dynamics of a system under study emerge from these local interactions (Joshua M. Epstein, 1999; Joshua M. Epstein & Axtell, 1996). This type of modeling quickly grew more sophisticated, requiring frameworks to execute them. This led to the establishment of NetLogo in 1999 and MASON in 2003. NetLogo is the most widely adopted tool and the first to make ABMs accessible, but it only allows for small models.MASON is Java-based, allowing for advancements in scalability and speed above NetLogo, but MASON is difficult for non-programmers. Both of these tools did not serve models over HTTP, which allows for hosting models on the web, nor did they take advantage of the rich scientific Python ecosystem. In response to these needs, Mesa was created with the goal of accessibility -targeting both beginner and advanced programmers. The major release of Mesa 3 provides advanced usability and stabilized functionality. These features include enhanced management of agents, data collection advancements, an improved visualization framework, and making it easier for researchers to create and analyze complex simulations. ApplicationsSince its creation in 2014, Mesa has been applied to modeling a wide range of phenomena from economics and sociology to ecology and epidemiology and has been cited in more than 500 papers and 800 authors. Mesa has been applied across diverse domains, including:• Infrastructure resilience and post-disaster recovery planning (Sun & Zhang, 2020) • Market modeling, including renewable energy auctions and consumer behavior (Anatolitis & Welisch, 2017)
Citations per year
| Year | Citations |
|---|---|
| 2025 | 26 |
| 2026 | 60 |
OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.
Works citing this article
OpenAlex counts 87 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.
Where its authors are based
Countries of the institutions the article's authors were affiliated to when it was published.
- AUTHORS
- CITATIONS No data yet
- USAGE Phase 3
| Country | Authors |
|---|---|
| United States | 3 |
| The Netherlands | 2 |
| Germany | 1 |