Shakey the robot

Also known as: Shakey

On this page 7

Shakey the robot was the first general-purpose mobile robot able to reason about its own actions, developed at the Stanford Research Institute (SRI) Artificial Intelligence Center between 1966 and 1972 with funding from the US Defense Advanced Research Projects Agency. In AI history it marks the moment when perception, planning and physical action were first combined in a single autonomous system.

Shakey moved slowly through a set of rooms, looked at boxes and doorways with a television camera, and turned typed English-like commands into plans of primitive actions. Its software produced ideas that remain in daily use, most notably the A* search algorithm, the STRIPS planning language and an improved Hough transform for detecting lines in images.

How Shakey was built and how it sensed the world

Shakey was a wheeled platform about two meters tall, topped by a mast carrying a television camera and an optical range finder. Its name came from the way the tall mast wobbled as it moved. Bump detectors around the base, often described as cat whiskers, reported contact with walls and objects.

The robot did not carry its own brain. A radio and video link connected it to a room-sized computer, first an SDS 940 and later a DEC PDP-10 with a PDP-15, which processed images, built the world model and issued motor commands. Much of the higher-level software was written in LISP.

The table below lists the main components and the role each played in the system.

ComponentFunctionLimitation
Television cameraCaptured images of rooms and objectsLow resolution, slow processing
Optical range finderMeasured distance to surfacesShort range, single measurements
Bump detectorsSignaled physical contactReactive only, no prediction
Stepping motors and wheelsMoved and turned the platformLow speed, flat floors only
Off-board computerRan perception, planning and controlShared machine, long run times
Main hardware components of Shakey

The environment was deliberately simplified and engineered. Rooms had painted baseboards to make wall edges visible, and the objects were large, uniformly colored boxes and wedges. These constraints made computer vision tractable with the hardware of the late 1960s.

The layered software architecture

Shakey’s software was organized in three levels of abstraction, an arrangement that anticipated later layered robot architectures. Each level hid detail from the one above it, so the planner could reason about pushing a box without knowing how motors were stepped.

LevelExamplesPurpose
Low-level actionsRoll a distance, tilt camera, turnDirect control of hardware
Intermediate-level actionsGo to a location, push a box, go through a doorRobust routines with error recovery
Planning and executionSTRIPS planner, PLANEX monitorConvert goals into action sequences
Software levels of Shakey

The robot kept a symbolic world model expressed as logical statements about rooms, doors, objects and its own position. Early versions used a resolution theorem prover to answer questions and derive plans, an approach that proved too slow for anything but small problems and motivated the design of STRIPS.

Algorithms that came out of the Shakey project

The lasting significance of Shakey lies less in the robot than in the methods its team invented to make it work. Several of these methods became foundational across artificial intelligence and computer science.

ContributionYearWhat it solvedLater influence
A* search1968Efficient shortest-path route findingGames, navigation, logistics
Visibility graphLate 1960sPaths around polygonal obstaclesMotion planning research
Generalized Hough transform for lines1972Detecting straight edges in imagesStandard computer vision tool
STRIPS1971Representing actions and planningBasis of PDDL and modern planners
Triangle tables and macro-operators1972Reusing and monitoring plansPlan learning and execution monitoring
Lasting contributions of the Shakey project

A* search combined the actual cost of a path so far with a heuristic estimate of the remaining distance. When the heuristic never overestimates, A* is guaranteed to find an optimal path while expanding far fewer nodes than uninformed search, which is why it remains the default route-finding algorithm decades later.

STRIPS described each action by its preconditions, add list and delete list. This simple representation sidestepped much of the frame problem, because everything not mentioned by an action was assumed to stay unchanged. The STRIPS style still underlies the Planning Domain Definition Language used in planning competitions.

Shakey compared with other landmark systems

Shakey belongs to the symbolic era of artificial intelligence, alongside SHRDLU, which manipulated blocks in a simulated world. The difference was that Shakey had to cope with real sensors, real motors and real errors, which forced its designers to address execution monitoring and replanning.

SystemPeriodWorldKey approach
Shakey1966-1972Physical rooms with boxesSymbolic planning with perception
SHRDLU1968-1970Simulated blocks worldNatural language and procedural reasoning
Stanford Cart1960s-1979Physical indoor and outdoor spacesStereo vision for obstacle avoidance
ALVINNLate 1980sPublic roadsNeural network steering
Shakey and related systems in AI history

Later critics, especially proponents of behavior-based robotics in the 1980s, argued that the sense-model-plan-act cycle exemplified by Shakey was too slow for dynamic environments. Modern robots usually combine fast reactive control with deliberative planning, a synthesis that keeps the core of Shakey’s layered design.

Limitations and legacy

Shakey was extremely slow by modern standards. Planning a simple task could take many minutes, and physical execution was cautious and error prone. Its success depended on an engineered environment, and the approach did not scale to cluttered, changing spaces.

  • Recognition: popular magazines in 1970 presented it as the first electronic person, which overstated its abilities.
  • Honors: it entered the Robot Hall of Fame in 2004 and received an IEEE Milestone in 2017.
  • Preservation: the original robot is displayed at the Computer History Museum in California.

Stripped to the essentials

Shakey was a tall, slow robot built around 1970. It could look around a room, understand where it was and work out a plan by itself. If told to push a box into another room, it figured out the steps on its own.

Its body was simple. Its real value was in its thinking. The methods its builders created to find routes and make plans are still used today in video games, phone maps and warehouse robots.

Where it is applied

A logistics company runs a warehouse where hundreds of mobile robots carry shelves to packing stations. Every second, each robot needs a route that avoids walls, shelves and other robots. The routing software uses a variant of A* search, the algorithm first written to move Shakey between rooms.

Above the route finder, a task planner decides which robot fetches which shelf and in what order. Its action model describes each step with preconditions and effects, the same idea STRIPS introduced for Shakey in 1971. When a robot is blocked, the system detects that the plan has failed and replans, echoing the execution monitoring Shakey pioneered.

The result is a fleet that completes thousands of orders per hour. The hardware is vastly faster, yet the underlying reasoning pattern traces directly back to a wobbling research robot of the late 1960s.