# Symbolic AI

> Canonical: https://skillalmanac.com/glossary/symbolic-ai | Last verified: 2026-11-25 | Index status: index-eligible

Symbolic AI represents knowledge explicitly as symbols, facts or rules and reasons over those representations. It can use human-supplied or learned knowledge and can be combined with neural learning.

Also called: GOFAI, good old-fashioned AI, symbolic reasoning, symbolic artificial intelligence, logic-based AI.

## In plain language

Symbolic AI represents what is known as explicit facts and rules, then works out conclusions from them. A hand-written rule system is one example: a flowchart can show which condition led to an answer. Building and maintaining useful knowledge can be difficult, and rules may miss unfamiliar situations. However, symbolic knowledge need not all be written by hand, and symbolic reasoning can be combined with learning from data. Today's language models use learned neural patterns; hybrid systems can also include explicit symbolic reasoning.

## Technical definition

Symbolic (logic-based) AI represents knowledge declaratively, as logical formulae or rules held in a component separate from the program that reasons over it. The Stanford Encyclopedia of Philosophy notes that this separation makes systems easier to build, modify and explain. An inference procedure derives new conclusions from the stored facts. Because classical logic cannot retract a conclusion when new information arrives, the field developed nonmonotonic formalisms such as default logic. The Stanford entry on artificial intelligence contrasts this tradition with connectionism, which approximates intelligence with artificial neural networks, and says systems increasingly combine both. IBM Research describes neuro-symbolic AI as combining statistical AI such as machine learning with symbolic knowledge and reasoning.

## How it shows up when you use agents

You will seldom meet symbolic AI by name. Explicit-rule utilities around a coding agent provide a limited analogy. A linter, a type checker, a schema validator and a permission rule all work from explicit rules written by people. They give the same verdict on the same input, and you can point to the rule that fired. A language model, which is a [neural network](/glossary/neural-network), works the other way: it answers from patterns learned from data and cannot always show a rule behind an answer.

Agent setups can put learned generation and deterministic checks side by side; this alone does not establish a symbolic AI or neuro-symbolic architecture. The model proposes a change and a rule-based tool checks it. That is why a validator in a skill such as [commit-message-linter](/skills/skill-almanac/commit-message-linter) is useful: it does not drift between runs.

What breaks when this is misunderstood: people expect a rule checker to catch problems nobody wrote a rule for, or expect a model to follow a rule exactly because the prompt states it. Decide which parts of a task need exact, repeatable rules and put those in a tool, and leave judgement and language to the model. Earlier rule-based products are covered under [expert systems](/glossary/expert-system).

## Common confusions

- **Symbolic AI versus machine learning.** Symbolic systems reason over explicit representations; these can be supplied by people or learned. Machine learning builds behavior from data. The Stanford entry describes the two as rival approaches that are increasingly combined.
- **Symbolic AI versus expert systems.** An expert system is one kind of symbolic system, built from the knowledge of human experts. See [Expert system](/glossary/expert-system).
- **Symbolic AI versus neuro-symbolic AI.** Neuro-symbolic AI is a different, combined approach. According to IBM Research, it joins machine learning with symbolic knowledge and reasoning.
- **Old versus wrong.** Rule-based methods are older than today's chat models, but a fixed rule check is a sound tool when you need the same answer each time.

## Worked examples in this catalogue

### [expense-categorizer-rules](https://skillalmanac.com/skills/skill-almanac/expense-categorizer-rules)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A bank transactions CSV sorted into categories by ordered keyword rules, where the first matching rule wins, with totals per category and a list of the rows no rule matched.

Why it exercises the concept: A simplified rule-processing analogy: visible keyword rules produce categories and unmatched rows expose coverage gaps. This deterministic utility is not by itself evidence of an AI reasoning system.

### [commit-message-linter](https://skillalmanac.com/skills/skill-almanac/commit-message-linter)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Commit messages saved in a text file are checked against Conventional Commits rules, and each failure is reported as JSON and as a table.

Why it exercises the concept: A simplified explicit-rule analogy: format checks have visible conditions, whereas a language model can make a learned judgment. Calling every linter an AI system would overstate this example.

### [config-file-validator](https://skillalmanac.com/skills/skill-almanac/config-file-validator)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: One JSON, TOML, INI or .env config file is checked for syntax, types, keys, ports, placeholders and secrets, with the problems listed.

Why it exercises the concept: The inspected validator applies explicit checks. Pairing such a utility with a model illustrates tool-assisted checking, without establishing a neuro-symbolic reasoning architecture.

## Related terms

- [Expert system](https://skillalmanac.com/glossary/expert-system.md)
- [Neural network](https://skillalmanac.com/glossary/neural-network.md)
- [Artificial intelligence (AI)](https://skillalmanac.com/glossary/artificial-intelligence.md)
- [History of AI](https://skillalmanac.com/glossary/history-of-ai.md)
- [Knowledge graph](https://skillalmanac.com/glossary/knowledge-graph.md)
- [Machine learning (ML)](https://skillalmanac.com/glossary/machine-learning.md)

## Sources

- [Logic-Based Artificial Intelligence](https://plato.stanford.edu/entries/logic-ai/), Stanford Encyclopedia of Philosophy (accessed 2026-11-24)
- [Artificial Intelligence](https://plato.stanford.edu/entries/artificial-intelligence/), Stanford Encyclopedia of Philosophy (accessed 2026-11-24)
- [Neuro-symbolic AI](https://research.ibm.com/topics/neuro-symbolic-ai), IBM Research (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
