# Expert System

> A program built from an expert's rules. It asks you questions and gives advice.

**Field:** Artificial Intelligence  
**Category:** Foundations  
**Also known as:** Knowledge-Based System

## Think of it like

Think of it like a big book of tips from a doctor. The computer reads it for you.

## Definition

An expert system is a rule-based program that copies how a human expert decides things. People ask experts how they work. Then they write it down as hundreds of if-then rules. The program asks questions, checks the answers against its rules and gives advice. Expert systems were the big AI idea of the 1980s. They worked well in small fields, like finding germs or setting up computers.

## Example

A 1980s expert system asks a doctor about a patient's fever and blood tests. Its rules then suggest which germ is most likely.

## Why it matters

They showed both the power and the limit of rules. Their failures helped push AI toward learning from data.

## Common mistake

Thinking an expert system knows more than its rules. Ask it something outside them and it has no good answer.

## Three principles

- **Expert know-how.** Written down as rules.
- **Asks and advises.** Questions in, advice out.
- **Narrow field.** Lost outside its rules.

## Related terms

- [Rule-Based System](https://learn.benibix.com/term/ai/rule-based-system)
- [Symbolic AI](https://learn.benibix.com/term/ai/symbolic-ai)
- [AI Winter](https://learn.benibix.com/term/ai/ai-winter)
- [Knowledge Graph](https://learn.benibix.com/term/ai/knowledge-graph)

## Taught in

- [Rule-Based and Expert Systems](https://learn.benibix.com/learn/ai-foundations/rule-based-and-expert-systems): AI Basics, 3/10

![Two lanes. In the top lane a person writes if-then rules and a program follows them. In the bottom lane a pile of examples goes into training and comes out as a model.](https://learn.benibix.com/diagrams/ai-rules-vs-learning.svg)

---

Source: https://learn.benibix.com/term/ai/expert-system
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
