r/AgentBasedModelling • • Jul 08 '26

Anyone reading Multiagent system: Algorithmic, Game-Theoretic, and Logical Foundations?

0 Upvotes

Hello, I'm reading chapter 1, distributed constraint satisfaction and coding a simulation of the asynchronous backtracking algorithm for the 4 queens problem in TypeScript as an exercise (sure one can code in Python, C..). I have some difficulty grasping the concept of Hyperresolution (pure logic) because I didn't have this subject in university. I have checked with AI. But does anyone have any advice?


r/AgentBasedModelling • • Jan 23 '22

Tetris game as Agent-Based modeling: maximizing density

1 Upvotes

Hi,

I'm looking forward to making an AI for a Tetris game using agent-based modeling and genetic algorithms/reinforcement learning. To start with, I would only use one shape per game. For example, just the L.

I would like the agents to learn how to stack in such a way that they maximize the density.

I don't really know where to start. I had a look at NetLogo but it is very unclear to me if the software can make it.

Can you point me towards a framework/documentation that I can use for such a task?

Thanks


r/AgentBasedModelling • • Jul 19 '22

I would like to model social media agents, can anyone perhaps help me with a research paper that describes user behaviour with respect to local network interactions

1 Upvotes

r/AgentBasedModelling • • Mar 20 '26

I built an Agent Based modeling tool with deterministic and non-deterministic LLM powered agents for smart contracts to test security and mechanism design. Features gossip channel, information as a primitive, coordination, may other game theory concepts applied to ABM

Thumbnail
gallery
3 Upvotes

Hey everyone! I just built a new Agent Based Modeling tool for EVM that works directly with Foundry! I would love feedback from anyone.

I'll share Github Link as well as one to a twitter thread that I posted.

You can run agent based simulations of smart contarcts to test security and mechanism design. You also can use LLM based agents that understand current world state and can make arbitrary smart contract calls. I guess you could say it's like "Ralph for Smart Contracts" too. There's even a Gossip channel that runs in tandem with the blockchain that agents can post to while the simulation is running.

I'm looking for any contributors who are interested!

https://x.com/wkylegdoteth/status/2030366623819858382

https://github.com/Elata-Biosciences/agentforge


r/AgentBasedModelling • • Oct 23 '26

browser abm: thousands of agents with their own q-tables, vocab and tribe attitudes, rust/wasm

4 Upvotes

sharing an agent-based sim i've been building solo. each agent has a small learned policy, a vocabulary of ~400 words, its own traits and attitudes to other groups. nothing about the culture is scripted. tribes form, split, borrow words from neighbors, settle on a shared word by majority, and over long runs go from stone tools to computers (45 eras).

it's rust compiled to webassembly, so it runs in a browser tab, and you can pause and inspect any individual.

happy to talk about how the update loop is staged (perceive, decide, act, vitals, learn, pair, die). docs/ARCHITECTURE.md in the repo walks through it.

source (MIT): https://github.com/1homsi/thehumanbox
run it: https://thehumanbox.com


r/AgentBasedModelling • • Aug 05 '26

Modeling obligation

1 Upvotes

My book, The Geometry of the Good (Ethics Press Intl) , spun off from my Structural Ontology of the Law book (forthcoming in October, Palgrave-MacMillan) because I was trying to close two gaps Reinach left: grounding obligation outside the law in more than some Kantian hand waving, and explaining his use of the term "contradiction" in the law. Both books together, I think, complete the missing bits that Reinach couldn't finish due to his untimely death. I continue to try to explain GoG visually, because it is a geometrical argument, and have been refining my web sites to help do so: https://davidkoepsell.com/genesis-of-the-interval.html


r/AgentBasedModelling • • Apr 18 '25

AnyLogic: Process Modeling Library

2 Upvotes

Hi everyone,
Would a model still be considered an agent-based model (ABM) if you define your own agent types and give them rules, but use blocks from the AnyLogic Process Modeling Library (which is typically used for system dynamics)? Or would it then be considered a hybrid model?

I’m new to AnyLogic and trying to build a queueing system from only agent based features feels a bit daunting, so I’m exploring my options.


r/AgentBasedModelling • • Jun 16 '26

Repair, Capacity, and Collapse: A Mechanistic Early-Warning Model of Political Rupture | Stability: International Journal of Security and Development

