AI Before Computers: Myths, Legends, and Mechanical Marvels
From the bronze giant Talos to the clay Golem — how ancient civilisations dreamed of artificial life thousands of years before the computer existed.
AI Before Computers
Myths, Legends, and Mechanical Marvels
A History of the Human Dream to Create Artificial Life
Introduction: Humanity’s Oldest Dream
For thousands of years, long before the hum of servers or the glow of monitor screens, human beings have harbored one of their most enduring and audacious ambitions: to create a being that could think, reason, and act. The desire to breathe intelligence into lifeless matter is not a product of the twentieth century, nor even of the Industrial Revolution. It is, in truth, one of civilization’s oldest dreams --- encoded in myth, inscribed in philosophy, and expressed through the ingenuity of the world’s most brilliant craftsmen across millennia.
When we speak of “artificial intelligence” today, we tend to think of algorithms, neural networks, and silicon chips. Yet the concept --- the animating idea --- stretches back to the very foundations of human storytelling. Ancient peoples around the world imagined mechanical servants, autonomous guardians, and thinking machines. They may not have had the technical vocabulary of computer science, but they understood the essential question: could human ingenuity replicate, or even surpass, the work of nature and the divine?
“The fascination with intelligent machines is not new; it is woven into the very fabric of human imagination.”
What is remarkable is not merely that these ideas existed, but that they appeared independently across cultures separated by oceans and centuries. From the bronze colossus of Greek mythology to the clay golems of Jewish folklore, from the mechanical wonders of medieval Islamic engineers to the philosophical speculations of seventeenth-century European rationalists, every age has asked the same fundamental question in its own language. This article traces that long prehistory of artificial intelligence --- the myths, the machines, and the minds that brought us to the threshold of the modern era.
Section 1: Mythological Artificial Beings
Talos --- The Bronze Guardian of Crete
Among the most vivid and enduring of all artificial-life myths is the story of Talos, the giant bronze automaton of Greek mythology. According to the ancient sources, Talos was forged by Hephaestus, the divine craftsman of Olympus, and gifted to King Minos of Crete as a mechanical guardian for the island. Talos was described as a massive figure cast entirely from bronze, who circled the shores of Crete three times each day, hurling boulders at any ship that dared approach without authorization.
What makes Talos so philosophically interesting to modern readers is the mechanical sophistication with which the Greeks imagined him. He was not animated by magic in any vague sense, but by ichor --- the divine fluid said to flow through the veins of the gods --- which circulated through a single vein running from his neck to his ankle, sealed at the bottom by a bronze nail or plug. This detail suggests an early intuition about internal systems, circulation, and the concept of a single critical vulnerability, what we might today call a “single point of failure.” In the myth of the Argonauts, the sorceress Medea defeats Talos by removing this plug, allowing the ichor to drain away and the automaton to collapse.
Talos represents several ideas that would recur throughout the history of AI. He is a protector --- a machine built to serve and defend --- but he is also potentially dangerous and must be understood and controlled. He has a specific task and executes it with relentless consistency. And he has a weakness, a design flaw that can be exploited. In these respects, the ancient Greeks were imagining challenges that remain central to robotics and AI safety thousands of years later.
The Golem --- Clay Brought to Life
In Jewish mystical tradition, particularly within the Kabbalistic literature of medieval Europe, there developed the legend of the Golem: a creature fashioned from clay or mud and brought to life through sacred ritual. The most famous version of the legend centers on Rabbi Judah Loew ben Bezalel of Prague, the sixteenth-century scholar known as the Maharal, who was said to have created a Golem to protect the Jewish community from antisemitic attacks and pogroms.
The mechanism of the Golem’s animation is deeply significant. In most versions of the legend, the creature is brought to life by inscribing or pronouncing the Hebrew word “emet” (אמת), meaning “truth,” upon its forehead or upon a piece of parchment placed in its mouth. To deactivate the Golem, one letter is erased or removed, changing “emet” to “met” (מת), meaning “dead.” This linguistic key to life and death is a strikingly modern concept: the idea that a being can be activated and deactivated by a specific command, a string of symbols with semantic meaning.
“The Golem legend echoes modern debates about AI safety with uncanny precision: what happens when the machine we create to serve us grows beyond our control?”
The Golem stories are also notable for their moral and cautionary dimensions. In many tellings, the Golem becomes increasingly difficult to control; it grows too powerful, misunderstands its instructions, or acts with a literalness that produces unintended and destructive consequences. The Maharal must ultimately destroy his creation before it causes irreparable harm. This narrative arc --- creation, utility, loss of control, destruction --- anticipates with remarkable accuracy the concerns that researchers and ethicists raise today about advanced AI systems. The question of how to align a powerful artificial agent with human values and intentions is, at its heart, the same question the Golem legends were wrestling with centuries ago.
Chinese Mechanical Servants
The dream of artificial life was by no means confined to the Mediterranean and European worlds. Ancient Chinese civilization produced its own rich tradition of imagining mechanical beings. The philosophical text known as the “Liezi,” compiled during the classical period, contains a remarkable story in which a craftsman named Yan Shi presents King Mu of Zhou with an astonishing creation: a life-sized mechanical figure that could walk, sing, and even wink at the royal concubines, provoking the king’s jealousy.
When the king orders the figure destroyed, the craftsman opens it up to reveal an intricate interior of leather, wood, glue, lacquer, and paint --- organs fashioned from natural materials arranged to produce human-like behavior. Remove the heart, the text says, and the figure can no longer speak; remove the liver, and it can no longer see. The story is a meditation on the relationship between mechanism and life, raising the question of whether the difference between a living being and a sufficiently sophisticated machine is one of kind or merely of complexity.
Mozi, the founder of the Mohist philosophical school, was also associated in later traditions with remarkable mechanical inventions, including a wooden bird said to have flown for three days. Whether or not these accounts are historically accurate, they reflect a culture that took the possibility of artificial life seriously and integrated it into its philosophical and literary imagination.
Other Cultural Echoes
The global reach of artificial-life mythology is striking. In the Hindu epics, the Mahabharata and the Ramayana both describe elaborate mechanical wonders: flying vehicles called vimanas, mechanical soldiers, and self-moving devices of various kinds. The ancient Sanskrit text, the Arthashastra, attributed to the statesman Kautilya, mentions mechanical devices used in warfare and governance. Norse mythology speaks of Odin’s ravens Huginn and Muninn --- thought and memory --- who might be understood as symbolic autonomous agents that gather and transmit information.
Medieval European legend added its own contributions: the philosopher-theologian Albertus Magnus was said to have constructed a mechanical servant capable of speech, which was destroyed by his student Thomas Aquinas for being too distracting. Roger Bacon, the thirteenth-century English friar and early advocate of empirical science, was rumored to have built a “brazen head” that could answer any question posed to it. These legends, attached to historical figures of genuine intellectual distinction, suggest that the idea of thinking machines was taken seriously not merely as fantasy but as a conceivable extension of human craft and knowledge.
Section 2: Automata and Mechanical Wonders
Hero of Alexandria
If mythological traditions represent humanity’s dreams of artificial life, the automata builders of the ancient and medieval world represent the first serious attempts to realize those dreams in metal, wood, and water. Among the earliest and most impressive of these practical visionaries was Hero of Alexandria, who worked in the first century CE in the great intellectual center of the ancient Mediterranean world.
Hero was a polymath of the first order, writing treatises on mathematics, mechanics, pneumatics, and optics. His surviving works describe an astonishing range of devices: a steam-powered engine known as the aeolipile (often cited as the world’s first steam engine), automated temple doors that opened when a sacred fire was lit, coin-operated holy water dispensers, and perhaps most remarkably, a programmable cart driven by a falling weight whose direction could be controlled by wrapping rope around axles in advance.
This last device deserves particular attention. The programmable cart of Hero of Alexandria is sometimes described as the world’s first programmable machine. Its path could be predetermined by the arrangement of the ropes, meaning that its behavior was not merely mechanical in a simple sense but encoded in advance by a human operator. The distinction between a machine that simply runs and a machine whose behavior can be specified beforehand is, at its core, the distinction between a mechanism and a computer. Hero was operating at the very edge of that boundary nearly two thousand years ago.
Al-Jazari’s Ingenious Automata
Perhaps the greatest automaton builder of the medieval world was the twelfth-century Islamic engineer Ibn Ismail Ibn al-Razzaz Al-Jazari, who worked at the court of the Artuqid rulers of Diyarbakir in what is now southeastern Turkey. His masterwork, the “Book of Knowledge of Ingenious Mechanical Devices,” completed around 1206 CE, is one of the most extraordinary technical documents in the history of human civilization.
Al-Jazari designed and built a remarkable range of machines, including elaborate water clocks, hand-washing automata, blood-letting devices, and musical robots. His most celebrated creation was a programmable musical boat: a miniature vessel populated by mechanical musicians --- a drummer, two harpists, and a flautist --- who could perform different rhythmic patterns depending on the configuration of pegs and levers on a rotating cylinder inside the drum. This is not merely an amusing toy but a genuine proto-programmable device, in which the “program” is encoded in the physical arrangement of components.
“Al-Jazari’s programmable musical automata represent one of the most sophisticated achievements in the history of pre-modern engineering.”
Al-Jazari’s work stands as a bridge between the theoretical traditions of Greek science and the practical engineering that would eventually produce the computers of the modern era. He drew on the hydraulic knowledge of Hero and Ctesibius, combined it with the precision metalworking traditions of the Islamic world, and produced machines of a sophistication that would not be matched in Europe for several centuries. His influence on later European clockmakers and engineers, transmitted through translations of Arabic technical texts, was significant and lasting.
Renaissance Clockwork
By the fifteenth and sixteenth centuries, European craftsmen had mastered the art of mechanical clockmaking to a degree that made increasingly sophisticated automata possible. The mechanical clock, with its escapement mechanism and gear trains, provided both the practical techniques and the conceptual framework for thinking about how complex behavior could arise from the interaction of simple mechanical parts.
Leonardo da Vinci, that most comprehensive of Renaissance geniuses, designed a mechanical knight around 1495 --- an armored figure driven by a system of cables and pulleys that could sit, stand, and move its arms. While it is uncertain whether Leonardo’s knight was ever built during his lifetime, modern reconstructions based on his notebooks have demonstrated that the design is mechanically sound. Leonardo also designed a mechanical lion that could walk and open its chest to reveal a bouquet of lilies, apparently intended as a diplomatic gift.
In the Swiss and German clockmaking traditions, artisans produced extraordinary automaton clocks featuring moving figures that would strike bells, play music, and perform elaborate tableaux at the appointed hours. The great astronomical clock of Strasbourg Cathedral, first built in the fourteenth century and rebuilt and expanded multiple times thereafter, is perhaps the most famous example: a vast mechanical cosmos in which figures of the apostles parade past a crowing mechanical cock at the stroke of noon. These were not merely entertainments; they were demonstrations of human mastery over time, mechanism, and the visible order of the universe.
Section 3: Philosophical Foundations
Descartes and the Body as Machine
The seventeenth century saw a dramatic shift in how educated Europeans thought about the relationship between life and mechanism. This shift was driven above all by the work of René Descartes, the French philosopher and mathematician who proposed one of the most influential and controversial ideas in the history of thought: that the human body, and the bodies of all animals, are essentially machines --- extraordinarily complex mechanisms operating according to the same physical principles as any other material system.
In his “Treatise on Man,” written around 1633 though published posthumously, Descartes described the body as an automaton made by God --- a machine so perfectly constructed that it surpassed anything human craftsmen could produce, but a machine nonetheless. He argued that all bodily functions, including sensation, perception, memory, and the passions, could in principle be explained by the mechanical interaction of parts. The soul, in Descartes’s view, was something radically separate from the body --- the famous “ghost in the machine” --- but the machine itself operated without any need for supernatural intervention.
This Cartesian framework had profound implications for the idea of artificial intelligence. If the body is a machine, then in principle a sufficiently sophisticated machine could replicate the functions of the body. Descartes himself argued that such a machine could never truly think or use language as a human does --- but he acknowledged that this was a practical rather than a principled limitation. He was, in effect, setting the terms of a debate that would not be resolved for another three centuries.
Leibniz’s Dream of Universal Logic
Gottfried Wilhelm Leibniz, the German philosopher and mathematician who was Descartes’s intellectual successor in many respects, pushed the mechanization of thought even further. Leibniz was fascinated by the possibility of a “calculus ratiocinator” --- a calculus of reasoning --- that would allow complex intellectual problems to be resolved by mechanical calculation, just as numerical problems could be resolved by arithmetic.
Leibniz envisioned what he called a “characteristica universalis”: a universal symbolic language in which all concepts could be represented by symbols and all valid inferences expressed as formal operations on those symbols. With such a language, he believed, disputes between philosophers and theologians could be settled not by argument but by calculation: “Let us calculate!” would be the motto of a new age of rational inquiry. This vision --- of reasoning as a form of symbol manipulation that could be mechanized --- is perhaps the single most direct intellectual ancestor of modern computing and AI.
Leibniz also built one of the earliest mechanical calculators, the “step reckoner,” which could perform multiplication and division as well as addition and subtraction. He was acutely aware of the relationship between his practical calculating machines and his philosophical vision of mechanized reason, seeing them as steps toward the same ultimate goal. The connection between Leibniz’s seventeenth-century dreams and the work of Charles Babbage, Alan Turing, and the modern computer scientists of the twentieth century is direct and traceable.
Hobbes and Computation
Thomas Hobbes, the English political philosopher whose masterwork “Leviathan” appeared in 1651, approached the mechanization of mind from a characteristically radical angle. In the opening pages of that great work, Hobbes declared that “reasoning is nothing but reckoning” --- that is, that thought itself is a form of computation, a manipulation of symbols according to fixed rules.
For Hobbes, this was not merely a metaphor. He was committed to a thoroughgoing materialism that left no room for a non-physical soul or for any form of mental activity that could not in principle be reduced to physical process. If reasoning is reckoning, and reckoning can be performed by machines (as Hobbes’s contemporaries were already demonstrating with their calculating devices), then in principle a machine could reason. The political implications Hobbes drew from this were far-reaching: his “Leviathan,” the artificial commonwealth, was itself a kind of social machine --- an artificial person constructed from natural persons to perform the function of sovereign authority.
Hobbes’s mechanistic view of mind was deeply controversial in his own time and remains contested today. But his insistence that thinking is a form of physical process, subject in principle to the same analysis as any other natural phenomenon, laid important groundwork for the scientific study of cognition and the eventual development of computational models of mind.
Pascal, the Pascaline, and the Challenge of Mechanical Arithmetic
No survey of the philosophical and mechanical foundations of AI would be complete without mention of Blaise Pascal, the French mathematician, physicist, and philosopher who in the 1640s built the first working mechanical calculator intended for practical use --- the “Pascaline.” Pascal designed the device to assist his father, a tax commissioner, in the laborious calculations his work required. The Pascaline could add and subtract numbers of up to eight digits, with carries propagated automatically through a system of interlocking gears.
Pascal was acutely aware of the philosophical implications of his device. In his “Pensées,” he wrote of the calculating machine with a mixture of pride and unease: it produced outputs that were indistinguishable from those of a calculating human mind, yet it was manifestly not conscious and had no understanding of what it was doing. This gap between correct output and genuine understanding --- between simulation and comprehension --- would become one of the central problems of AI philosophy, most famously articulated in the twentieth century by John Searle’s “Chinese Room” thought experiment.
Section 4: From Myth to Modern AI
Looking back across the long sweep of history surveyed in this article, what is most striking is not the diversity of the traditions and thinkers we have encountered, but their underlying unity. From Hephaestus at his forge to Hero at his workbench, from the Kabbalistic rabbis of medieval Prague to the rationalist philosophers of seventeenth-century Europe, the same fundamental questions recur with remarkable consistency: Can intelligence be created? Can reason be mechanized? Can life be manufactured?
These questions are not merely academic curiosities. They are expressions of something deep in human nature --- a drive to understand ourselves by trying to replicate ourselves, to test the limits of human creativity by pushing toward the creation of minds. Every myth of artificial life, every mechanical automaton, every philosophical argument about the nature of thought is, in this sense, a chapter in a single long story about what it means to be human.
“AI is not merely a product of modern computing. It is the continuation of humanity’s oldest dream: to create intelligence from the inanimate.”
The specific technical developments that led to modern computing --- Babbage’s analytical engine, Boole’s algebra of logic, Turing’s theoretical machines --- did not emerge from nowhere. They emerged from a centuries-long tradition of thinking about mechanism, computation, and mind. The inventors and engineers who built the first electronic computers in the 1940s were the inheritors of Hero’s programmable cart, Al-Jazari’s musical automata, Leibniz’s calculating machine, and Babbage’s difference engine. The philosophers who grappled with the implications of those computers were the inheritors of Descartes’s mechanical body, Hobbes’s computational mind, and Pascal’s uneasy Pascaline.
Understanding this prehistory matters, for several reasons. It gives us perspective: the challenges and anxieties we associate with AI today --- questions of control, alignment, consciousness, and responsibility --- are not entirely new. They have precedents in the Golem legends and in the philosophical debates of the early modern period. It also gives us humility: many brilliant minds across many centuries grappled with these questions without resolving them, which should temper any overconfidence about how quickly or easily we will resolve them now.
Finally, this history reminds us that artificial intelligence is a deeply human project --- not just technically, but imaginatively and philosophically. The dream of creating thinking machines is not an aberration or an accident of the late twentieth century. It is one of the most persistent and characteristic expressions of human curiosity and ambition. To understand where AI is going, we need to understand where this dream came from.
Next Article Preview
In the following article in this series, we turn to the twentieth century and the figure who more than anyone else transformed these ancient dreams into a rigorous scientific program. Alan Turing --- mathematician, codebreaker, and visionary --- gave artificial intelligence its first precise theoretical framework. His 1950 paper “Computing Machinery and Intelligence,” which opens with the deceptively simple question “Can machines think?,” remains the starting point for any serious discussion of machine intelligence. We will meet Turing in his historical context, trace the development of his ideas, and explore why his legacy continues to shape the field of AI more than seventy years after his death.
--- End of Article 1 ---