An Agentset is a data structure that contains one of more agents. The keywords patches and turtles are agentsets, consisting of all the patches and turtles respectively. NetLogo programs often involve working with different agent sets and as such, there are a number of helpful commands we can use.