Large Programs

Home / History of AI

History of AI

ELIZA: The First Chatbot

In the 1960s a simple program called ELIZA made people feel understood. Learn how it worked and why it matters today.

26 November 2026 · 1 min read

In 1966 Joseph Weizenbaum published a paper describing ELIZA, a program running on the MAC time-sharing system at MIT. It is often called the first chatbot.

A user sentence matched to a hand-written rule, producing a scripted reply.

How it worked

According to Weizenbaum's paper, ELIZA analysed each sentence with "decomposition rules" that were triggered by key words in the text. Then "reassembly rules" built a reply. If no key word was found, the program had to produce a reply anyway.

For example (our own illustration, not a quote from the paper), a rule might turn "I am sad" into "Why are you sad?". The program had no idea what sad means.

A psychotherapist script

Weizenbaum wrote that the only serious ELIZA scripts at the time made it respond roughly like a certain kind of psychotherapist (a Rogerian). That style works well for a program like this, because the therapist can reply with questions and does not need to know facts about the world.

The ELIZA effect

Many sources, including Wikipedia, say people were surprised by how readily users treated ELIZA as a listener, and that Weizenbaum was troubled by this. This part is from Wikipedia only. The idea is now called the ELIZA effect: we tend to see more mind in a machine than is there.

Why it matters now

Modern language models are far more powerful than ELIZA, but the lesson holds. A fluent answer can feel caring or wise even when no feelings are behind it.

Compare

ELIZA Modern LLM
Method Hand-written rules Learned patterns
Range One narrow style Many topics
Understanding None Debated, but not human-like

Sources