# ELIZA (chatbot)

> Canonical: https://skillalmanac.com/glossary/eliza | Last verified: 2026-11-24 | Index status: not offered to search engines

ELIZA is an early chatbot program written by Joseph Weizenbaum at MIT in the 1960s. It answered typed input by matching keywords and rearranging the user's own words with scripted rules, without any understanding of the conversation.

Also called: ELIZA, ELIZA program, ELIZA chatbot, ELIZA AI.

## In plain language

ELIZA is one of the oldest chatbots. It looked for key words in what you typed and used scripted rules to turn your sentence into a reply, often a question. Its best-known script played a therapist who reflects your words back, so it needed no knowledge of the world. People still sometimes felt it understood them. It did not. It could not learn or reason. It matters today as a reminder that fluent-sounding replies are not proof of understanding, and that applies to modern chatbots too.

## Technical definition

According to Wikipedia, Weizenbaum developed ELIZA at MIT between 1964 and 1967, with a 1966 release, in MAD-SLIP. The program scans input for keywords; each keyword has a rank set by a script, and the top-ranked keyword selects a rule. A decomposition rule breaks the sentence into fragments and a reassembly rule builds a reply, with pronouns swapped. The engine is generic and the behaviour comes from scripts, the best known being DOCTOR, which imitates a Rogerian psychotherapist. IBM describes it as keyword spotting with canned replies.

## How it shows up when you use agents

ELIZA is not something you run in Claude Code or Codex. It shows up as a lens. The ELIZA effect, which Wikipedia, citing Hofstadter, describes as the susceptibility to assume that computer programs understand the user's input, applies whenever an agent writes fluent, confident output. A model that says "I checked the tests" in a friendly tone has not shown that it did.

The Stanford Encyclopedia of Philosophy notes that simple programs like ELIZA have sometimes convinced ordinary observers for a fairly long stretch that they were intelligent, which is why the [Turing test](/glossary/turing-test) is argued over. Modern [chatbots](/glossary/chatbot) are built differently: they use a language model, not a hand-written rule list. But the human reaction to smooth conversation is the same, so the habit to keep is to check outputs against evidence.

What breaks when this is misunderstood: you accept an agent's summary, a status report or a claimed fix because it reads well. Next step: ask for the command output, the file and line, or the source quote behind each claim, and open it. The [AI hallucination checklist](/learn/ai-hallucination-what-to-check) gives a way to do that. For the history, see [history of AI](/glossary/history-of-ai).

## Common confusions

- **ELIZA versus a modern chatbot.** ELIZA used keyword rules and scripts. A modern chatbot generates text with a trained model. Both can sound fluent, and fluency is not evidence of understanding.
- **ELIZA versus the ELIZA effect.** ELIZA is the program. The ELIZA effect is the human tendency to read understanding into text output.
- **ELIZA versus DOCTOR.** ELIZA was the generic engine. DOCTOR was the best-known script, which imitated a Rogerian psychotherapist.
- **Myth.** ELIZA learned from conversations. According to the descriptions cited here, its behaviour came from a script of keywords and rules.

## Worked examples in this catalogue

### [chatbot-conversation-flow-design](https://skillalmanac.com/skills/skill-almanac/chatbot-conversation-flow-design)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A support chatbot conversation flow for up to five customer intents, with a step table per intent, a two-miss fallback and a human handoff payload.

Why it exercises the concept: It is a modern scripted chatbot design. Like ELIZA, the replies follow written rules, though this skill adds a fallback and a handoff to a person, which ELIZA did not have.

### [AI Hallucination: What to Check in Agent Output](https://skillalmanac.com/learn/ai-hallucination-what-to-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A checklist for reviewing agent output: claims, quotes, sources and figures before you rely on them.

Why it exercises the concept: The ELIZA effect is trusting fluent output as if it were understood. The checklist is the habit that counters it: check the claim against something you can open.

### [What Is an AI Agent? The Model, Tools and Memory Loop](https://skillalmanac.com/learn/what-is-an-ai-agent)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A language model that chooses its own next step and tool calls in a loop, walked through on one task.

Why it exercises the concept: ELIZA followed a fixed keyword script. The guide describes agents as choosing their own steps, which marks the contrast.

## Related terms

- [Chatbot](https://skillalmanac.com/glossary/chatbot.md)
- [Natural language processing (NLP)](https://skillalmanac.com/glossary/natural-language-processing.md)
- [Turing test](https://skillalmanac.com/glossary/turing-test.md)
- [History of AI](https://skillalmanac.com/glossary/history-of-ai.md)
- [Conversational AI](https://skillalmanac.com/glossary/conversational-ai.md)
- [Artificial intelligence (AI)](https://skillalmanac.com/glossary/artificial-intelligence.md)

## Sources

- [ELIZA](https://en.wikipedia.org/wiki/ELIZA), Wikipedia (accessed 2026-11-24)
- [What is a chatbot?](https://www.ibm.com/think/topics/chatbots), IBM (accessed 2026-11-24)
- [The Turing Test](https://plato.stanford.edu/entries/turing-test/), Stanford Encyclopedia of Philosophy (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
