What is Agentscript? Agentscript is an open source javascript library for writing agent-based models. It is inspired by a programming language called Netlogo. How does it work? In Agentscript, you fill a world with three ingredients: turtles, patches, and links. Your program describes the behavior of each of these actors and how they interact with each other. Let's see an example. Turtles