Wild Wild West is a 1999 American steampunk Western film directed by Barry Sonnenfeld, featuring Will Smith and Kevin Kline as U.S. Secret Service agents tasked with protecting President Ulysses S. Grant and the United States from various dangers during the American Old West.