# Mesa

Python agent\-based modeling framework with data collection and browser visualization\.

ID: Q677 · Revision: 725

Type: software · License: Apache\-2\.0[^me-home] · Status: active

Website: https://mesa.readthedocs.io/



Mesa is an Apache\-2\.0\-licensed Python framework for agent\-based modeling\. It provides model and agent components, spatial structures, data collection and browser\-based visualization while leaving the simulated rules in the author's Python code\.[^me-home]

## Capabilities and substitutions

### Agent\-based authoring — supported

Python model components and AgentSet support custom agent rules\.[^me-home]

Use case: Dynamic system modeling and simulation · Platforms: Python environment · Region: Edition, deployment and model dependencies affect availability

### Analysis outputs — supported

DataCollector produces pandas\-compatible model and agent records\.[^me-data]

Use case: Dynamic system modeling and simulation · Platforms: Python environment · Region: Edition, deployment and model dependencies affect availability

### Old\-version model compatibility — limited

Scheduling, initialization and visualization APIs have migration requirements\.[^me-migrate]

Use case: Dynamic system modeling and simulation · Platforms: Python environment · Region: Edition, deployment and model dependencies affect availability

### [Substitute for NetLogo](/netlogo) — limited

Substitutes for custom agent\-based experiments rebuilt in Python; no native NetLogo project importer is established\.[^me-home][^me-migrate][^nl-about]

Use case: Dynamic system modeling and simulation · Platforms: Python environment · Region: Edition, deployment and model dependencies affect availability

## References

[^me-home]: [Mesa overview](<https://mesa.readthedocs.io/stable/>) — Apache2 Python agent framework, Solara and optional dependencies (vendor; retrieved 2026-10-07T09:47:58Z)

[^me-migrate]: [Mesa migration guide](<https://mesa.readthedocs.io/stable/migration_guide.html>) — AgentSet, seeding, visualization and scheduling changes (vendor; retrieved 2026-10-07T09:48:07Z)

[^me-data]: [Mesa data collection](<https://mesa.readthedocs.io/stable/apis/datacollection.html>) — Model/agent reporters, pandas outputs and serialization caveat (vendor; retrieved 2026-10-07T09:48:51Z)

[^nl-about]: [What is NetLogo?](<https://docs.netlogo.org/whatis>) — Agents, desktop platforms and authoring (vendor; retrieved 2026-10-07T09:32:52Z)

Source revision: https://substitutefor.net/entities/Q677?revision=725
