Actor Damon Wayans Jr. attends the premiere of Disney's "Big Hero 6" at the El Capitan Theatre on November 4, 2014 in Hollywood, California.

Actor Damon Wayans Jr. attends the premiere of Disney’s “Big Hero 6” at the El Capitan Theatre on November 4, 2014 in Hollywood, California.

*Damon Wayans Jr. has signed on as one of the leads in FX’s comedy pilot “Singularity,” reports Variety.

The project, from “Silicon Valley” and “The Real O’Neals” scribe Sonny Lee and executive producers Seth Rogen and Evan Goldberg, is set in a world where artificial intelligence has been woven into daily life. In tech parlance, “the Singularity” will mark the point at which AI overtakes that of its human creators, leading to, essentially, the end of the homo sapien era on earth.

Wayans Jr. will play Doug, a guy who loves to be in the moment and is often dressed in Kanye West’s Yeezy gear. Contrary to some, Doug is happily reliant on AI and seeks out all the pleasures technology has to offer.

Lee, who is also a co-exec producer on Netflix’s “Girlboss,” will serve as an executive producer as well as writer. Rogen and Goldberg are producing under their Point Grey shingle.