Skip to main content
Museum of AI

MTN-0110 · 3.8 · 1881–1883 · Literary work

Pinocchio: the puppet who learns from what he lives through

Carlo Collodi's Pinocchio (1881–1883) is a piece of wood that talks, runs away, makes mistakes and finally becomes a real boy. The tale is about learning and responsibility. It describes neither a robot nor machine learning.

Thematic route: Artificial Intelligence and Literature →

Historical Pinocchio illustration by Enrico Mazzanti, Florence, 1883; not a modern colorized reproduction.
Historical document Historical Pinocchio illustration by Enrico Mazzanti, Florence, 1883; not a modern colorized reproduction. Source, creator and rights
Contemporary digital painting: a wooden Pinocchio speaks with Geppetto in a warmly lit Tuscan woodworking workshop.
Contemporary artistic composition Original colour composition by the Museum of AI, 2026, based on the literary text. It is neither a historical document nor a colourised historical image.

What the work describes

The story was serialised in the Roman children's weekly Giornale per i bambini from July 1881 and appeared as a book in February 1883 from the publisher Felice Paggi in Florence. The carpenter Geppetto carves a puppet from a piece of wood that could already speak. As soon as he has legs, Pinocchio runs off.

In Collodi's book the hero is far more unruly than most people remember. He sells his spelling book to see a puppet show, trusts the Fox and the Cat, ends up hanged from an oak and turns into a donkey in the Land of Toys. The first version actually ended with the hanging, and Collodi continued the story because readers asked for it. Pinocchio changes only when he begins to care for others.

Its place in the cultural history of AI

Pinocchio belongs to the long line of artificial beings in literature, beside Pygmalion's statue and Frankenstein's creature. His place in the room on how machines learn rests on a useful contrast. Collodi's hero learns from experiences that carry meaning, pain and moral weight for him, and in the end he himself changes as a person. A machine learning system adjusts numerical parameters to reduce a measurable error over data. The word 'learning' is shared, but what it refers to differs.

Interactive · curatorial reconstruction

Three of Pinocchio's choices

At three points in the book Pinocchio has to choose. Make the choice yourself and see what Collodi tells.

Illustration history and the images on this page

Enrico Mazzanti illustrated the first edition with black-and-white drawings of a thin, angular Pinocchio in a pointed hat. The historical image shows the scene at the oak. The Museum's colour composition and 3D model are based on the description in the text and on the spirit of Mazzanti's line. They copy no film version or other later form of the character, and they are not colourised historical images.

What calls for caution

Pinocchio's transformation is a fairy-tale and moral one. It should not be read as a description of how an algorithm learns.