History of AI
Ada Lovelace: The First Computer Programmer?
In the 1840s Ada Lovelace described how a machine could follow instructions and even speculated about music.
Ada Lovelace (1815 to 1852) wrote seven explanatory notes to go with her translation of an article by Luigi Menabrea about Charles Babbage's proposed Analytical Engine, published in 1843. One of them, Note G, describes a method for using the machine to calculate Bernoulli numbers. It is often called the first published computer program, though Wikipedia points out that Babbage's own earlier notes also contain programs for the engine.
Diagram made for this site from the facts on this page.
A bold idea
In Note A she wrote that the engine might act upon things other than numbers, if their basic relations could be expressed in the machine's terms. Her example was music: in principle it might compose elaborate pieces of music. The text of the notes is reproduced from Project Gutenberg on the second source page below.
Not intelligent, she said
In Note G she warned against exaggerated ideas of what the machine could do: "The Analytical Engine has no pretensions whatever to originate any thing. It can do whatever we know how to order it to perform." People still debate that idea in the age of AI, because nobody orders a language model to write one particular sentence.