XCON

Also known as: eXpert CONfigurer · R1 expert system

On this page 7

XCON (short for eXpert CONfigurer, originally named R1) was a rule-based expert system that configured customer orders for VAX minicomputers at Digital Equipment Corporation (DEC) from 1980 until the early 1990s. In AI history, it is widely regarded as the first expert system to deliver large, sustained commercial value in daily industrial use.

XCON took a customer order, checked it for missing or incompatible components, and produced a complete physical layout of cabinets, boards, cables and power supplies. Its success helped trigger the expert systems boom of the 1980s, and its later maintenance difficulties illustrated the limits that contributed to the second AI winter.

Why DEC needed an expert configurer

DEC sold VAX systems as highly customizable combinations of processors, memory, disk drives, controllers and peripherals. A single order could involve hundreds of components, and many valid-looking orders could not actually be assembled because of power, cabling, slot or cabinet space constraints.

Before XCON, human technical editors checked orders by hand. Errors were frequent, configurations were inconsistent between plants, and mistakes were often discovered only during final assembly or, worse, at the customer site. The problem was ideal for knowledge engineering: the rules were known to experts, numerous and detailed, but not reducible to a simple algorithm.

PeriodMilestoneSignificance
1978R1 prototype started at Carnegie Mellon UniversityCollaboration between academia and DEC
1980Production use at a DEC manufacturing plantMoved from prototype to daily operation
Early 1980sRenamed XCON and extended to more product linesCoverage grew beyond the VAX-11/780
Mid 1980sSeveral thousand rules and related systems addedBecame part of a family of DEC expert systems
Early 1990sGradually replaced by newer configuration toolsEnd of the classic rule-based era
Development milestones of XCON

How XCON reasoned with production rules

XCON was written in OPS5, a production system language in which knowledge is expressed as if-then rules that match patterns in a working memory. The system used forward chaining: it started from the order data and repeatedly fired rules whose conditions matched, adding new facts until the configuration was complete.

Efficient matching came from the Rete algorithm, which avoids re-testing every rule against every fact on each cycle. XCON also organized its knowledge into subtasks or contexts, such as checking the order, placing components in cabinets and laying out the unibus, so only rules relevant to the current stage competed for execution.

A key design insight was that configuration could be solved mostly by match without backtracking. The domain knowledge was rich enough that the system could usually choose the correct next step directly, which kept run times short and made its behavior easier to trace and explain.

ElementFunctionPractical effect
Working memoryHolds order data and partial configurationRepresents the current state of the task
Production rulesEncode expert configuration knowledgeEach rule captures one small decision
Rete matcherFinds rules whose conditions holdKeeps large rule sets fast
Conflict resolutionChooses which matching rule firesPrefers more specific rules
Component databaseStores attributes of each partSeparates facts about parts from rules
Main architectural elements of XCON

Scale, accuracy and business value

XCON grew from roughly 750 rules in its first version to well over 10,000 rules by the late 1980s, supported by a component database describing tens of thousands of parts. Reported configuration accuracy reached about 95 to 98 percent, far above the earlier manual process.

Published estimates placed DEC’s savings at tens of millions of dollars per year by the mid-1980s, mainly from fewer assembly errors, faster order processing and less field rework. Exact figures vary between accounts, but the order of magnitude is consistent, and it convinced many companies to start their own expert system programs.

XCON also anchored a family of related systems at DEC. One assisted salespeople while an order was being written, others supported manufacturing and scheduling, and together they demonstrated how knowledge-based tools could span a business process rather than a single task.

XCON among landmark expert systems

XCON is often compared with DENDRAL and MYCIN, the other landmark expert systems of the era. The decisive difference is that XCON ran in routine commercial production, while the earlier systems were primarily research achievements.

SystemDomainReasoning styleReal-world deployment
XCONComputer order configurationForward chaining in OPS5Daily industrial use for over a decade
MYCINInfection diagnosis and therapyBackward chaining with certainty factorsNever used routinely on patients
DENDRALChemical structure elucidationHeuristic generate and testUsed mainly by research chemists
XCON compared with other classic expert systems

Configuration suited rule-based methods well because it is a synthesis task with explicit constraints, and its outcomes were easy to verify on the factory floor. Diagnosis tasks such as those of MYCIN involved uncertainty and legal responsibility, which slowed adoption.

Maintenance burden and lessons learned

XCON’s greatest weakness was the cost of keeping its knowledge current. DEC introduced new products and options constantly, and accounts suggest that a large share of the rules, sometimes cited as around 40 percent per year, had to be added or changed annually.

  • Knowledge acquisition bottleneck: every change required experts and knowledge engineers working together.
  • Rule interactions: new rules could silently alter the behavior of existing ones.
  • Brittleness: the system failed abruptly on orders outside its encoded knowledge.
  • Team size: a dedicated group of developers was needed just to maintain the rule base.

These problems led to methodologies such as RIME, which restructured the rule base into explicit problem-solving methods, and to a broader recognition that maintainability and knowledge engineering cost decide whether an expert system survives. Modern product configurators rely more on constraint-based models, which grew partly from these lessons.

In everyday language

XCON was a computer program that assembled computer orders correctly. A customer might ask for a machine with certain memory, disks and printers. XCON checked whether those parts actually fit together. It then worked out where every piece should go.

It worked like a very experienced warehouse expert written down as thousands of small rules. Each rule said what to do in one specific situation. The program saved its company large sums of money. It also showed that keeping such rules up to date is hard work.

Seen in the real world

In the early 1980s, a university orders a VAX system for its physics department. The order lists a processor, extra memory boards, several disk drives and a tape unit. A human editor would need hours to verify every cable and power requirement.

XCON processes the order in a few minutes. It notices that the requested disk drives need an additional controller that was never ordered, adds it, and calculates that the extra boards exceed the power budget of one cabinet. It therefore places them in a second cabinet and lists the cables to connect both.

The assembly plant builds the system from XCON’s diagram without guesswork. The computer arrives complete and working on the first installation, avoiding a costly second visit by a field engineer, which was exactly the kind of saving that made XCON a landmark.