Perpetual Self-Aware Cognitive Agents