It starred Steve Carell as Max Smart , Anne Hathaway as Agent 99 and Alan Arkin as the chief . , and most recently , in a 2008 film adaptation starring Steve Carell , Anne Hathaway , Dwayne Johnson and Alan Arkin , which also spawned a spin-off film , Get Smart 's Bruce and Lloyd : Out of Control .