The bronze fragments of an ancient Greek device have puzzled scholars for more than a century after they were recovered from the bottom of the Mediterranean Sea, where they had lain since about 80 BC. Now, using advanced imaging technology, scientists have solved the mystery of its intricate workings. Unmatched in complexity for a thousand years, the mechanism functioned as the world’s first analog computer, calculating the movements of the sun, moon, and planets through the zodiac. In Decoding the Heavens, Jo Marchant details for the first time the hundred-year quest to decode this ancient computer. Along the way she unearths a diverse cast of remarkable characters—ranging from Archimedes to Jacques Cousteau—and explores the deep roots of modern technology, not only in ancient Greece, but in the Islamic world and medieval Europe. At its heart, this is an epic adventure story, a book that challenges our assumptions about technology development through the ages while giving us fresh insights into history itself.