The Matrix Trilogy,
Everyone is a program.over 2 layers
Neo is AI, going through its 6th improvement Love
Smith is virus cloned Neo to enter layer2 to destroy the AI.
The virus failed and the AI rebooted and improved
I have an alternate theory. Neo’s DNA code is a close match of the original AI designer who the machines must obey/implant with real-world control tech.