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 through the same change-log. Watching it work is a good way to learn the system.

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'll get a faster, more reviewable result.
  • 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-tuning of slider defaults - quicker by hand.
  • Choosing which plot to show - the AI can't see your plot.
  • Renaming things for clarity - go straight to the navigator.