In the future, humans are going to be artificially intelligent.

That's the prediction of Ray Kurzweil, director of engineering at Google (GOOGL), who spoke Wednesday at the Exponential Finance conference in New York.

Kurzweil predicts that humans will become hybrids in the 2030s. That means our brains will be able to connect directly to the cloud, where there will be thousands of computers, and those computers will augment our existing intelligence. He said the brain will connect via nanobots -- tiny robots made from DNA strands.

"Our thinking then will be a hybrid of biological and non-biological thinking," he said.

The bigger and more complex the cloud, the more advanced our thinking. By the time we get to the late 2030s or the early 2040s, Kurzweil believes our thinking will be predominately non-biological.

Related: Elon Musk warns about unleashing artificial intelligence 'demon'

We'll also be able to fully back up our brains.

"We're going to gradually merge and enhance ourselves," he said. "In my view, that's the nature of being human -- we transcend our limitations."

Kurzweil, who is known as one the world's leading inventors, has predicted what the future will look like before. In the '90s, he made 147 predictions for 2009. In 2010, he reviewed his predictions, 86% of which were correct. He gave himself a "B" grade.

His correct predictions included that people would primarily use portable computers in 2009, that cables would disappear and that computer displays would be built into eyeglasses.

Related: These tiny robots have superhuman strength

He did admit on stage Wednesday that he thought we'd have self-driving cars by 2009.

"Now that's not completely wrong," he said. "If I had said 2015, I think it would've been correct, but they're still not in mainstream use. So even the [predictions] that were wrong were directionally correct."

For those concerned with artificial intelligence taking over the world, Kurzweil said we have a moral imperative to keep developing the technology while controlling for potential dangers.

"As I wrote starting 20 years ago, technology is a double-edged sword," he said. "Fire kept us warm and cooked our food but also burnt down our houses. Every technology has had its promise and peril."