Funnyman Ricky Gervais is lending his voice to the family action adventure Spy Kids: All the Time in the World and will be featured as the outrageous robot spy dog, Argonaut.

Gervais joins the talented ensemble cast which includes Jessica Alba (Machete), Jeremy Piven (Entourage), Joel McHale (TV's Community and The Soup) and young stars Rowan Blanchard (TV's Dancelot Robot) and Mason Cook (Treasure Buddies). Also reprising their roles from the previous films are Antonio Banderas (The Mask of Zorro), Danny Trejo (Machete), Alexa Vega (From Prada to Nada) and Daryl Sabara (Machete).

"Not only am I lending my voice to Spy Kids, but they can keep it. I'm sick of it," said Gervais.

The film is directed and written by Robert Rodriguez (Sin City, The Spy Kids Trilogy) and will be released in 3-D nationwide on August 19, 2011.

The record-breaking Spy Kids Trilogy (Spy Kids, Spy Kids 2: The Island of Lost Dreams, and Spy Kids 3D: Game Over) have collectively grossed over $450 million worldwide.

On the surface, Marissa Cortez Wilson (Jessica Alba) has it all...married to a famous spy hunting television reporter, a new baby and intelligent twin step kids. But in reality, trying to mother Rebecca (Rowan Blanchard) and Cecil (Mason Cook), who clearly don't want her around, is her toughest challenge yet. Also, her husband, Wilbur (Joel McHale), wouldn't know a spy if he lived with one which is exactly the case - Marissa's a retired secret agent.

Marissa's world is turned upside down when the maniacal Timekeeper (Jeremy Piven) threatens to take over the planet and she's called back into action by the head of OSS, home of the greatest spies and where the now-defunct Spy Kids division was created. With Armageddon quickly approaching, Rebecca and Cecil are thrust into action when they learn their boring stepmom was once a top agent and now the world's most competitive ten year olds are forced to put their bickering aside and rely on their wits. With a little help from a couple of very familiar Spy Kids, Carmen (Alexa Vega) and Juni Cortez (Daryl Sabara), and some mind-blowing gadgets, they just may be able to save the world and possibly bring their family together while they're at it.