Methods |
|
Corresponding author: Kristin N. Crouse ( kncrouse@gmail.com ) Academic editor: Volker Grimm
© 2026 Kristin N. Crouse, Clarence L. Lehman, Michael L. Wilson.
This is an open access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Citation:
Crouse KN, Lehman CL, Wilson ML (2026) Simulating the socioecology of virtual primates using B3GET: a generalized behavioral modeling tool. Individual-based Ecology 2: e174844. https://doi.org/10.3897/ibe.2.174844
|
Understanding how individual behaviors scale up to population and ecosystem patterns remains a central challenge in ecology. Here, we introduce B3GET (Behavior, Ecology, Genetics, Evolution, and Tradeoffs), a generalized agent-based modeling framework that links individual stimulus–response rules to emergent ecological, evolutionary, and social dynamics. Stimuli include the observable traits of individuals, such as their sex, age, and fertility status, among other phenotypes and signals; responses include movement, body growth, and inclination to mate, eat, fight, and perform other behaviors. These rules are heritable and can mutate and recombine during sexual reproduction, resulting in the emergence of adaptive strategies and counterstrategies. We conducted 288 simulations totaling 370,199 individuals, divided equally among four emulated primate species: chimpanzees, geladas, hamadryas baboons, and olive baboons. We demonstrate that (1) B3GET can generate patchy and homogeneous virtual plant food environments; (2) virtual organisms can live and thrive in these habitats and persist for generations; (3) populations can evolve over generations; and (4) these virtual primate counterparts resembled the target species in terms of their dispersal patterns, mating strategies, and ranging behaviors. B3GET users can edit the starting files to create species-specific virtual organisms and collect simulation data for testing hypotheses. Because B3GET can emulate a broad range of animal species, it provides a promising approach for investigating broader questions in animal behavior and primate socioecology, both for research and education.
Agent-based modeling, animal behavior, behavioral ecology, individual-based modeling, primate societies, spatially explicit, stimulus-response rules, virtual evolution
Integrating biological theory and empirical observations across different ecological scales is essential as scientists grapple with ecosystem shifts driven by changes in climate (
As a result, ecologists have often built narrowly scoped individual-based models that limit complexity by focusing on a single species or research question (
To address these persistent challenges, we introduce B3GET, pronounced “bee’get” and standing for Behavior, Ecology, Genetics, Evolution, and Tradeoffs: an individual-based modeling framework designed to balance generality with mechanistic depth by simulating diverse and complex organisms and ecological processes. Drawing from behavioral ecology (
B3GET simulations comprise a population of ANIMAL agents living on a landscape of PLANTS (Fig.
Screenshot of a B3GET simulation at timestep 10,000 (parameters: plant-annual-cycle = 1000, plant-daily-cycle = 10, plant-seasonality = 0.5, plant-quality = 5, plant-minimum-neighbors = 4, plant-maximum-neighbors = 6; population/genotype = CHIMPANZEES). ANIMALS are depicted as triangles (males) and circles (females), with size scaled to body.size, color indicating group.identity, and body.shade darkening with age. Inset circles provide magnified views of individual ANIMAL agents: A. An adult female that has died, indicated by the white “X” overlay; B. A mother (darker agent) carrying her infant daughter (lighter agent) on her back; C. A female with “cycling” fertility.status (i.e., sexual swelling), marked by a red line on her body, with two males fighting nearby, indicated by the white “–” symbol.
In this study, we present B3GET as both a research and teaching tool for simulating diverse animal societies. The model is broadly reusable across species, ecological systems, and behavioral research questions. To showcase its core capabilities, we modify starting conditions and environmental parameters to demonstrate that a wide range of social and ecological outcomes can emerge. We provide concrete examples by modeling four distinct primate species: chimpanzees (Pan troglodytes), geladas (Theropithecus gelada), hamadryas baboons (Papio hamadryas), and olive baboons (Papio anubis). We focus on recreating species-typical behavioral patterns in terms of their sex-biased dispersal, mating strategies, and ranging behavior, which vary across these species.
We report results from 288 simulations in a full factorial design crossing four virtual primate species with 36 combinations of PLANT settings that regulate resource distribution. Each species × PLANT combination was simulated twice to assess stochastic variation among replicate runs. We assess model performance in four ways: (1) demonstrating that B3GET generates both patchy and homogeneous PLANT environments, (2) evaluating ANIMAL population persistence over generations, (3) analyzing evolutionary change in genotypes and phenotypes, and (4) showing that emergent ANIMAL behaviors reflect key behavioral traits observed in the four target species.
We designed B3GET as a hypothesis-testing tool to study how environmental pressures and energy limitations shape behavior, ecology, and evolution in virtual organisms. B3GET v1.2.0 is implemented in NetLogo 6.2.2 (
Here, we present results from 288 simulations with varying PLANT and ANIMAL settings. These simulations form part of a larger experiment we called BYTE, which includes additional runs under greatly altered conditions to evaluate B3GET’s robustness. Because B3GET contains a large number of editable parameters, state variables, and behavioral rules, the main manuscript focuses only on those settings relevant to the present study. The BYTE Companion Guide (hereafter BYTE; Suppl. material
Operations executed by ANIMALS are italicized (e.g., mate-with, move-towards), state variables are written with periods (e.g., life.stage, body.size), and user-defined parameters appear in bold italics (e.g., plant-seasonality, plant-quality).
The B3GET environment (Fig.
In modeling PLANT dynamics, we took inspiration from Conway’s Game of Life (
Each ANIMAL has a genotype composed of stimulus–response rules called genes that govern behavior and energy use (Fig.
ANIMAL states, actions, and behavioral processes. A. Hypothetical ANIMAL agents, a blue male (left) and an orange female (right), shown with representative attributes (i.e., regular text and shapes), typical actions (italic text and arrows), and energy reserves (energy.supply) used to perform those actions (pie chart); B. Example timestep from the blue male’s perspective: (1) detect objects in the environment; (2) map stimuli to genotype rules, unlocking responses to perform; and (3) execute those actions given sufficient energy.supply.
B3GET operates in discrete timesteps, which represent abstract units of simulation time. Within a timestep, ANIMALS may perform multiple actions (e.g., foraging, mating, fighting, helping, or developmental investments), so a timestep is best interpreted as roughly comparable to one or several hours.
The fate of each ANIMAL depends on survival.chance, the probability from 0 to 1 of surviving to the next timestep. Although individuals begin life with survival.chance = 1.0, this value continuously declines according to deterioration-rate and must be maintained through energetic investment in the survival-chance action. The increase in survival.chance is proportional to the amount of energy allocated to this action, creating a tradeoff between survival and competing demands such as growth, reproduction, movement, and social behavior. Consequently, individuals that fail to acquire sufficient energy, or that invest too little in survival maintenance, may experience substantial reductions in survival.chance and die at any life stage.
All actions require sufficient energy.supply to enact; those with depleted energy are unable to act and may die of starvation. ANIMALS replenish energy by eating PLANTS or other ANIMALS, with their bite.capacity setting the upper limit per feeding. ANIMALS may also invest energy to increase their bite.capacity. Thus, in general, an ANIMAL must weigh its needs to maintain its survival against all other activities, which may have immediate payoffs (e.g., eating to gain energy now) or delayed payoffs (e.g., growing bite.capacity to gain more energy later).
Operations such as eating require the interacting parties (e.g., ANIMAL and PLANT) to be in close proximity. To change locations, ANIMALS can perform movement operations such as move-towards to orient toward nearby objects and go-forward to move closer to them. ANIMALS decide which direction to move based on which objects they can detect in their environment. An ANIMAL’s visual.range and visual.angle define its cone of perception, and its ability to see during the day or at night depends on the day.perception and night.perception attributes.
When two ANIMALS of opposite biological.sex meet, they may mate-with each other. Whether mating—or any other interaction—occurs is governed by a negotiation process. Each party may independently invest energy to initiate or inhibit the interaction, and the outcome depends on the relative contributions of the two parties. If mating occurs, the conception probability is the mean of both partners’ conception.chance; the mother’s litter.size sets the number of offspring.
New agents begin in the “gestatee” life.stage with minimal capabilities. Mothers and offspring use supply-to and demand-from interactions to transfer energy. Offspring use this energy to increase traits such as body.size, their own conception.chance, or visual.range to nonzero values. Life-stage transitions (e.g., to infant, juvenile, and adult) occur probabilistically (e.g., infancy.chance). Mothers likewise manage offspring development by investing in birthing.chance and weaning.chance with the actions check-birthing and check-weaning.
Mothers who conceive begin by holding their gestatees and later infants in their carried.items inventory. All carried.items stay with the carrying ANIMAL as it moves across the landscape, imposing locomotor costs on the carrier (BYTE: Section 2.7.2.3). A mother can put-down her offspring to remove it from her carried.items and force it to walk on its own. An infant may reverse this operation by clinging-to its mother, which has the effect of putting it back in the carried.items inventory. Likewise, an infant may squirm-from its mother, and the mother can pick-up her offspring.
Group dynamics are governed by shared group.identity, which can be updated during join, leave, recruit, and expel interactions. Within or between groups, ANIMALS can attack or help others, negatively or positively affecting the survival.chance of recipients. ANIMALS can assess their degree of relatedness to visible individuals based on inherited identity markers, with individuals having perceived relatedness ≥ 0.25 treated as kin (BYTE: Section 2.4.7).
During simulations, B3GET collects data using methods adapted from field studies in animal behavior and ecology (e.g.,
Our description above presents a general view of ANIMAL behaviors. However, small genotype edits can produce large societal differences. For this study, we constructed ANIMAL populations with differing genotypes to simulate four primate species: CHIMPANZEES, GELADAS, HAMADRYAS, and OLIVES, which we refer to collectively as PRIMATES. We chose these four species because they vary in patterns of sex-biased dispersal, mating systems, and ranging behavior—behavioral differences that we can capture with B3GET to demonstrate the capacity of the model to emulate a broad range of social behavior. Our objective was not to produce exact simulations of these species, but rather to determine whether a common modeling framework could reproduce the generalized social, ecological, and life-history patterns that distinguish them.
To construct PRIMATE genotypes, we built on
Each CHIMPANZEE simulation began with four groups of 11 adult males and 17 adult females, each occupying a separate quadrant of the landscape to reflect territorial communities (
Each GELADA simulation began with 16 evenly spaced groups of one adult male and five adult females. We programmed rules to recreate their multilevel society, in which reproductive units maintain stable spatial cohesion (
Each HAMADRYAS simulation began with 16 groups of one adult male and three adult females, arranged into two spatial clusters of eight groups each. We programmed males to form reproductive units by forcibly recruiting females from other groups (
Each OLIVE simulation began with four groups of four adult males and 12 adult females, each clustered in a separate quadrant of the virtual environment. To recreate stable within-group cohesion (
We seeded simulations with one of the four PRIMATES and set PLANT parameters to the values used during model development and genotype construction (plant-quality = 4, plant-seasonality = 0.5, plant-annual-cycle = 1000, plant-daily-cycle = 10, and deterioration-rate = 0.1), ensuring a hospitable environment for PRIMATE persistence. We varied plant-minimum-neighbors (0–7) and plant-maximum-neighbors (1–8) at integer intervals. Each run lasted 100,000 timesteps (~5 adult lifespans). These 288 simulations (4 PRIMATES × 36 PLANT configurations × 2 replicates [Run A and Run B]) form this study’s baseline. Although these four primate species occupy different habitats in nature, we exposed each genotype to the full range of simulated PLANT configurations, allowing us to assess which genotypes persisted or flourished under different habitat conditions.
We assessed model performance in four ways: (1) whether B3GET generated both patchy and homogeneous PLANT environments, (2) whether ANIMAL populations could persist across generations under some conditions, (3) whether genotypes and phenotypes could evolve over time, and (4) whether emergent ANIMAL behaviors reflected known dispersal patterns, mating strategies, and ranging behaviors of the target species.
To evaluate PLANT ecology, we recorded total PLANT energy abundance at regular intervals by summing the energy.supply values of all PLANTS in the simulation. We also quantified patchiness by dividing the landscape into 10 × 10-cell windows—approximating the maximum ANIMAL visual.range—and calculating the variance-to-mean ratio of PLANT energy abundance across these windows. We also captured aerial snapshots every 10,000 timesteps to visually track PLANT dynamics, with green color shading denoting energy.supply levels.
To assess ANIMAL persistence, we recorded population size every 250 timesteps through timestep 100,000 and tracked generational change by assigning each new offspring a generation.number one higher than its mother. A population was considered persistent if individuals were still present at timestep 100,000 and new generations continued to be produced. To assess ANIMAL evolution, we logged mean phenotype values (e.g., bite.capacity, gestation duration) and corresponding mean gene values by generation. We identified evolutionary change as population-level shifts in these values across generations. As a measure of reproductive success, we tallied lifetime conceptions per individual.
To evaluate how well emergent species-specific behavioral patterns were recreated, we assessed three behavioral axes: dispersal, mating, and home range fidelity. For dispersal, we tracked all individuals throughout life, recording their sex, whether they left their natal group, whether they joined a new group, and how often they transferred. For mating strategies, we tracked group demography over time and recorded the number of unique mating partners per individual of both sexes. To obtain detailed mating histories, B3GET randomly selected individuals as focal subjects, tracking every action and state from conception to death. We constructed “field notes” from these data (BYTE: Section 7.3), including when and with whom the individual mated. For ranging behavior, we reviewed aerial snapshots taken at regular intervals and color-coded home ranges based on group identity. A group’s home range is the set of PLANTS occupied by that group more frequently than by any other group in the recent past (BYTE: Section 2.7.3), reflecting accumulated and continually shifting familiar vs. unfamiliar areas. We quantified home range fidelity by counting how many individuals were inside vs. outside their own group’s home range when the simulation concluded at timestep 100,000.
We ran the 288 baseline simulations at the Minnesota Supercomputing Institute from 22 July 2021, 4:07 p.m. to 28 July 2021, 12:20 a.m. All simulations reached timestep 100,000 without crashing, producing 370,199 ANIMALS with complete life histories (conceived after the start and deceased before the end).
PLANT abundance and patchiness varied widely across simulations (BYTE: Section 6.1). Mean energy.supply per cell ranged from 0.7 to 3.3 (median = 1.2), while patchiness values ranged from 0.6 to 160 (median = 10). Higher values of plant-minimum-neighbors and plant-maximum-neighbors generated discrete PLANT energy patches (Fig.
Spatial outcomes of PLANT ecology and CHIMPANZEE ranging behavior at timestep 100,000 for baseline simulations (Run A only). The matrix is symmetrical across the diagonal, with each simulation represented by two small panels that correspond to a distinct pair of plant-minimum-neighbors (x-axis, 0–7) and plant-maximum-neighbors (y-axis, 1–8) settings. Upper-left panels display PLANT energy distributions, with darker green indicating higher energy and lighter green indicating lower energy. Lower-right panels show color-coded home ranges of the four CHIMPANZEE communities (blue, green, yellow, and orange). See BYTE: Section 6.3 for all baseline PRIMATE spatial outcomes.
Temporal dynamics of PLANT ecology and populations across 100,000 timesteps in baseline CHIMPANZEE simulations. Each small panel presents data from two simulations (Run A, darker lines; Run B, lighter lines) with the same plant-minimum-neighbors (x-axis, 0–7) and plant-maximum-neighbors (y-axis, 1–8) settings. Lines show four tracked variables: PLANT abundance (green) and population size (orange) in panels above the diagonal, and PLANT patchiness (blue) and mean generation number (red) in panels below the diagonal. Axis scales vary among variables and are illustrated in the reference key at the top. See BYTE: Section 6.1 for all simulation outcomes.
Across the 288 baseline simulations, 204 populations (83.6%) persisted for the full 100,000 timesteps (Table
| CHIMPANZEES | GELADAS | HAMADRYAS | OLIVES | |
|---|---|---|---|---|
| Persistence to timestep 100,000 | ||||
| Total simulated individuals | 123,354 | 86,119 | 121,362 | 39,364 |
| Populations that persisted | 63/72 (87.5%) | 66/72 (91.6%) | 68/72 (94.4%) | 51/72 (70.8%) |
| Population size at timestep 0 | 112 | 96 | 64 | 64 |
| Population size at timestep 100,000 (mean ± SD) | 114 ± 94 | 86 ± 60 | 157 ± 77 | 55 ± 69 |
| Generations transpired (mean ± SD) | 8.79 ± 1.21 | 6.25 ± 0.66 | 8.23 ± 0.95 | 5.92 ± 1.57 |
| Dispersal patterns* | Female dispersal; Male philopatry | Female philopatry; Male dispersal | Female dispersal; Male dispersal | Female philopatry; Male dispersal |
| Female lifetime group transfers (mean ± SD) | 0.834 ± 0.536 | 0 | 3.40 ± 3.90 | 0 |
| Male lifetime group transfers (mean ± SD) | 0 | 25.7 ± 118 | 1.23 ± 9.44 | 1.28 ± 9.46 |
| Mating strategies* | Polygynandrous | Polygynous | Polygynous | Polygynandrous |
| Group size at timestep 100,000 (mean ± SD) | 43.2 ± 26.2 | 4.80 ± 3.60 | 3.50 ± 2.80 | 13.3 ± 9.90 |
| Female lifetime unique mating partners (mean ± SD) | 2.08 ± 2.19 | 1.38 ± 1.21 | 1.77 ± 1.73 | 1.35 ± 1.07 |
| Male lifetime unique mating partners (mean ± SD) | 2.08 ± 2.32 | 1.60 ± 1.84 | 2.11 ± 2.38 | 1.68 ± 3.22 |
| Home range characteristics* | Territorial | Non-territorial | Non-territorial | Non-territorial |
| Number of groups at timestep 0 | 4 | 16 | 16 | 4 |
| Number of groups at timestep 100,000 (mean ± SD) | 3.15 ± 1.43 | 13.19 ± 8.53 | 26.1 ± 13.3 | 1.61 ± 1.49 |
| Range fidelity (% within home range at timestep 100,000) | 91.3% | 40.0% | 36.1% | 44.8% |
| Spatial boundaries (visual assessment: see Fig. |
Strict boundaries | Overlap | Overlap | Overlap |
Time-series records for PLANT abundance (green), patchiness (blue), and ANIMAL population size (orange) show that population persistence was tightly linked to PLANT resource stability (Fig.
We illustrate evolutionary change using two arbitrarily chosen simulation case studies to demonstrate that B3GET can generate both evolutionary change and evolutionary stasis (Fig.
Evolution of selected traits in B3GET simulations. A. bite.capacity in simulation sAC47A; B. Gestation duration in sAG38A. (i) temporal change in the population mean of the gene(s) controlling each trait; (ii) trait distributions in the ancestral (earlier generations) and descendant (later generations) populations; (iii) reproductive outcomes of the trait measured as lifetime conceptions achieved per individual. In panels showing ancestral (red) and descendant (blue) distributions, purple regions indicate overlap between the two distributions.
All four PRIMATE genotypes include a single gene that grows bite.capacity each timestep during gestation. This gene was initialized at 0.001, meaning that both inherited chromosomes initially contributed 0.001 energy units per timestep toward increasing bite.capacity. In sAC47A, a CHIMPANZEE simulation, the population mean value of this gene rose gradually to 0.014 by timestep 100,000 (Fig.
Gestation timing can be influenced by three genes present in all PRIMATE genotypes: a female gestatee development gene, a male gestatee development gene, and a maternal investment in birth gene. Each started at 0.0005, so mothers and gestatees initially invested equally in triggering birth. In sAG38A (Fig.
We evaluate how well B3GET reproduced species-specific behavioral patterns by comparing simulated PRIMATE populations to empirical observations along three behavioral axes: dispersal, mating, and home-range fidelity (Table
Male CHIMPANZEES were strictly philopatric, while nearly all females (≈ 99.5%) dispersed from their natal groups upon reaching adulthood. However, dispersal success was variable: only approximately half of dispersing females (48.0%) joined a new group, mirroring patterns observed at Gombe (
CHIMPANZEE communities were the largest among the four PRIMATES (mean = 43.2 ± 26.2 individuals at timestep 100,000; Table
CHIMPANZEES exhibited high range fidelity: 91.3% of individuals were observed within their home range at timestep 100,000 (Table
Female GELADAS were largely philopatric, with 78.0% of adult females remaining in their natal group throughout life, consistent with the strong female philopatry reported in wild geladas (Table
Most adult males (84.3%) dispersed from their natal groups and successfully joined new ones upon reaching maturity, transferring a mean of ≈ 25 times (Table
GELADA groups averaged 1.3 ± 1.2 adult males and 2.2 ± 1.5 adult females but ranged widely (0–16 males, 0–18 females). Approximately 41.7% of groups contained a single male, 33.3% included multiple males, and 25.0% lacked an adult male entirely. Although real gelada societies include leader and follower males, this distinction was not encoded separately here; nevertheless, focal observations revealed multiple sires within some groups.
At timestep 100,000, GELADA populations averaged 13.19 ± 8.53 groups (Table
In HAMADRYAS, both sexes commonly dispersed from their natal group upon maturity, consistent with dispersal patterns reported for wild hamadryas baboons (Table
Of adult males, 71.8% established new groups, 27.2% joined an existing group, and 0.9% rejoined their natal group. The initial HAMADRYAS genotype included a gene enabling adult males to recruit solitary males nearby. This gene began at zero energy allocation (inactive) but mutated to positive values in most runs: 67 of 72 simulations evolved follower males, confirmed by focal follow observations (BYTE: Section 7.3) and nonzero recruitment gene values by simulation end.
HAMADRYAS populations averaged 26.06 ± 13.32 groups comprising 1.3 ± 1.4 adult males and 1.1 ± 1.0 adult females (Table
Group composition was highly variable (up to 38 adult males and 19 adult females). More than half of all groups (53.5%) contained a single adult female, 23.7% contained multiple females, and 22.8% contained none. HAMADRYAS groups showed no spatial fidelity; they roamed freely and altered the surrounding vegetation more than any other PRIMATE (BYTE: Section 6.3). Simulations that produced patchy PLANT distributions for other species (e.g., sAC46A, sAG46A, and sAO46A) became more homogeneous under HAMADRYAS (e.g., sAH46A), suggesting that their higher population stability may have modulated the PLANT landscape.
In OLIVE populations, females were strictly philopatric and never dispersed, while all males dispersed upon adulthood, reproducing the sex-biased dispersal pattern characteristic of olive baboons (Table
A small fraction (3.7%) of OLIVE males returned to their natal group; these males achieved 83.1% of conceptions in their group vs. 88.6% among males that transferred elsewhere, indicating minimal fitness difference. As in GELADAS, female philopatry produced elevated within-group relatedness (r = 0.244 ± 0.085 among adult females vs. r = 0.139 ± 0.085 among adult males). OLIVE groups, comparable to GELADAS, HAMADRYAS, and their real-world counterparts, exhibited overlapping ranges rather than discrete boundaries (BYTE: Section 6.3).
B3GET successfully reproduced key ecological, evolutionary, and behavioral patterns across biological scales. The model met all four evaluation goals: it generated both homogeneous and patchy PLANT environments, sustained realistic ANIMAL population dynamics over long timescales, produced measurable evolutionary change in heritable traits, and simulated species-typical dispersal, mating, and ranging behaviors across multiple primate species. These PRIMATES also experienced full life histories: beginning from a zero state and requiring energy to develop to adulthood, reproduce, and eventually die. Together, these results demonstrate that B3GET provides a general yet mechanistically detailed framework capable of modeling diverse animal taxa and linking individual decision rules to emergent behavioral and ecological patterns.
The spatial ecology of PLANTS and the behavioral ecology of ANIMALS interacted to produce dynamic and biologically plausible virtual ecosystems. PLANT distributions ranged from homogeneous to patchy depending on plant-neighbor settings and often smoothed over time due to foraging pressure. This feedback between ANIMAL consumption and PLANT regrowth created dynamic resource landscapes that, in turn, shaped emergent space-use patterns, including CHIMPANZEE home-range boundaries that followed PLANT energy contours. ANIMAL population persistence depended strongly on available PLANT energy, with many populations surviving to 100,000 timesteps, suggesting robust population stability under favorable ecological conditions.
Evolutionary change was commonly observed within B3GET populations. We focus here on two representative case studies to demonstrate, as a proof of concept, that the model can generate both evolutionary change and evolutionary stasis. Because the model does not impose an explicit global fitness function, differential survival and reproduction arose naturally from energetic and behavioral tradeoffs. In one CHIMPANZEE population (Fig.
PRIMATES expressed expected social behaviors without any top-down enforcement, showing that B3GET’s bottom-up, genotype-encoded rule structure can reliably generate complex emergent societies that reflect species-typical traits. Dispersal behaviors: CHIMPANZEE males were philopatric, while approximately half of females dispersed to neighboring communities; GELADA males transferred frequently, whereas females were largely philopatric; HAMADRYAS females dispersed to join recruiting males; and OLIVE males dispersed, while females remained in natal groups. Mating behaviors: CHIMPANZEES maintained promiscuous, large multi-male, multi-female communities; GELADAS maintained small, single-male and multi-male units through male acquisition of female groups; HAMADRYAS males formed small groups by recruiting females and sometimes male followers; and OLIVES sustained multi-male, multi-female groups with a male-biased reproductive skew. Ranging behaviors: CHIMPANZEE groups maintained distinct home ranges, whereas GELADA, HAMADRYAS, and OLIVE groups occupied overlapping or shifting ranges without fixed boundaries.
We have demonstrated that B3GET can effectively simulate a broad range of primate societies with minor adjustments to PRIMATE genotypes and populations. Previous studies with agent-based models showed that simple rules can yield complex emergent behaviors (
Traditional animal agent-based models often struggle to integrate field measurements because relevant data are scarce, inconsistent, or collected using incompatible protocols (
Although this study focused on primates, B3GET’s population and genotype files can be readily adapted to represent other taxa. The model can also generate novel ANIMAL genotypes as populations evolve away from their initial set of rules, shifting toward configurations that better allocate energy under a given simulation’s environmental pressures. The symbolic stimulus–response architecture offers a vast and largely unexplored behavioral space—on the order of more than 300 trillion possible ANIMAL behaviors when all potential mutations to genotype symbols are considered (
B3GET’s rich ecological context—encompassing energy landscapes, social organization, individual life histories, and intergenerational change—makes it a powerful framework for examining how environmental structure and behavioral adaptation interact. Its multilevel output system provides fine-grained data spanning genes, individuals, groups, populations, and environments, enabling integrative analyses of feedback across scales. Together, these features position B3GET as a robust and versatile platform for research and education in individual-based ecology.
Beyond its value as a theoretical research tool, B3GET provides a means to explore ecological and social scenarios that would be impractical, prohibitively expensive, or unethical to impose on real animal populations. For example, researchers can experimentally alter mortality rates, dispersal opportunities, resource distributions, social structures, or developmental processes and then observe how those changes propagate across ecological levels. Because B3GET simultaneously records measurements across these levels, it can help identify the mechanisms through which population declines, social instability, or other emergent outcomes arise. In this way, it complements empirical research and may help address conservation-relevant questions.
Although B3GET is a powerful tool for theoretical exploration, several limitations warrant consideration. The current implementation uses abstract representations of ecological processes: PLANT growth is governed by internal rule-based dynamics and does not use phenology, climate inputs, or externally derived resource maps. Timesteps and energy units are non-dimensional and do not directly correspond to real-world measures. This abstraction enhances generality and allows comparisons across simulated systems, but it reduces realism for system-specific forecasting. Consequently, B3GET is presently best suited for theoretical investigations, hypothesis comparison, and mechanistic exploration rather than predictive modeling, although future iterations will aim to bridge this gap.
Another limitation concerns interpretation. B3GET can identify combinations of mechanisms capable of reproducing empirical or theoretically expected patterns, but successful reproduction of a pattern does not demonstrate that the underlying mechanisms are uniquely correct. Multiple behavioral or ecological processes may generate similar outcomes, especially given the vast parameter space of B3GET. Consequently, B3GET should not be viewed as providing definitive proof of causation. We encourage users to build confidence in proposed mechanisms by explicitly evaluating alternative explanations and corroborating model predictions with independent data.
The model’s scope and potential extend beyond what was captured in the present simulations. For this study, we turned off mutation for most gene loci to preserve interspecific distinctions, constraining within-species evolutionary dynamics. Populations often crashed in highly patchy environments, suggesting the need to adjust initialization parameters to permit persistence under these conditions. Some unexpected outcomes—such as lower persistence in OLIVES and highly male-biased sex ratios in CHIMPANZEES—likely reflect suboptimal energetic allocations. Further exploration of the simulation space will help identify parameter combinations that better sustain each virtual population and reveal additional model behavior.
In future iterations, we intend to expand B3GET’s ecological realism and evolutionary scope while strengthening its integration with empirical data.
We intend to simulate longer time horizons so that the system’s internal feedbacks can unfold more fully. Preliminary time-series results reveal oscillatory resource–consumer dynamics between PLANTS and ANIMALS—patterns reminiscent of classical predator–prey interactions (
We also intend to introduce new model features to enhance ecological realism. To represent environmental pressures more faithfully, we plan to include multiple PLANT species coexisting within the same landscape (e.g.,
Finally, we intend to extend B3GET from a theoretical platform toward applied ecological modeling. One possible approach would be to implement a calibration procedure that uses empirical data to construct genotype rules more efficiently than the current manual approach. Following
B3GET provides a reusable framework for: (1) creating virtual analogues of living species to address species-specific questions; (2) investigating how populations evolve and vary in response to ecological pressures; (3) tracing complete evolutionary histories across indefinite timescales and generations; and (4) tracking individuals throughout their entire life histories, from conception to postmortem decay. The model is well suited for exploratory, explanatory, and hypothesis-driven research. By demonstrating realistic ecological pressures, evolutionary responsiveness, and species-specific behavioral emergence, B3GET establishes a reusable foundation for multiscale, multisystem ecological modeling. We anticipate that B3GET will serve as a useful tool for students, teachers, and researchers alike, offering a flexible platform for controlled, repeatable experiments in animal behavior, ecology, and evolution.
We thank the Minnesota Supercomputing Institute for its technical support and for providing the hardware used to run the simulations. We thank Julia Fischer and Dietmar Zinner for the invitation to present an early version of B3GET at the Frontiers in Baboon Research Symposium. Our development of the B3GET code was greatly improved by observing chimpanzees and olive baboons at Gombe National Park, Tanzania, and gelada monkeys and hamadryas baboons at Guassa and Filoha, Ethiopia. We thank D. Anthony Collins, Deus Mjungu, Peter Fashing, Nga Nguyen, and Larissa Swedell for hosting us at their study sites. We thank Carrie Miller and Kieran McNulty for invaluable discussions on gelada social dynamics and evolutionary morphology, respectfully.
The authors have declared that no competing interests exist.
No ethical statement was reported.
The authors accept full responsibility for the content of the manuscript, including the disclosure of any use of AI.
Regarding the use of AI in the preparation of this manuscript, the authors declare the following: GPT.
Used for: Language, style and writing, Figures, tables and charts.
We used ChatGPT to assist with editing text and improving clarity in the manuscript and supplementary document. We verified all text and produced all scientific content, model design, simulations, analyses, and interpretations independently.
No funding was reported.
Kristin Crouse: Conceptualization, Methodology, Software, Validation, Formal analysis, Investigation, Data Curation, Project administration, Writing – Original Draft, Writing – Review & Editing, Visualization; Michael Wilson: Conceptualization, Methodology, Supervision, Writing – Review & Editing, Validation; Clarence Lehman: Conceptualization, Methodology, Supervision, Writing – Review & Editing, Validation.
K.N. Crouse https://orcid.org/0000-0002-4878-7477
C.L. Lehman https://orcid.org/0000-0002-1369-1205
M.L. Wilson https://orcid.org/0000-0003-3073-4518
The BYTE dataset generated by B3GET is available on Dryad (https://doi.org/10.5061/dryad.d2547d8d4). Code availability: B3GET (v1.2.0) is available for download on CoMSES (https://doi.org/10.25937/3dfb-js17).
BYTE Simulations of the B3GET Model
Data type: pdf
Explanation note: BYTE Simulations of the B3GET Model: A Comprehensive Companion Guide.