Full sample chapter · AI From the Ground Up
Old Dreams, New Machines
Long before artificial intelligence became a research field, people imagined artificial beings, built lifelike mechanisms, formalized logic, and discovered that one machine could follow many programs.
Old Dreams, New Machines
Long before artificial intelligence became a research field, people imagined artificial beings, built lifelike mechanisms, formalized logic, and discovered that one machine could follow many programs.
Imagine entering a royal gallery three centuries ago. A mechanical bird turns its head and sings. A miniature musician moves her fingers across an instrument. A clockwork figure raises a cup as though it recognizes the visitor. The experience is carefully staged: polished metal, painted skin, concealed gears, and motion timed to surprise. The machine does not learn. It does not decide what song suits the room. Yet for a moment it seems to cross a boundary between object and agent.
That moment matters because artificial intelligence did not begin only with electronics. It grew from several older human projects that eventually converged. We wanted to imitate life. We wanted to make reasoning precise. We wanted machines to carry out instructions without constant human effort. And we wanted symbols—numbers, words, notes, categories—to stand for things in the world.
None of those projects, by itself, produced AI. An automaton can imitate motion without learning. Logic can be written on paper without being executed. A calculator can follow a fixed mechanism without being programmable. A programmable machine can manipulate symbols without interpreting them as a person would. But together they supplied the conceptual parts from which the modern field could later be assembled.
The dream came before the discipline
Stories of artificial beings appear across cultures and eras. Their details differ, but the recurring questions are recognizable. Can human craft imitate life? What happens when a creation follows an instruction too literally? Who is responsible for the actions of something made to serve? Does the ability to speak or move prove the presence of a mind?
These stories are not early engineering specifications. Treating them as primitive AI would flatten their religious, political, and moral meanings. They are better understood as evidence that people were debating agency, control, imitation, and responsibility long before they had digital machines.
Audiobook description
Four separate streams flow toward a common basin labeled artificial intelligence. The streams are imitate life, formalize reason, automate work, and represent the world in symbols. The streams begin in different places, emphasizing that AI formed from converging ambitions rather than a single straight lineage.
The distinction between imitation and inner life is already visible here. A statue that moves may be compelling because it resembles a living being, not because observers possess evidence that it feels. Modern interfaces intensify the same effect. A synthetic voice pauses, laughs, remembers a preference, and calls us by name. The cues are socially powerful even when each is produced by a mechanism.
Ancient dream is not ancient AI
Historical storytelling often draws a straight line from myth to modern products. The line is rhetorically attractive but technically misleading. Stories supplied questions and metaphors. AI required formal representations, executable procedures, programmable machinery, data, and methods for search or learning.
When mechanism imitated life
An automaton is a mechanism designed to carry out a sequence of actions. Springs store energy. Cams translate rotation into a particular motion. Levers and gears coordinate parts. A shaped cylinder or set of pegs can encode a performance. Once activated, the mechanism proceeds through its designed sequence.
European courtly automata of the early modern period were displays of technical and political power as much as entertainment. Museum scholarship links them to competition among patrons, precision craft, and changing ideas about whether the functions of living bodies could be explained mechanically.1 Their effect depended on both engineering and theatre: what the viewer could see, what remained hidden, and what the motion invited the viewer to imagine.
Audiobook description
A left-to-right chain begins with a wound spring labeled stored energy. It turns gears, which rotate a shaped cam labeled fixed sequence. Linkages turn that shape into movement. The final panel shows an observer interpreting the movement as lifelike behavior. A return arrow is absent: the observer's reaction does not change what the mechanism has learned.
The automaton teaches two lessons that still matter. First, complex behavior can emerge from simple parts arranged well. No single gear contains the performance. The pattern belongs to the organization of the mechanism. Second, observers readily attribute intention to coordinated behavior. We see a figure turn toward us and feel watched, even when we know a cam controls the turn.
Reason becomes a procedure
A second stream came from mathematics and logic. If a correct method can be broken into unambiguous steps, another person—or eventually a machine—can carry it out without rediscovering the method each time. This is the central power of an algorithm: it converts a goal into an executable procedure.
Not every judgment can be reduced cleanly to steps. Even when it can, the procedure operates on a representation of the problem rather than on the whole world. A credit policy may use income, payment history, and debt. Those fields represent aspects of a person; they are not the person. The choice of representation determines what the procedure can notice and what it must ignore.
Audiobook description
A large circle labeled messy world contains many details. A funnel selects a few of them into boxes labeled symbols and data. A numbered procedure processes those boxes and produces an output. Several details remain outside the funnel, showing that formalization always includes choices about relevance.
Formal logic adds another idea: conclusions can follow from the form of statements. If all approved suppliers have passed a check, and this supplier is approved, then the procedure can derive that the supplier passed the check—assuming the premises and categories are correct. This separation of valid manipulation from worldly truth is powerful and dangerous. A flawless chain of reasoning can still begin with a false premise or an inadequate category.
Algorithm
An algorithm is a defined procedure for transforming inputs into an output. A recipe is a loose everyday analogy, but computer algorithms require their allowed operations and conditions to be specified precisely enough for a machine to execute.
The dream of mechanized reasoning depended on this conversion: thoughts that seemed fluid and private had to become symbols and operations that could be inspected, repeated, and executed. Later symbolic AI would pursue exactly that strategy at a larger scale—represent knowledge explicitly, then search or reason over it.
The decisive idea: separate the machine from the program
A dedicated mechanism does one kind of work. Change the work and you rebuild the mechanism. A programmable machine changes this economic and conceptual equation. The same underlying machine can perform different tasks when supplied with different instructions.
's Difference Engine was designed to calculate and print mathematical tables through mechanical operations. His later Analytical Engine was far more ambitious: a general-purpose programmable computing design. It separated a “store” for numbers and intermediate results from a “mill” that performed arithmetic. Instructions and data could be supplied using punched cards, an idea connected to the cards that controlled patterns in Jacquard weaving.2
Audiobook description
The left side shows three separate machines, each permanently shaped for one task. The right side shows one machine receiving three different stacks of instruction cards and producing three different kinds of result. The contrast is between rebuilding the machine and changing the program.
The complete Analytical Engine was not built in Babbage's lifetime. Calling it a modern computer without qualification would ignore enormous differences in materials, speed, reliability, and implementation. Yet its logical organization anticipated essential features of later general-purpose computers: memory, processing, input, output, iteration, and conditional control.3
Programmability created a new kind of asset. A machine's potential was no longer exhausted by the task visible in its current operation. The same device could become a calculator, a text processor, a design tool, or a communications terminal. Software could carry procedures from one context to another at low marginal cost. The dream of artificial intelligence would ultimately depend on that flexibility.
The same model, different systems
A modern general-purpose model resembles this separation in an important but limited way. One trained model can support drafting, classification, extraction, tutoring, or coding when paired with different instructions, data, tools, and controls. The surrounding program and workflow determine which capability becomes a dependable product.
Ada Lovelace sees beyond arithmetic
In 1843, published an English translation of Luigi Menabrea's account of the Analytical Engine and added extensive notes of her own. The notes described how operations could be organized for the proposed machine, including a table for calculating Bernoulli numbers. Historians continue to examine the precise contributions of Lovelace and Babbage, so the clean legend of a solitary “first programmer” can hide a documented collaboration and a more complicated record.
Her deepest insight for our story was broader than one program. If numbers can represent things other than quantities, a machine operating on numbers can manipulate other kinds of symbols. Musical notes, letters, or logical relationships could in principle be encoded and processed if their relationships could be expressed in the machine's operations. Lovelace compared the Engine's work to a loom weaving patterns.4
Audiobook description
Four cards contain a quantity, a letter, a musical note, and a shape. Each card points to a numeric code. The codes enter one programmable engine and emerge as a table, text pattern, musical pattern, and drawing instruction. The figure shows that one machine can manipulate different domains by operating on encoded symbols.
Lovelace also warned against exaggerated claims. The Engine, she argued, would carry out what people knew how to order it to perform; it did not originate truths on its own. That caution has echoed through later debates about whether machines merely execute, combine, discover, or create. Modern learning systems complicate her exact boundary because their detailed behavior is not written instruction by instruction. But her larger discipline remains valuable: distinguish the mechanism's actual powers from the meanings observers project onto it.
The pieces were on the table—but learning was still missing
By the nineteenth century, several essential ideas were visible. Behavior could be embodied in a mechanism. Problems could be represented with symbols. Procedures could be made explicit. A general-purpose machine could, at least in design, store values and follow changeable instructions. These were monumental achievements. They still did not amount to artificial intelligence as a research discipline.
What was missing included practical electronic computing, methods for representing rich knowledge, techniques for searching huge spaces of possibilities, and ways for machines to improve from data or feedback. It would take advances in logic, statistics, neuroscience, control, communications, and wartime computing before researchers could credibly propose a field devoted to making machines perform functions associated with intelligence.
Audiobook description
A bridge begins with four solid stones labeled mechanism, representation, procedure, and programmability. A gap follows with dashed outlines labeled electronic compute, search, knowledge, and learning. On the far bank is artificial intelligence as a field. The figure shows genuine continuity without pretending that early automata were already AI.
When someone calls a product intelligent
- What is represented, and what important context is omitted?
- Which behavior is directly programmed, which is learned, and which comes from human workflow?
- Can the system adapt to a new case, or does it repeat a designed sequence?
- Does a lifelike interface make the underlying capability appear broader than it is?
- What part of the system can be changed without rebuilding everything else?
The next chapter moves from the machinery of procedure to the problem of evidence. In 1950, proposed replacing the vague question “Can machines think?” with an observable game. That move would shape how generations judged machine intelligence—and expose the limits of judging minds through performance alone.
Remember this
AI inherited several histories. Imitating life, formalizing reason, automating work, and representing the world converged over centuries.
Lifelike behavior invites projection. Coordinated motion or language can trigger social interpretation without proving an inner mind.
Representation is a choice. Procedures operate on selected symbols, not the full richness of reality.
Programmability separates capability from hardware. One general machine can perform many tasks through different instructions.
Lovelace saw both reach and limits. Symbolic representation expanded what computation might manipulate, while her caution challenged exaggerated claims.
Audiobook description
Four stations form a path: stories ask whether artifacts can act; automata embody fixed behavior; algorithms and symbols formalize procedures; programmable engines separate instructions from machinery. The final arrow points toward the future AI field but stops before it, marking that further breakthroughs were still required.
Five key terms
- Automaton
- Algorithm
- Representation
- Program
- General-purpose
Reflection questions
- Where does a product you use rely on fixed programmed behavior, and where does it adapt from data or input?
- What important reality is compressed or omitted when your organization turns a customer, employee, or risk into data fields?
- Which features of an AI interface encourage users to attribute intentions or understanding to the system?