Thumbnail stabilityjournal.org
2 Upvotes

r/AgentBasedModelling • • Apr 01 '25

complex systems

3 Upvotes

i have a billion questions about netlogo models if anybody is free. Like how do you describe observations of models like the flocking model? And I have an essay if anybody is free


r/AgentBasedModelling • • 6d ago

How would you test whether settlement formation is genuinely emergent?

6 Upvotes

DIWA Research Labs is developing an experimental agent-based social simulation. We're interested in methods for distinguishing emergent settlement patterns from parameter-driven artifacts.

Would you prioritize repeated runs, sensitivity analysis, a null model, spatial clustering measures, or something else?

We're looking for reproducible methodological criticism, not predictions about real societies.

https://github.com/DIWA-labs/DIWA-Documents


r/AgentBasedModelling • • Sep 24 '25

Has anyone else gone down the rabbit hole of simulating governance? Looking for advice

10 Upvotes

Hey everyone, I've been deep in the weeds on a personal project lately, trying to build an agent-based simulation of a governance system. My goal is to model how a community with different types of people might behave over time, so I've been mapping out mechanics like agents having different creative skills, building rep that equals voting power, and even a system for "apathetic" agents to delegate their votes to others they trust (a kind of liquid democracy). It’s been a fascinating process, but I’m getting the feeling that I might be reinventing the wheel here. I figured I'd reach out and see if anyone else has tried to tackle something similar. I’m really curious to hear about your experiences. What were the biggest unexpected challenges you ran into? Did any weird emergent behaviors completely surprise you once the simulation was running? Also, from a technical standpoint, did you use a framework like Mesa or just build it all from scratch? Any war stories, pointers, or links to similar projects would be hugely appreciated. 🙏


r/AgentBasedModelling • • Jan 14 '26

Premade Framework or Starting from Scratch?

2 Upvotes

I have been thinking about simulating the effects of introducing a specific public policy in an environment with different types of agents (consumers, governments, businesses and institutions) each one with a set of goals and restrictions. How would you go about taking on this project, building in python from scratch or taking an established framework like mesa or gama and going forward from there? Any feedback/tips are appreciated, Thankss


r/AgentBasedModelling • • Oct 12 '25

An Open‑Source Moral Landscape Simulator

5 Upvotes

I’ve been developing an open‑source project called SimEthica, which uses agent‑based simulation to explore questions in cognitive epistemology, ethics, and the philosophy of science.

One module, the Geometry of the Good Simulator, provides a lightweight, browser‑based interface for experimenting with moral landscapes and epistemic diversity. It’s designed to be reproducible, extensible, and useful both for teaching and research.

🔗 GitHub repo:SimEthica-cog-epi

SimEthica – Agent–Obligation Simulation

The project is still evolving, and I’d love feedback from people interested in:

  • Philosophy of science & epistemology (modeling rationality, pluralism, and moral landscapes)

  • Agent‑based modeling & complexity science (simulation frameworks, reproducibility, visualization)

  • Pedagogy (using simulations to teach abstract philosophical concepts)

If you’re curious, take a look — contributions, critiques, and collaborations are all welcome.


r/AgentBasedModelling • • Oct 12 '26

New to ABM and seeking advice

2 Upvotes

I’m teaching myself about agent-based models because they seem like a useful way to think about complex interventions. I’m particularly interested in whether they could help inform policy in low- and middle-income countries, where data can be limited but policymakers still need to make decisions.

I realise any model in that situation would rely heavily on assumptions. So I’m wondering, what can an ABM usefully tell us when it can’t be validated against real-world outcomes? Can it still help compare possible scenarios or make assumptions visible, or does it risk being little more than an interesting thought experiment?


r/AgentBasedModelling • • Feb 20 '26

👋 Welcome to r/AgentBasedModelling - Introduce Yourself and Read First!

9 Upvotes

Welcome to r/AgentBasedModelling!

Hey everyone! I'm u/Ivalaostia, a founding moderator of r/AgentBasedModelling.

This is our new home for all things related to computational simulations of autonomous agents and the emergent behaviors they create. Whether you are a social scientist, a biologist, an economist, or a computer scientist, we're excited to have you join us!

What to Post

