---
title: Expert Systems: AI Built From If-Then Rules | Large Programs
description: Before neural networks took over, expert systems used if-then rules to copy the decisions of human experts. How they worked and where they began.
canonical: https://www.largeprograms.com/expert-systems-the-rule-based-ai-of-the-1980s/
---

[Home](/) / [History of AI](/category/history-of-ai/)

History of AI

# Expert Systems: AI Built From If-Then Rules

Before neural networks took over, expert systems used if-then rules to copy the decisions of human experts. How they worked and where they began.

27 November 2026 · 1 min read

An **expert system** is a computer system that copies the decision-making of a human expert. The source says expert systems solve complex problems by reasoning through a body of knowledge, written mainly as **if-then rules**, rather than as ordinary program code.

![Facts go into an if-then rule and an answer comes out.](/img/expert-system.svg)

## An example of a rule

A made-up rule, not from the source: IF the pet has feathers AND lays eggs THEN it is probably a bird. An expert system holds many rules like this, written with the help of people who know the subject.

## How it began

In the late 1950s researchers began to experiment with computers that copied human decision-making. Early medical systems took symptoms and lab results as input and gave a diagnosis. The source says expert systems were formally introduced around 1965 by the Stanford Heuristic Programming Project, led by Edward Feigenbaum. Their work focused on areas where expertise was valuable and complex, such as diagnosing infectious diseases (Mycin) and identifying unknown organic molecules (Dendral). Other medical systems were Internist-I and, in the mid-1980s, CADUCEUS.

## A successful kind of AI

The source says expert systems were among the first truly successful forms of AI software. They were created in the 1970s, spread in the 1980s, and were then widely regarded as the future of AI, before successful artificial neural networks arrived.

## How it differs from an LLM

An expert system follows rules that people wrote. A large language model learns patterns from huge amounts of text. See [what is a large language model](/what-is-a-large-language-model/), and the [ELIZA program](/eliza-the-first-chatbot/), another rule-following early program. The story of AI's ups and downs is in [AI winters explained](/ai-winters-explained/).

## Sources

- [https://en.wikipedia.org/wiki/Expert_system](https://en.wikipedia.org/wiki/Expert_system)

[Read this page as Markdown (.md)](/expert-systems-the-rule-based-ai-of-the-1980s.md)

## Keep reading

[![](/img/hero/art-ada-lovelace-and-the-first-program.svg)](/ada-lovelace-and-the-first-program/)

History of AI

### [Ada Lovelace: The First Computer Programmer?](/ada-lovelace-and-the-first-program/)

In the 1840s Ada Lovelace described how a machine could follow instructions and even speculated about music.

[![](/img/hero/art-ai-winters-explained.svg)](/ai-winters-explained/)

History of AI

### [What Were the AI Winters?](/ai-winters-explained/)

AI had periods of hype followed by disappointment and lower funding. Learn why they happened.

[![](/img/hero/art-alan-turing-and-the-imitation-game.svg)](/alan-turing-and-the-imitation-game/)

History of AI

### [Alan Turing and the Imitation Game](/alan-turing-and-the-imitation-game/)

In 1950 Alan Turing asked, "Can machines think?" and suggested a test. Here is the story for young readers.
