The AgentBase software library allows you to build Agent Based Models (ABMs) that run in the browser. It follows NetLogo's Agent oriented Programming model and is entirely implemented in CoffeeScript. Tinker with models on AgentBase.org or drop by our Google Group to get involved. Documentation is here.
- Allows you to easily share and run ABM models, directly from a webpage. No software to install.
- Is optimized for the quick development of illustrative ABM models: It values minimalism over complexity, readable and pretty code over CPU performance, and sensible defaults over choice. It is opinionated software.
- While NetLogo formed a great inspiration (the most commonly used ABM toolset), AgentBase does not try to copy it (unlike AgentScript, from which the AgentBase library is derived). The web is not the desktop. Coffeescript is not Logo.
- AgentBase is well-tested through automated testing and thus a library that you can trust. See for yourself.
Have a look at these example models.
Ants is a model of ant foraging behavior incorporating a nest location and food pheromone diffusion.
Diffusion has randomly flying agents on a patch grid dropping a color which is diffused over the grid.
Fire is a cellular automata model of fire spreading.
Flock is the classic "boids" model where agents each follow three simple rules resulting in realistic flocking. This example uses the as.dat.gui.js extra.
Grid Path shows one of Knuth's great puzzles on the probability of all Manhattan traversals diagonally traversing a grid.
Link Travel has agents traversing a graph of nodes and links.
N body is a simulation of the nonlinear gravitation of n bodies.
Preferential Attachment models a dynamic graph where new links preferentially attach to the nodes that have the most links. This results in a power-law distribution.