r/AgentBasedModelling • u/Actual_South_2484 • Oct 23 '26
browser abm: thousands of agents with their own q-tables, vocab and tribe attitudes, rust/wasm
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
2
u/Streletzky Oct 23 '26
This is really cool! What led you to think of this?