Towards Agentic Agent-based Models: Feasibility, Performance, and Statistical Model Checking
Stefano Blando, Emanuele Guerrazzi, Riccardo Porcedda, Giuseppe Squillace, Max Tschaikowski, Andrea Vandin
Abstract
Agent-based models (ABMs) rely on simple, explicit and reproducible rules for individual decision making, while complex collective behavior emerges from interactions among agents. Recent advances in large language models (LLMs) make it tempting to replace, enrich, or perturb these rules with LLM-based agentic capabilities. However, this raises a methodological question: how does introducing LLM-driven decisions affect the reliability, computational cost, and behavior of ABM simulations? We investigate this for Mesa ABM models, a popular Python library for ABMs, analyzed by statistical model checking. Building on Mesa's integration with the statistical model checker MultiVeStA, we extend the classical Schelling segregation model with a hybrid population: ordinary agents classify neighbors using the standard symbolic rule, while one agent delegates this task to an LLM through tool calls. The LLM-enabled agent receives natural-language descriptions of neighboring agents and invokes tools that increment counters of similar/different neighbors; these counters determine its happiness according to the original Schelling dynamics. This provides a minimal but controlled setting where the semantic, operational, and computational behavior of LLM-based decisions can be studied inside an otherwise standard ABM. We report preliminary experiments with locally served LLMs of different sizes, showing that smaller models may fail simple semantic classification experiments or become operationally unusable during repeated tool-call generation, while larger tested models pass these preliminary checks. We discuss how statistical model checking can estimate classical ABM observables and quantify the impact of introducing agentic LLM components into simulation models.
Create a lesson
Metadata
- Categories
- cs.AI, cs.MA
Related papers
RadOncGym: An Agent-Based Framework for Radiotherapy Dose-Mimicking Optimization
Shared title terminologycs.AITong Miao, Shupeng Cheng, Xiwen Chen et al.
Delegent: A Multi-Agent Harness That Reduces Cost without Sacrificing Performance
Shared title terminologycs.AILingwei Gu, Jimmy Lin
Agent-Based Modeling of Low-Emission Fertilizer Adoption for Dairy Farm Decarbonisation using Empirical Farm Data
Shared title terminologycs.AISurya Jayakumar, Kieran Sullivan, John McLaughlin et al.
Toward Adaptable Multi-Agent Reinforcement Learning: An Assumption-Aware Review
Shared title terminologycs.AISiyi Hu, Mohamad A Hady, Jianglin Qiao et al.
Learning to Make Friends: Coaching LLM Agents toward Emergent Social Ties
Shared title terminologycs.AIPhilipp J. Schneider, Lin Tian, Marian-Andrei Rizoiu
Agent psychometrics: Task-level performance prediction in agentic coding benchmarks
Shared title terminologycs.AIChris Ge, Daria Kryvosheieva, Daniel Fried et al.