SHRDLU was a natural language understanding program developed by Terry Winograd at the MIT Artificial Intelligence Laboratory between 1968 and 1970, which allowed a person to converse in ordinary English with a computer that controlled a simulated robot arm in a world of blocks. It could follow commands, answer questions about the scene, explain its own actions and learn new words, which made it one of the most celebrated demonstrations in AI history.
Its importance lies in integration. Earlier programs either matched surface patterns or handled isolated subproblems, while SHRDLU combined syntax, meaning, reasoning and memory in a single working system. It also became a lasting cautionary example, because its impressive fluency depended on a tiny, closed domain that could not be scaled to the real world.
How SHRDLU understood commands in the blocks world
SHRDLU operated in a simulated tabletop containing blocks, pyramids and a box, each with a color, size and position. A user typed sentences such as a request to pick up a red block or to place it inside the box, and the program parsed the sentence, determined what objects were meant, planned the arm movements and updated the graphical display.
The key design idea was that knowledge should be represented as procedures, not only as static facts. Words and grammatical structures were linked to small programs that checked conditions in the world model or triggered actions. This procedural view, argued in the thesis behind the system, contrasted with purely declarative logic representations popular at the time.
The program ran on a PDP-6 and later PDP-10 computer and was written in Lisp and Micro-Planner, a goal-directed language derived from Carl Hewitt’s Planner. Its odd name came from “etaoin shrdlu”, the sequence of keys on Linotype typesetting machines ordered by letter frequency.
Architecture of the program
SHRDLU was built from several cooperating modules that passed information back and forth rather than in a strict pipeline. The parser could consult the world model while still reading a sentence, which let it resolve ambiguity using knowledge of the current scene. The table below lists the main components.
| Component | Function | Notable technique |
|---|---|---|
| Syntactic parser | Analyzed sentence structure | Systemic grammar implemented as procedures |
| Semantic interpreter | Mapped phrases to objects and actions | Procedural word definitions |
| Deductive system | Answered questions and planned goals | Micro-Planner backward chaining |
| World model | Stored objects, positions and properties | Symbolic scene description |
| Event memory | Recorded past actions and reasons | Goal history for explanations |
| Display and arm | Showed and executed actions | Simulated graphics, no physical robot |
The event memory was unusually advanced. Because SHRDLU recorded which goal caused each action, it could answer questions such as why it had moved a particular pyramid, tracing a chain of subgoals back to the original user request.
Capabilities demonstrated in the famous dialogue
The published sample conversation showcased a range of linguistic abilities that were remarkable for the period. Many of them remain standard benchmarks for dialogue systems today.
| Ability | What the program did | Why it mattered |
|---|---|---|
| Pronoun resolution | Linked words such as “it” to earlier objects | Required discourse context |
| Clarification questions | Asked which object was meant when unclear | Showed awareness of ambiguity |
| Learning definitions | Accepted new terms such as a named structure | Extended vocabulary during use |
| Explaining actions | Gave reasons from its goal history | Early form of explainability |
| Counting and comparison | Answered quantity and size questions | Combined parsing with inference |
| Refusing impossible goals | Explained why a request could not be met | Checked constraints before acting |
SHRDLU compared with other landmark systems
SHRDLU is often discussed alongside other milestones because each represents a different philosophy of machine intelligence. Comparing them clarifies what SHRDLU achieved and what it did not.
| System | Period | Approach | Key difference from SHRDLU |
|---|---|---|---|
| ELIZA | 1964 to 1966 | Keyword pattern matching | No model of the world or meaning |
| SHRDLU | 1968 to 1970 | Integrated symbolic understanding | Reference point for this comparison |
| Shakey the robot | 1966 to 1972 | Planning with a physical robot | Real sensors, limited language |
| Modern language models | From 2018 | Statistical learning from text | Broad coverage, no explicit world model |
Where ELIZA only appeared to understand, SHRDLU genuinely connected words to a model it could reason about. Modern large language models reverse the trade-off: they handle almost any topic but lack the explicit, inspectable world state that made SHRDLU’s answers verifiable.
Limitations and lasting influence
The central limitation was the closed microworld. Every object, property and action was known in advance, so ambiguity was rare and common sense was unnecessary. Attempts to extend the approach to richer domains ran into the combinatorial growth of hand-written knowledge, a problem later linked to the disappointments that preceded the first AI winter.
- Brittleness: sentences outside the anticipated grammar or vocabulary often failed.
- No learning from data: nearly all knowledge was programmed manually.
- Hard to maintain: tightly interwoven procedures made the code difficult to modify.
- Overstated impressions: demonstrations encouraged optimism that general understanding was near.
Its influence nevertheless proved durable. SHRDLU shaped research on dialogue systems, question answering and knowledge representation, and the term microworld became standard vocabulary. Its creator later became a prominent critic of symbolic AI, arguing that human understanding depends on social and practical context that no closed model can capture.
The short version
SHRDLU was a computer program from around 1970 that understood typed English about a toy world. The world held colored blocks and pyramids on a virtual table. You could ask it to stack them. You could ask what was in the box. It would answer, and it could even say why it had done something.
Imagine talking to a very smart assistant who only knows one small room. Inside that room, it seems brilliant. Step outside, and it knows nothing. SHRDLU showed real understanding, but only in a tiny world.
Where it makes a difference
A university course on natural language processing uses SHRDLU as a case study in its second week. Students first read the original sample dialogue, then examine a modern reimplementation of the blocks world written in a contemporary Lisp dialect. They test about fifty sentences, half from the original transcript and half invented by themselves.
The results are instructive. The program handles nearly all original sentences correctly, including pronoun references and clarification questions, but fails on most invented sentences that use unexpected phrasing or new object types. Students then pose the same requests to a modern chatbot, which answers flexibly but sometimes claims block positions that are impossible in the described scene.
The exercise makes the central lesson concrete: explicit world models give precision, while statistical models give coverage. Students leave with a clearer view of why current research tries to combine the two.