An AI architecture with integrated long-term memory, selective updating based on a surprise signal, and context extended to 2 million tokens. Next-generation transformer technology.