Documentation
Documentation for Stigmery: a browser-based tool for building agent-based models with the help of an AI co-pilot. Pick any chapter to jump in. New to agent-based modelling? Start with Welcome and Core concepts.
- Welcome Stigmery is a browser-based tool for agent-based modeling - building worlds out of many small, rule-following entities and watching what patterns emerge.
- Core concepts A Stigmery model has four moving parts.
- Building your first model The fastest way to learn is to make a small one yourself. Open the + New model button in the library; you'll get an empty world.
- Rules A rule has three fields:
- The DSL The when and do fields accept a tiny expression language. It's deliberately small; the goal is one-line readability. Drop into a CodeBlock (next chapter) when you need anything…
- CodeBlock escape The DSL covers most simple rules. For anything that needs loops, multi-step state changes, or genuine helper code, set the do field to a CodeBlock.
- Properties & globals There are two kinds of named state in a model.
- Observation - plots & monitors A model isn't useful unless you can see what's happening. Two ways:
- Working with the AI The AI chat on the right is not a generic chatbot - it has access to the same toolset you do (add agent type, add rule, set parameter, run setup, tick, etc.) and applies changes…
- Library & sharing Everything model-management happens in the library. Open it from the top bar.
- Simulation controls The bar above the workspace controls the running simulation.
- Tips & gotchas Add one rule, click Setup + a few Steps, see what changes. Stigmery's change-log + Undo are aggressive enough that you can experiment without fear.
- Feedback & contact Found a bug, have an idea, or just want to share what you built? Email marvin.kleijweg@aivoorimpact.nl.
Ready to try it?
The editor runs entirely in your browser. No install, no sign-up needed to play with the bundled predator-prey model.
Open the app →