The embodiments of the invention include a computer-readable medium having computer-executable components comprising at least one agent having at least one sensor component, having a goal or change method component, and at least one behavior component. The at least one sensor component generates at least one event based at least in part o n at least one generated value from the goal or change method component. At least one behavior component determines whether to activate a thread of execution based at least in part on the at least one generated event from the at least one sensor compon ent. The system complex execution threads can be generated by any operator on agents level, events level, sensors level and behaviors level. |