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
Which is why all the Neos look the same but make different choices in the same situation(which the machines can’t understand)