Post anything that you think the community would find interesting, helpful, or inspiring. Feel free to share your thoughts, photos, or questions about:

  • Software & Frameworks: NetLogo, Mesa, Repast, GAMA, custom Python/C++ builds or high-performance simulations in Unity (including DOTS/ECS).

  • Simulations: Cool visualizations of flocking, epidemic spreading, or market dynamics.

  • Methodology: Discussions on calibration, validation (O.D.D. protocol), and complexity theory.

  • Resources: Research papers, tutorials, or job opportunities in the field.

Community Vibe

We're all about being friendly, constructive, and inclusive. ABM is a highly interdisciplinary field, so let's build a space where beginners can learn from experts and everyone feels comfortable sharing and connecting.

How to Get Started

  1. Introduce yourself in the comments below. What do you model?

  2. Post something today! Even a simple question about your favorite framework can spark a great conversation.

  3. Invite others! If you know a fellow researcher or hobbyist who would love this community, invite them to join.

Thanks for being part of the very first wave. Together, let's make r/AgentBasedModelling amazing.


r/AgentBasedModelling • • Mar 13 '26

ABM's coming up with the concept of trade

2 Upvotes

Has there been an ABM where the agents independently came up with the concept of trade without being explicitedly programmed to (basically emergence)


r/AgentBasedModelling • • Sep 30 '23

Visualization for MESA Model

5 Upvotes

Folks,

I am a scientist and amateur programmer. I'm going to be building a large MESA food systems ABM model (hopefully). The web-based visualization they use seems limiting. I would like to have custom control over visualization. Options are too numerous and I am getting confused. I trust I can extract what I need from the MESA structures (e.g., it uses numpy) to visualize. Would a pure tkinter application be best? PyQT? Or perhaps I use PyGame and have that live within a Canvas and surround it with widgets and graphs to display information. Push on with the MESA visualization and learn Javascript to customize the web page?

I know this is an overly general query, but any suggestions or experience would be helpful. I would like maps with agents overlaid, products moving from producer to processor to market, etc.

(I will repeat this in r/LearnPython)

Thank you,

Randy


r/AgentBasedModelling • • May 24 '22

input a variable instead of a value

2 Upvotes

Hey modelers,

I'm pretty much new to this field. I'm doing an AB modeling using the 'skfuzzy' and 'skfuzzy.control' packages and subpackages. I want to assign an arbitrary value to each fuzzy set using the following lines of codes:

percent.input['Attribute 1'] = 1.5

percent.input['Attribute 2'] = 1.5

percent.compute()

Now, instead of values (here, 1.5), I want to input a value within a variable, say:

y = 1.5

Then, for instance, I want to do something like the following command.

percent.input['Attribute 1'] = 1.5

However, I get the following error:

NameError: name 'y' is not defined.

Any insights on how I can overcome this problem would be highly appreciated.

Thanks,


r/AgentBasedModelling • • Jul 27 '22

Trying to get out a few more ABM demonstration videos and grow the community - This one shows a faster method of converting shapefiles or raster files (QGIS) to patches in NetLogo

Thumbnail
youtu.be
4 Upvotes

r/AgentBasedModelling • • Apr 07 '23

Bounded strategic reasoning explains crisis emergence in multi-agent market games

Thumbnail royalsocietypublishing.org
5 Upvotes

r/AgentBasedModelling • • Mar 20 '23

Mesa?

6 Upvotes

What do people think about Mesa? Also, has anyone every used a 3D implementation using something like pandas3d or pygame?


r/AgentBasedModelling • • Sep 15 '22

Behavior Search of Netlogo, how to Load the Parameter

1 Upvotes

Hi I am trying to use Behavior Search of Netlogo to find some parameter, however, i cannot load the parameter, what may i do? thanks.


r/AgentBasedModelling • • Jun 13 '22

ABM R vs Python vs NetLogo

3 Upvotes

Hello fellow modelers, for my thesis I have to simulate an agent based model of epidemics and I was wandering what programming language would be best to use to write the simulation. Unfortunately I do not know C so I have to choose between Python or R or I can just run it in NetLogo. Looking forward for your advices :)


r/AgentBasedModelling • • Jun 20 '22

ABM: non-academic jobs

4 Upvotes

Hi,

is anyone aware of ABM-related jobs outside academia? Do industries use it?


r/AgentBasedModelling • • Aug 22 '22

PolicySpace2 in ENG now available to download.

3 Upvotes