Situation awareness in intelligent agents: foundations for a theory of proactive agent behavior