// the find
noncomputable/AgentMaps
Make social simulations on real maps! Agent-based modeling for the web.
AgentMaps is a Leaflet plugin for running agent-based simulations on real-world street maps in the browser. Agents walk streets, spread infections, commute between buildings — all tied to actual OpenStreetMap geometry. It's aimed at researchers, educators, or curious developers who want geospatial ABM without standing up a Python stack.
The core idea is well-executed: pulling real street networks from OSM and routing agents along actual roads is genuinely useful and not trivial to build. The contagion demo is a convincing proof of concept that shows the library doing something meaningful, not just moving dots. Both user-facing and internal docs exist as separate outputs, which is a sign someone thought about the developer experience. npm installable with a CDN bundle fallback covers both the bundler crowd and the 'just put it in a script tag' crowd.
Last commit is from late 2024 and the repo has 40 forks against 952 stars — adoption is thin and the maintainer appears inactive, which is a real concern for anything you'd build on. The agent model is purely browser-side JavaScript, so simulations with thousands of agents will hit performance walls fast with no obvious path to offloading. The plugin ecosystem is one repo (IconAgents) also by the same author, so if you need anything beyond circles-on-a-map you're writing it yourself. No TypeScript types, no test suite visible in the tree.