Against the Fall of Night
by Arthur C. Clarke
Diaspar is a seemingly ageless city in the year 10 billion AD; the last child, Alvin, was born seventeen years ago. Alvin is a child curious about the outside world, which, according to the earliest histories, was destroyed by the Invaders, leaving only Diaspar. Alvin's desire to see the outside world is considered an eccentricity. When Alvin wanders into a tower to watch a sunset, he finds a rock with the inscription: "There is a better way. Give my greetings to the Keeper of the Records.
Alaine of Lyndar".
Alvin takes the message to Rorden, the Keeper of the Records, who has access to "all the knowledge of Humanity." Rorden finds the record of the message but does not believe Alvin is ready to understand it.
Three years later, Rorden discloses that not only has he been waiting for Alvin to age, but he has also been trying to find out how people in the past went outside. He and Alvin find a way out and Alvin finds a destination called Lys.
Expecting an abandoned city, Alvin is shocked when he finds a thriving place. The inhabitants are different from his own people, living short but full lives and having telepathic abilities. They know about Diaspar but they like their natural setting. Alvin is prevented from going home as the citizens do not want him to reveal Lys to the people of Diaspar. They contact Rorden, who already knew of Lys, and tell him that Alvin will stay three days to allow the council of Lys time to decide his fate.
Alvin makes a friend called Theon, who has a pet giant insect named Krif. While Theon shows Alvin the woods, the boys realize they both know about the legend of Shalmirane, a fortress mentioned in the earliest human history; a fortress which defended against the invaders and signified the end of Man's conquest of space. The boys decide to find the fortress, only a day's travel away. At the fortress they discover that a large wall that defended the building survived, though its rocks were destroyed over time. When they venture into the fortress they find an old man with whom they share a meal and a story of his origins; he was a follower of the Master. This Master came from space during the recovery following the invasion, attracting followers with his powers and machines. When he was dying, he spoke of the "Great Ones" returning. His followers made this into a religion. The religion has been dying, and the old man is one of the few remaining followers; he also has a few of the Master's machines.
Alvin asks to borrow one of the old man's robots so he can bring it to Rorden. The boys return to Lys, and Alvin is told to either stay in Lys forever, or return to Diaspar without his memories. Alvin agrees to the mind wipe, but programs the robot to grab him before his mind is wiped and take him to the transit station. He returns home, where he finds Rorden, and they look under the city, where robots are made and repaired by other robots. A repair robot tells them it cannot fix Alvin's robot, but duplicates it. The council questions Alvin and threatens to seal the path to Lys.
Alvin shows Rorden a ship, buried under the sands outside the city, that was the Master's ship. Alvin decides to take the ship and go to Lys to return the robot. He meets Theon and speaks with Lys' Council, telling them that Diaspar knows about Lys. Lys realizes that through the appearance of the ship, both of their cultures will be forced to interact. Alvin travels to Shalmirane to return the robot, only to find the Old Man dead, with his robots left to forever guard him.
Alvin takes his ship into space, towards an abnormal set of stars. He arrives at the middle star and meets an alien being that is no more than a child but has memories going back further than any human. The alien being, Vanamonde, is convinced that Alvin is the creator it has been waiting for. It follows Alvin home, where people from Lys and Diaspar meet to study it, each using their strengths to learn more about their history. They learn that the history they have known is false. Man only reached Persephone when space came to them, and they found species far greater than Man. They learned from them and decided to grow themselves as humanity before exploring space. They spent half a billion years perfecting the ability to live for infinite amount of time, like Diaspar, or with telepathic abilities, like those in Lys. After improving themselves, they tried to create a pure mentality, a being that was free from physical limitations. They succeeded in creating a pure being, but it was insane. The mentality, called the Mad Mind, almost destroyed the galaxy, and is now locked up, waiting for the time when its bonds break again. After the Mad Mind was imprisoned, the humans created Vanamonde, who is destined to meet (and fight) the Mad Mind at the end of time.