Working with the AI

The AI is not a general chatbot. It changes your model with the same tools you use. It can add an agent type or a rule, set a global, run Setup and tick. Its changes go into the same change log. On a wide screen it sits beside the workspace. On a phone, tap AI in the top bar. Watching it work is a good way to learn Stigmery.

Good prompts

  • Be specific about behaviour, not syntax. "Make the sheep wander randomly and lose energy each tick" works better than "write me a random-walk function".
  • Ask for one thing at a time. You get a faster result that is easier to check.
  • Iterate. "Now add wolves that chase the nearest sheep." "Now plot the populations." You can build a model piece by piece.

Things to ask the AI to do

  • "Build me a flocking model with 30 boids."
  • "Set sheep_repro to 0.10 and run 50 ticks. What's the sheep_count?"
  • "Switch to Game of Life."
  • "Why does the wolf population crash so fast?"

Things to do yourself instead

  • Fine-tune a slider's default. It is quicker by hand.
  • Choose which plot to show. The AI can't see your plot.
  • Rename things. Go straight to the navigator.