def create_agent(self,name): print "creating agent %s" % name agent = Agent(name) agent.set_continuum(self) agent.start() self.agents.append(agent)