Here you will find the sample models that accompany the book. The final release of the models compatible with NetLogo 5 is available here. Latest versions, updated for compatibility with later versions of NetLogo (and also with slowly improving in-code commenting and more ‘INFO’ tab details) are available here.
You will need a copy of NetLogo to run the models. For many of the models, you will need the gradient extension, and for a few the NetLogo-R extension. All models are free for non-commercial use (license details here).
The models in each chapter of the book are linked below. Individual models are linked from the images.
You can also download all the models in a single zip file.