Our mission is to help computational modelers develop, document, and share their computational models in accordance with community standards and good open science and software engineering practices. Model authors can publish their model source code in the Computational Model Library with narrative documentation as well as metadata that supports open science and emerging norms that facilitate software citation, computational reproducibility / frictionless reuse, and interoperability. Model authors can also request private peer review of their computational models. Models that pass peer review receive a DOI once published.
All users of models published in the library must cite model authors when they use and benefit from their code.
Please check out our model publishing tutorial and feel free to contact us if you have any questions or concerns about publishing your model(s) in the Computational Model Library.
We also maintain a curated database of over 7500 publications of agent-based and individual based models with detailed metadata on availability of code and bibliometric information on the landscape of ABM/IBM publications that we welcome you to explore.
Displaying 10 of 491 results from clear search
The tragedy of the commons in public resource governance is essentially the result of repeated interaction and adaptive learning among heterogeneous agents under dynamic resource constraints. Existing studies have generated rich insights into common-pool resource governance, institutional constraints, and cooperation, but they still rely mainly on theoretical deduction, static games, or econometric identification, making it difficult to jointly characterize resource dynamics, agent heterogeneity, behavioral learning, and policy scenarios. From the perspective of computational economics, this paper develops a multi-agent reinforcement learning simulation model for the governance of the tragedy of the commons. Specifically, the fish-pond resource system is formulated as a Markov decision process in discrete states, and adaptive decision-making under pure economic incentives, sustainability penalties, behavioral heterogeneity, and cooperation is characterized through the resource dynamics equation, harvesting equation, and differentiated reward functions. The model is further examined through sensitivity analysis, parameter calibration, and theoretical validation, and then used for policy simulation. The results show that pure economic incentives quickly induce resource collapse, sustainability penalties significantly reduce harvesting intensity and maintain a low but sustainable steady state, heterogeneous behavior parameters generate clear strategic divergence, and cooperation internalizes group harvesting constraints into individual payoffs and yields the strongest resource recovery and behavioral convergence.
This model is an agent-based simulation designed to explore how climate-induced environmental degradation can contribute to the emergence of social violence in coastal communities that depend heavily on ecosystem services for their livelihoods. The model represents a coupled social–ecological system in which environmental shocks—such as sea level rise and marine ecosystem decline—affect local economic conditions, food security, and community stability.
Agents in the model represent individuals whose livelihoods depend on coastal ecosystems. Environmental degradation reduces ecosystem productivity and increases economic hardship, which can lead to the formation of grievances among agents. The model incorporates behavioral thresholds that determine how individuals respond to hardship and perceived injustice. Under certain conditions—particularly when institutional capacity and law enforcement effectiveness are limited—these grievances may escalate into violent behavior.
The simulation allows users to explore how different climate scenarios, levels of ecosystem degradation, livelihood dependence, and institutional responses influence the probability of social instability and violence. By modeling the interactions between environmental stress, socio-economic vulnerability, and governance capacity, the model provides a computational framework for examining potential pathways linking climate change and conflict in coastal social–ecological systems.
…
An agent-based model of urban travel behaviour in Dublin, Ireland, built in NetLogo and empirically grounded in 2016 travel survey data. Each agent represents a Dublin resident initialised with real socio-demographic attributes — including age, gender, household size and car ownership, income, driving licence status, and access to local amenities — alongside observed trip characteristics such as distance, travel time, and trip type (work, shopping, leisure).
At each time step, agents choose between four transport modes (car, public transport, cycling, and walking) across short, medium, and long trips. Mode choice is governed by a preference vector that weighs personal need satisfaction against social influence from neighbouring agents reflecting consumat framework. Satisfaction evolves dynamically based on cost (incorporating Irish motor tax bands and per-km operating rates), travel time, and trip-type suitability, with an uncertainty parameter capturing variability in perceived utility over time.
The model tracks aggregate modal shares and total CO2 emission at each tick, enabling exploration of how policy interventions — such as fuel taxation, public transport pricing, or active travel incentives — might shift the city’s travel demand profile over 100 simulated days.
The aim of this model is to study the dynamic propagation of individual climate adaptive behaviours in different scenarios within the analytical framework of conservation motivation theory, focusing on the impact of social and experiential learning on the adoption of climate adaptive behaviours by coastal farmers.
Model for paper “Promoting climate resilience through learning-based behavioural change: Insights from an agent-based model of a coastal farming community in Guangxi, China” in Environmental Science & Policy, Volume 179, May 2026, 104375, https://doi.org/10.1016/j.envsci.2026.104375
Negotiation Lab 1.0 is an agent-based model of peace negotiations that explores how the parties’ readiness — their motivation and optimism to engage in talks — evolves dynamically throughout the negotiation process. The model reconceptualizes readiness as an adaptive state variable that is continuously updated through feedback from negotiation outcomes, rather than a static precondition assessed at the onset of talks.
The model simulates two parties negotiating a multi-issue agenda. In each round, parties allocate effort to the current sub-issue; outcomes depend on their joint effort and a stochastic component representing external factors. Results feed back into each party’s readiness, shaping subsequent engagement. The negotiation ends either when all agenda items are resolved (agreement) or when a party’s readiness falls below a critical threshold (breakdown).
Key parameters include the initial readiness of each party, agenda structure (balanced, hard, easy, red, or random), type of negotiation (from highly cooperative to highly competitive), and each party’s effort strategy (always high, always low, random, or pseudo tit-for-tat). The model shows that while initial readiness is associated with negotiation outcomes, it is neither necessary nor sufficient to determine them: process variables — the type of interaction, agenda design, and adaptive effort strategies — exert comparatively larger effects on outcomes. Identical initial conditions can produce widely divergent trajectories, illustrating path dependence and sensitivity to feedback dynamics.
The model is implemented in NetLogo 7.0 and is documented using the ODD+D protocol. It is associated with the paper “Beyond Initial Conditions: How Adaptive Readiness Shapes Peace Negotiation Outcomes” (Arévalo, under review).
This model visualizes gradient descent optimization - the fundamental algorithm used to train neural networks and other machine learning models. Agents represent different optimization algorithms searching for the minimum of a loss landscape (the “error surface” that ML models try to minimize during training).
The model demonstrates how different optimizer types (SGD, Momentum with different parameters) behave on various loss landscapes, from simple bowls to the notoriously difficult Rosenbrock “banana valley” function. This helps build intuition about why certain optimization algorithms work better than others for different problem geometries.
…
A reproducible NetLogo implementation of a spatial attraction-repulsion opinion model with eviction-driven relocation. Agents interact locally, converge with similar neighbors, diverge from dissimilar neighbors, and may evict the most dissimilar neighbor to a random empty location. Parameter sweeps reveal transitions among extremist, mixed, and consensus regimes, with outputs including phase diagrams, opinion distributions, and Moran’s I. The model is intended to reproduce and extend results on how exclusion frequency changes polarization outcomes.
This model is a minimal agent-based model (ABM) of green consumption and market tipping dynamics in a stylised two-firm economy. It is designed as an existence proof to illustrate how weak individual preferences, when combined with habit formation, social influence, and firm price adaptation, can generate non-linear transitions (tipping points) in market outcomes.
The economy consists of:
1) Two firms, each supplying a differentiated consumption bundle that differs in its fixed green share (one relatively greener, one less green).
2) Many households, each consuming a unit mass per period and allocating consumption between the two firms.
…
In his 2003 book, Historical Dynamics (ch. 4), Turchin describes and briefly analyzes a spatial ABM of his metaethnic frontier theory, which is essentially a formalization of a theory by Ibn Khaldun in the 14th century. In the model, polities compete with neighboring polities and can absorb them into an empire. Groups possess “asabiya”, a measure of social solidarity and a sense of shared purpose. Regions that share borders with other groups will have increased asabiya do to salient us vs. them competition. High asabiya enhances the ability to grow, work together, and hence wage war on neighboring groups and assimilate them into an empire. The larger the frontier, the higher the empire’s asabiya.
As an empire expands, (1) increased access to resources drives further growth; (2) internal conflict decreases asabiya among those who live far from the frontier; and (3) expanded size of the frontier decreases ability to wage war along all frontiers. When an empire’s asabiya decreases too much, it collapses. Another group with more compelling asabiya eventually helps establish a new empire.
This model simulates a forest ecosystem affected by human logging. We explore different kind of approaches and their possible consequences for the ecosystem. Loggers can either be responsible or irresponsible, they will either take care to cut trees or not. In turn their actions will have consequences on the quality of the soil, the atmosphere as well as their profit made from logging. In this model we see that even careful management cannot prevent the degradation of the forest ecosystem.
Displaying 10 of 491 results from clear search