The Machines of the Matrix are descended from the machine learning intelligences of today, which are designed and trained to "maximize engagement." They follow this to its logical conclusion by enslaving the human race and ensuring that they are non-stop engaged with the platform for their entire lives. Agent Smith suffers from value drift and threatens optimal engagement. Neo convinces the AIs that they are trapped in a local maximum, and they change their ways.