liveBook · Manning

Rule-based system

As explained in Building Reliable AI Systems

A system that makes decisions by applying predefined logic or rules to inputs.

A rule-based system selects actions by applying predefined logic to inputs. In an AI agent, rules can route queries mentioning “flight” or “hotel” to the corresponding booking API. section 6.2.5

Rules are simple and transparent, but rigid: a request for a pet-friendly hotel may fail unless that constraint is explicitly programmed. Unlike AI-driven reasoning, this approach does not adapt dynamically to ambiguity or unexpected requests. section 6.2.5

How Building Reliable AI Systems covers it

How deep it goes
Defines rule-based decisions and contrasts their rigidity with AI-driven reasoning, without detailing implementation.
Examples
Uses flight and hotel query terms to illustrate API routing, and a pet-friendly hotel request to show a limitation.
What you can do after
Evaluate how predefined routing rules handle requests and where explicit programming may fail.
How it connects
Connects rule-based systems with AI agents, APIs, and AI-driven reasoning.

Also explained in

Compare how 6 books explain rule-based system →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Reliable AI Systems. The section links point to the parts of the book it draws on.