In the near future, journalist Martin Seymour travels to Iran to cover the parliamentary elections. Most would-be opposition candidates are disqualified and the election becomes the non-event the world expects. But shortly afterward a compromising image of a government official captured on a mobile phone triggers a revolutionary movement that overthrows the old theocracy. Nasim Golestani, a young Iranian scientist living in exile in the United States, is hoping to work on the Human Connectome Project – which aims to construct a detailed map of the wiring of the human brain – but when government funding for the project is canceled and a chance comes to return to her homeland, she chooses to head back to Iran. Fifteen years after the revolution, Martin is living in Iran with his wife and young son, while Nasim is in charge of the virtual world known as Zendegi, used by millions of people for entertainment and business. When Zendegi comes under threat from powerful competitors, Nasim draws on her old skills, and data from the now-completed Human Connectome Project, to embark on a program to create more lifelike virtual characters and give the company an unbeatable edge. As controversy grows over the nature and rights of these software characters, tragedy strikes Martin’s family. Martin turns to Nasim, seeking a solution that no one else can offer… but Zendegi is about to become a battlefield.