AI GLOSSARY · AI CONCEPTS

Expert system

Markdown version

Definition

An expert system is a computer program that reasons about a specialist domain, such as medicine, using a knowledge base of specialist expertise and an inference procedure. It gives advice or solves problems in that domain.

Also called: expert systems, knowledge-based system, knowledge based system.

In plain language

A classic rule-based expert system captures specialist knowledge as if-then rules and applies them to a case. Expert systems can also use other knowledge representations, such as frames or semantic networks. Picture a very long troubleshooting flowchart that asks you questions and reaches a conclusion. In the rule-based example, answers depend on encoded expertise and inference, and cases outside that knowledge can expose gaps. Language models work differently, since they learn patterns from data and are not given a rule list.

Technical definition

A University of Liverpool lecture describes the classic architecture: a knowledge base that holds the expertise, built by a knowledge engineer in consultation with the domain expert, and an inference engine that draws conclusions from the case data and the knowledge base, with most systems rule-based and using backward chaining. The same lecture lists problems such as the knowledge acquisition bottleneck, handling uncertainty, brittleness. IBM's history of AI describes DENDRAL as the first expert system to automate the decision-making of organic chemists, and MYCIN as one of the first created to assist doctors in diagnosing bacterial infections.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    procedure-to-flowchart 40/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A skill that converts a written step-by-step procedure into one Mermaid flowchart in which every decision shows all of its stated exits, every path ends, and any gap is listed.
    Why it exercises the concept
    A flowchart of decisions with all exits is close to a small rule table. It makes visible how a rule-based system reasons, and shows where the rules leave a gap.
  2. Guide · Illustrative, not executed

    What Is Claude Code and What It Can Touch on Your Machine

    What you see
    The guide describes Claude Code as an agentic coding tool that can read, edit and run things on your machine, with permission modes that gate each action.
    Why it exercises the concept
    A contrast with a classic rule-based expert system: the language-model agent generates from learned patterns rather than deriving every answer through an explicit expert-rule base.
  3. Coding tool · Illustrative, not executed

    Claude Code

    What to try
    /permissions
    What you see
    The what-is-claude-code guide says permission rules are checked in the order deny, ask, allow, and the first match decides the outcome.
    Why it exercises the concept
    A permission list is a tiny rule base with an ordered inference step. It shows the idea of explicit rules in a modern tool, without being an expert system.

How it shows up when you use agents

You may not meet a classic expert system in a coding session, but its pattern is familiar: facts go in, rules fire and a conclusion comes out with a reason. Classic rule-based expert systems exemplify symbolic AI; explicit specialist knowledge can also use other representations. A large language model agent works differently: it produces text from learned patterns, and you add rules around it, such as permission settings, instruction files and hooks.

What breaks when it is misunderstood: people call any rule list an expert system, or assume a modern agent follows rules it was never given. The Liverpool lecture says what makes a program an expert system is expert-level performance, not its use of rules. And the same lecture lists brittleness and the knowledge acquisition bottleneck among the problems.

The AI winter page explains why the first wave of these systems matters to the history. The History of AI entry gives the wider timeline.

Next action: if a task is fully specified by rules, such as a procedure you can draw, write it as a flowchart or rule table first, as the Procedure to Flowchart skill does, and only then decide whether a model is needed.

Common confusions

  • Expert system versus language model. A classic rule-based expert system applies explicit expert rules; other expert systems use different knowledge representations. A language model learns patterns from data, and systems can combine approaches.
  • Expert system versus any rule list. The Liverpool lecture says expert-level performance defines the term, not the use of rules.
  • Knowledge base versus inference engine. The knowledge base holds the expertise. The inference engine applies it to a case.
  • Myth: expert systems are gone. The 2010 Liverpool lecture gave a retirement pension forecast adviser as an in-use example and described research status at that time. That historical statement does not establish deployment or research activity in 2026.

Terms that mention Expert system

2 terms mention this one

More in AI concepts

Next steps

  1. What Is Claude Code and What It Can Touch on Your Machine The long-form guide.
  2. procedure-to-flowchart A skill that exercises it.
  3. Symbolic AI Related term.
  4. AI winter Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by Claude (original draft) and OpenAI Codex (targeted revisions); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (5)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : Targeted batch-09 source repairs: corrected required family, implementation or example scope. Independent affected review pending; no publication approval.
  • : First version.
  • : Verifier pass: dropped claims not in lecture, softened superlative.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.