Artificial intelligence is able to learn from its environment over time. It can store lessons, the code and programs that seem to be valuable for it. The AI has a growing library of strategies of code that it can then execute. This could help with catastrophic forgetting or at least addresses that problem.