Level 3 · Module 18 · 10 minutes
What makes an AI system an agent
- Name the parts of an agent: a goal, a model, tools, a loop and a stop rule.
- Describe one turn of the agent loop.
- Explain the difference between an assistant that answers and an agent that acts.
An agent is an AI system that works toward a goal over several steps. A chat assistant answers one message and waits. An agent can look at the current situation, decide on a step, use a tool, check the result, and decide what to do next. The repeating cycle is called the agent loop.
The agent loop
- Observe: read the goal and the current state.
- Plan: choose the next small step.
- Act: call a tool or produce an output.
- Check: compare the result with what was expected.
- Repeat: continue, replan, ask for help, or stop.
A stop rule ends the loop. The agent should stop when the goal is met, when a step fails too many times, when a time or cost limit is reached, when it reaches an action that needs approval, or when the situation is unclear. Without a stop rule, an agent can loop, overspend or keep pushing on a wrong plan.
What an agent needs
A clear goal, a model that makes decisions, tools that let it act, and checks that keep it safe. The goal should describe the result, not only the activity. "Tidy the inbox" is vague. "Label new support messages and draft a reply for each one, but send nothing" is far clearer.
A small example
Imagine an agent that helps with supplier emails. It reads a new message, identifies the order, checks the delivery record, drafts an answer, and marks anything about money for a person to approve. The agent does not send the draft. Each step has a tool, an expected result and a limit.
Autonomy is a choice, not a label
Autonomy sits on a scale. At one end the system only suggests. Next it acts but asks before each change. Then it acts within agreed limits and reports afterwards. At the far end it acts without review. A useful default for business work is to act within limits and report afterwards. The right point depends on what the actions can cost and whether they can be undone.
Practice versus a live agent
The lesson exercise maps an agent loop on paper. It is an educational simulation of how an agent is designed. No agent runs, no tools are connected, and no real goal is pursued.
Common misconception
Any chatbot with memory or a tool is an autonomous agent. Memory and tools make an assistant more useful, but the agent idea is about working through a goal in a loop with checks and a stop rule. Autonomy is a design choice about what the system may do without asking, not a label that comes with a feature.
Guided practice
Choose a routine task such as handling room bookings. Write the goal as a result, list the tools the agent would need and mark each as read-only or changing. Write a five-step loop and at least two stop rules, including one approval point. Then mark the step where a wrong result should pause the agent. This is a paper design; no agent is built.
Knowledge check
Independent practice
Write a short example from your own work or daily life and decide whether it is AI, ordinary software or a mixture. Then explain why. Save it in your notes; no account is required.
Last reviewed: · Report a problem