This directory contains example models meant to test and demonstrate Mesa's features, and provide demonstrations for how to build and analyze agent-based models. For more information on each model, see its own Readme and documentation.
Simple implementation of the classic Schelling segregation model.
Implementation of a simple ecological model of predation and reproduction.
Simple cellular automata of a fire spreading through a forest of cells on a grid.
Joshua Epstein's model of how a decentralized uprising can be suppressed or reach a critical mass of support.
Boids-style flocking model, demonstrating the use of agents moving through a continuous space following direction vectors.
Grid-based demographic prisoner's dilemma model, demonstrating how simple mimicing can lead to the emergence of widespread cooperation -- and how a model activation regime can change its outcome.