A model and platform for building agent-based pervasive mixed reality systems