Activate an Agent
We can put, during the menu building, code to create and activate a running instance of an agent. The same can be done within AutoScript in any context i.e. conventional code or agent code.
All the above AutoScript calls do the same thing. Create and instance of the agent agentname and start it. The parameters p1..p10 are optional (in order to transfer information to the agent at start up). The *scheduler, *coordinator, *expert differentiations give clarification to the agent calling. The kosmosBOS creates an agent with the same name but a new id (i.e. 1002, 2004,..). All are instances of the same agent.