mesa/mesa
Mesa is an open-source Python library for agent-based modeling, ideal for simulating complex systems and exploring emergent behaviors. observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 75
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 20
- age_days: 4366
- days_rel: 171
- days_push: 7
- n_releases_24m: 20
Adoption not part of the score
3810 stars · 1295 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Mesa is an open-source Python framework for agent-based modeling (ABM), providing modular components like spatial grids, agent schedulers, browser-based visualization, and analysis tools. It aims to be the Python alternative to NetLogo, Repast, or MASON for simulating complex systems and emergent behaviors.
Use cases
- simulate complex systems with interacting agents in python
- build agent-based models like wolf-sheep predator-prey dynamics
- explore emergent behavior in multi-agent simulations
- visualize agent-based simulations in a browser or jupyter
- python alternative to netlogo or repast
- model spatial agent systems with grids and gis data
- teach or research complexity science and ABM
When to choose
- you want to build agent-based models in Python with reusable components
- you need built-in browser-based visualization and Jupyter support
- you want to analyze simulation results with Python's data science stack
- you're migrating from NetLogo, Repast, or MASON to Python
When to avoid
- you need high-performance discrete-event simulation at industrial scale
- you need a GUI desktop modeling environment rather than a Python library
- your use case is machine learning training rather than agent-based simulation
Facets
library · maturity active
simulation data-visualization data-science simulation data-science developer-tools python cross-platform browser agent-based-modeling abm complex-systems emergent-behavior spatial-models netlogo-alternative multi-agent-systems
2 sources
- readme: https://github.com/mesa/mesa · fetched 2026-08-28 · 5d2b531c043d
- registry_pypi: https://pypi.org/pypi/mesa/json · fetched 2026-08-29 · 876e39456f8b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mesa/mesa | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem