Skip to content
research

ELIZA: The Chatbot That Fooled Its Creator’s World

A 60-year-old program can still sound uncannily attentive—and still crash when you give it a number. Its revival reveals why fluent machines can earn our trust long before they deserve it.

Aki Tanaka
ELIZA: The Chatbot That Fooled Its Creator’s World

A 1960s Chatbot, Rebooted—and Still Fragile

Decades after its creation, ELIZA, the first chatbot, still surprises. Researchers recently ran its recovered 1965 source code, reproducing its famous 1966 therapist conversation exactly. Yet, when presented with a simple numerical input like "999," the program instantly crashes, revealing its underlying fragility.

ELIZA originally ran on an IBM 7094 mainframe at MIT, a machine the size of a room costing $2.9 million (around $23 million today). Users interacted via paper-printing terminals, typing on a typewriter and receiving replies printed on the same sheet. This behemoth operated with less than 150 KB of memory—a fraction of a modern phone photo.

For over 50 years, the original code lay unseen in an archive box. In 2021, Jeff Shrager and MIT archivist Myles Crowley unearthed it. After meticulously reconstructing its MAD-SLIP environment, they successfully got the program running again in 2024, confirming its original operation and its surprising vulnerabilities.

The Trick Was a Mirror, Not a Mind

ELIZA’s brilliance lay not in comprehension, but in mimicry—a theatrical mirror reflecting user input. The DOCTOR script, a set of rules, scanned user sentences for keywords, prioritizing them by rank. When it detected a keyword, it transformed pronouns—for example, changing “my boyfriend” to “your boyfriend”—and then inserted the modified phrase into a pre-written template.

If no keywords were found, ELIZA deployed fallback prompts like “Please go on.” It also maintained a small memory register, saving phrases such as “my boyfriend” to reintroduce later, feigning attentiveness. This gave the illusion of understanding without any true cognitive process.

This mechanical nature becomes evident in the system’s failures. Inputting "You are like my father in some ways" sometimes produced " = DIT"—a raw internal instruction for a “ditto” response that the old code failed to process correctly, exposing ELIZA’s inner workings.

Numeric input could crash the program entirely. When users typed a number, ELIZA’s list-processing library, SLIP, mistook the digits for a memory address, causing the system to attempt access to a non-existent location and halt. These leaks and crashes underscore that ELIZA was a clever parlor trick, not a sentient mind.

The First Chatbot Could Rewrite Its Personality

ELIZA was more than a single "therapist." It functioned as an engine, processing user input against a script that defined its personality. Users could modify or rank these rules in real-time, effectively teaching the program new behaviors or refining existing ones.

This dynamic capability inspired its name: Eliza Doolittle, the flower girl from Pygmalion who learns to speak like an aristocrat. Joseph Weizenbaum designed ELIZA to be taught; the famous DOCTOR script was merely one of many possible roles. Archived scripts reveal other personas, such as one that discussed only New England topics.

A common historical misconception posits ELIZA’s original implementation in Lisp. However, the recently recovered 1960s code, found by Jeff Shrager and Myles Crowley, confirms it was written in MAD (Michigan Algorithm Decoder) with Weizenbaum’s SLIP (Symmetric List Processor). Early clones, particularly a Lisp version by a BBN programmer and a later BASIC iteration, proliferated widely due to their accessibility, eclipsing the original on MIT's IBM 7094 mainframe. For further technical details on its design, consult Weizenbaum's seminal paper: ELIZA—A Computer Program For the Study of Natural Language Communication Between Man and Machine.

Enjoying this? Get one like it in your inbox each morning.

one email a day · unsubscribe in two clicks · no third-party tracking

Weizenbaum’s Warning Outlived the Code

Weizenbaum soon observed what became known as the ELIZA effect: users readily attributed human understanding to the program. His secretary, fully aware ELIZA was a mere program, asked him to leave the room so she could have a private conversation with it. This misplaced trust, even among informed users, deeply troubled him.

His 1976 book, Computer Power and Human Reason, critiqued the uncritical embrace of AI. Weizenbaum argued that computers, while capable of complex calculations, fundamentally lack wisdom—the ability to understand human values, emotions, and context. He warned against delegating tasks requiring such wisdom, like psychotherapy or military decision-making, to machines.

Modern chatbots, with their vastly superior fluency and coherence, intensify this core problem. Their sophisticated conversational abilities can foster a stronger sense of attachment and trust, making it even harder for users to distinguish between simulated understanding and genuine comprehension. ELIZA’s simple mirror trick still resonates: conversational confidence does not equate to a mind.

Frequently Asked Questions

What was ELIZA?

ELIZA was a 1960s chatbot created by MIT professor Joseph Weizenbaum. Its DOCTOR script used keywords and response templates to imitate a psychotherapist.

How did ELIZA generate its replies?

It matched input keywords, applied rules such as pronoun swaps, and inserted phrases into scripted responses. It did not understand the conversation.

What is the ELIZA effect?

The ELIZA effect is the tendency to attribute understanding or empathy to a computer program based on conversational behavior, even when it has neither.

Why did Joseph Weizenbaum warn about AI?

He feared people would mistake machine output for wisdom or human judgment and delegate sensitive decisions to systems that cannot truly understand them.

Found this useful? Share it.

For builders

Want Stork to write one of these about your product?

Send us a URL. We use the product, form a view, and publish what we actually think — in 8 languages, labeled Sponsored, with no copy approval on your side. That last part is what makes it worth quoting.

See how it works$199 · AI tools & software only

For builders

This page is doing a job for someone else’s tool.

AI agents read it. Buyers land on it. It answers in eight languages and over MCP. Your tool can have one like it — live in 24 hours.