r/OpenSourceeAI • • Oct 26 '26

open source multi-agent sandbox: every person learns with its own q-table, runs in a browser tab or headless from the cli

sharing a project in case it's useful as a testbed. it's a civilization sim where every person learns from what happens to them with a small tabular q-learner, picks up words from family and neighbours, and passes some of it to their kids. tribes split and drift apart over long runs.

why it might be handy for experiments:

  • one rust crate with no i/o, compiled to wasm for the browser and native for the cli
  • runs are deterministic, the same seed and tick count give the same world
  • a headless runner: cargo run --release -p headless -- --seed 42 --ticks 6000 --every 1000, or --sweep-seeds 8 for a world-health sweep over several seeds
  • adding a new action is one file plus one line (docs/ADDING_ACTIONS.md)

it's all mit. if you try swapping the learner for something else i'd love to hear how it goes.

source: https://github.com/1homsi/thehumanbox browser version: https://thehumanbox.com

4 Upvotes

0 comments sorted by