Agent Smith is a fictional character and the main antagonist of The Matrix franchise. He was portrayed by Hugo Weaving in the films and voiced by Christopher Corey Smith in The Matrix: Path of Neo. He also makes a cameo appearance in the anime film The Animatrix, voiced by Matt McKenzie.