Rules, AI, and agents
AIB-C01 · Lesson 3 of 26 · 17:35
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Lesson 3 of the free AWS Certified AI Business Strategist series (AIB-C01 beta exam, domain 1, AI fundamentals and literacy). In this lesson: rule-based automation, when AI fits better, what makes an AI agent, core capabilities of agents, orchestration strategies, and choosing the right solution. With three quick checks and a recap, and AnyCompany Foods, a fictional maker of soups, sauces, and snacks, as the running example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Automate what, and how?
AnyCompany Foods receives thousands of orders a day, and the operations team wants to automate more of the work around them. Some steps are simple, like sending back an order with no delivery address, and others need judgment, like deciding which customer complaint is urgent. Meanwhile, a vendor offers an AI agent that could handle claims for damaged deliveries from start to finish.
Rule-based automation
Rule-based automation follows explicit logic that people write, in the form: if this happens, then do that. It is predictable, cheap to run, easy to explain, and easy to audit. It fits stable processes with clear rules, few exceptions, and a need for the same answer every time. Its weakness is variety: when inputs are messy, or the rules keep multiplying, they become hard to maintain.
When AI fits better
AI fits when a task needs patterns that are hard to write as rules, such as understanding free text, recognizing images, or predicting demand. It also fits when inputs vary a lot, and when rules would need constant changes. But AI is probabilistic: it can be wrong in ways that rules are not, so it needs testing, monitoring, and often a human check. Many good solutions combine both: rules for the clear cases, and AI for the cases that need judgment.
What makes an AI agent
An AI agent is a system that pursues a goal with some autonomy: it plans steps, takes actions, and adjusts based on the results. A chatbot answers a question, while an agent can complete a task, such as checking an order, contacting the carrier, and issuing a credit. Agents use a foundation model to reason, and tools to act, such as programming interfaces, databases, or other applications. That autonomy is the value of an agent, and also its main risk, so its permissions must be limited.
Core capabilities of agents
The exam guide names four core capabilities. Autonomy: the agent decides the next step itself, within limits that people set. Tool use: the agent calls functions or services, to look up data or to take actions. Agent to agent communication: agents from different teams or vendors exchange tasks and results, through protocols such as A2A. And orchestration strategies decide how several agents work together.
Orchestration strategies
When one agent is not enough, several agents can share the work. In a supervisor pattern, a lead agent breaks the task down, hands parts to specialist agents, and combines their results. In a sequential pattern, each agent does one step and passes its output to the next, like an assembly line. Some steps are better handled by a fixed workflow, and the more agents and autonomy you add, the more you need logging, limits, and human approval for risky actions.
Choosing the right solution
So the choice works like a ladder: rules for clear and stable logic, machine learning for predictions from data, generative AI for language and content, and agents for tasks that need several steps and actions. Each step up the ladder adds flexibility, but also cost, unpredictability, and risk. The best answer is the simplest one that solves the business problem. And whatever you choose, someone must own the result.
Recap
Let's recap. Rule-based automation is predictable, cheap, and easy to audit, for stable logic. AI fits patterns that are hard to write as rules, but it is probabilistic, so it needs testing and monitoring. An agent pursues a goal with autonomy, using a model to reason and tools to act. Its core capabilities are autonomy, tool use, agent to agent communication, and orchestration. And the best answer is the simplest one that solves the problem.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
A regulation sets a fixed fee for every pallet above a given weight, and auditors must verify every charge. What should AnyCompany choose?
- A generative AI model that writes each fee
- A model that learns the fee from past charges
- An AI agent that decides each fee
- Rule-based automation
Show the answer
Rule-based automation
A fixed, stable rule that must be applied the same way every time and audited fits rule-based automation. “A generative AI model that writes each fee” is wrong, because a generative model could produce different fees, and it is harder to audit. “A model that learns the fee from past charges” is wrong, since learning the fee from past charges adds errors to a rule that is already known. And “An AI agent that decides each fee” is wrong, because an agent adds autonomy and risk to a task that needs none.
The first tool answers questions about delivery claims; the second checks the order, contacts the carrier, and issues a credit on its own. What makes the second tool an agent?
- It plans steps and uses tools to act toward a goal
- It runs on a larger foundation model
- It follows fixed rules only
- It answers in more languages
Show the answer
It plans steps and uses tools to act toward a goal
An agent plans steps and uses tools to act toward a goal, with some autonomy. “It runs on a larger foundation model” is wrong, since the size of the model does not make a system an agent. “It follows fixed rules only” is wrong, because fixed rules cannot plan and adapt the way this tool does. And “It answers in more languages” is wrong, since answering in more languages is still answering, not acting.
For each delivery claim, a lead agent assigns the order check, the carrier contact, and the credit decision to three specialist agents, then combines their results. Which orchestration strategy is this?
- A sequential pattern
- Rule-based automation
- A supervisor pattern
- Fine-tuning
Show the answer
A supervisor pattern
A lead agent that splits the work among specialists and combines their results is a supervisor pattern. “A sequential pattern” is wrong, because in a sequential pattern each agent passes its output to the next, with no lead assigning the work. “Rule-based automation” is wrong, since rule-based automation follows fixed rules, without agents. And “Fine-tuning” is wrong, because fine-tuning adapts a model, and it does not organize several agents.