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





