Shower thoughts, The Matrix, spoilers(?)
I wonder if Smith was the result of Neo becoming a anomaly. It would explain why Smith was willing to crash the system in order to get rid of Neo. He was just fulfilling his role as an anti-virus.
https://youtu.be/cHZl2naX1Xk