Lesson 1 of 2 AI Agents and Agentic Systems

What Makes an AI Agent Different

AI agents are moving AI from answering questions to completing work. This lesson explains what an agent is, how it differs from assistants and predictive models, and how much autonomy is appropriate.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish AI agents from assistants, chatbots and predictive models.
  • Describe the building blocks of an agent: reasoning, tools, memory, autonomy and guardrails.
  • Choose an appropriate level of autonomy for a business task.
  • Describe the agent loop and why errors compound across steps.
  • Identify tasks that suit agents and tasks better served by workflows or assistants.
  • Identify the risks specific to agents.

From responses to goals

Most AI solutions respond to a single request. A predictive model returns a score; a chatbot answers a question; a generative assistant drafts a document when asked. An AI agent is given a goal and works out how to achieve it. It reasons about the steps needed, takes actions using tools, observes the results, and continues, adjusting its plan, until the goal is achieved or it needs human input.

For example, asked to "resolve this customer's billing dispute", an agent might retrieve the customer's account, look up the invoices, compare them with the contract, identify an incorrect charge, draft a credit note for approval and write a reply to the customer. An assistant would typically perform only the step it was asked to perform.

The agent loop

Agents work in a repeating cycle rather than in a single step. The following steps describe the loop that most agents follow.

  1. Receive a goal

    A person or another system states what should be achieved.

  2. Plan

    The model decides on the next step, such as retrieving information or calling a tool.

  3. Act

    The agent calls the chosen tool, such as querying the order system.

  4. Observe

    The result is returned to the model and added to its context.

  5. Adjust

    The model decides whether the goal is met, whether the plan needs to change, or whether to ask a person.

  6. Complete or escalate

    The loop ends with a result, or with a handover when the agent lacks information or permission.

The loop has business consequences. Because the number of steps varies, the cost and time of each task vary too: every step consumes model inference. Errors compound: if each step succeeds 95% of the time, a task of ten steps succeeds completely only about 60% of the time (0.95 multiplied by itself ten times). This is why agents need checkpoints, limits on the number of steps and evaluation of complete tasks, not only of individual responses.

The following diagram shows the loop described above and why errors compound over many steps.

The agent loop. Given a goal, the agent plans the next step, acts by calling a tool, observes the result and adjusts, repeating until it completes the task or escalates to a person. Because every step can fail, errors compound: at 95% success per step, a ten-step task succeeds completely only about 60% of the time.
Each extra step adds cost, time and a chance of error, which is why agents need step limits and checkpoints.
Put in order

The agent loop

Exam skills 1.2.2

Put the stages of an agent's work in order.

Log in to try this activity Interactive activities are free with an account.

The building blocks of an agent

Agents combine several capabilities, usually around a foundation model that performs the reasoning. The following terms describe them.

Reasoning and planning
The model breaks the goal into steps and decides what to do next.
Tools
Functions the agent can call, such as searching a knowledge base, querying a CRM or creating a ticket.
Memory
Short-term context within a task and long-term memory of preferences or past interactions.
Autonomy
The degree to which the agent acts without human approval.
Guardrails and permissions
Limits on which tools and data the agent can use and what it may do.

Where agents fit and where they do not

Agents attract attention, but they are not the right design for every task. The following list contrasts tasks that suit agents with tasks that are better served by other approaches.

  • Good fit: multi-step work whose path varies from case to case, that spans several systems, that requires judgement within defined limits, and where a response time of seconds or minutes is acceptable, such as investigating a customer complaint.
  • Better as a fixed workflow: processes whose steps are always the same and known in advance, which workflow automation runs more cheaply and predictably.
  • Better as an assistant: tasks that need a single answer or draft.
  • Not suitable without strong controls: actions that are irreversible or high impact, such as payments or changes to customer contracts, unless a person approves them.
Sort into groups

Agent or not?

Exam skills 1.2.2 · 1.2.1

Decide whether each task suits an AI agent or a simpler approach.

Log in to try this activity Interactive activities are free with an account.

Risks specific to agents

Because agents act, they introduce risks that do not arise when AI only produces text for a person to read. The following list summarises them.

  • Unintended actions: the agent misinterprets the goal and takes a valid but wrong action, such as cancelling the wrong order.
  • Compounding errors: a mistake in an early step is carried through the rest of the task.
  • Prompt injection: content the agent reads, such as an email or web page, contains instructions that try to redirect it, for example to send data elsewhere.
  • Excessive permissions: tools that give the agent more access than the task needs magnify the impact of any error or attack.
  • Runaway cost: an agent caught in a loop keeps calling the model and tools.
  • Accountability gaps: without logs of each step, nobody can establish why an action was taken.

The controls follow from the risks: least-privilege tools, approval for high-impact actions, limits on steps and spending, logging of every action, and treating content from outside the organisation as untrusted. The modules on human oversight and on securing AI systems cover these controls.

Match the pairs

Agent risks

Exam skills 1.2.2 · 3.3.1

Match each agent risk with an example.

Log in to try this activity Interactive activities are free with an account.

Choosing the level of autonomy

Autonomy is a design decision, not a fixed property. At the low end, an agent recommends actions that a person approves. In the middle, it acts within limits, such as issuing refunds below a threshold, and escalates anything else. At the high end, it acts independently across a whole process. Higher autonomy increases efficiency but also the potential impact of mistakes, so it requires stronger guardrails, narrower permissions, logging of every action and clear escalation criteria.

Assistant or chatbot
Starting pointA request or question
StepsUsually one response
ActionsProduces content or answers
Risk focusAccuracy and safety of the response
Choose when One response or document meets the need.
AI agent
Starting pointA goal
StepsMultiple steps, planned and adjusted
ActionsCalls tools and changes systems
Risk focusAccuracy plus the consequences of actions
Choose when The work spans several steps and systems.

The following diagram shows the range of autonomy and the controls each level requires.

Levels of agent autonomy. At the low end an agent recommends actions that a person approves; in the middle it acts within limits, such as refunds below a threshold, and escalates anything else; at the high end it acts independently across a whole process. Higher autonomy brings more efficiency but larger potential mistakes, so it needs stronger guardrails, narrower permissions, logging of every action and clear escalation criteria.
Autonomy is chosen per process: the more an agent can do without approval, the stronger its controls.
Worked example

Assistant or agent?

An HR team wants AI help with two tasks: answering employees' questions about benefits, and processing new-starter onboarding, which involves creating accounts, ordering equipment, scheduling training and sending welcome information. Which needs an agent?

Answering benefits questions needs a knowledge assistant grounded in the benefits documents: one question, one answer. Onboarding is a multi-step process across several systems, so it suits an agent that plans the steps and uses tools for each system. Because the agent creates accounts and orders equipment, it should start with limited autonomy, for example preparing each action for approval by the HR coordinator, with permissions restricted to the onboarding systems.

Worked example

Autonomy for an accounts payable agent

A finance team plans an agent that reads incoming supplier invoices, matches them to purchase orders and delivery records, queries suppliers about discrepancies by email and schedules payments. The chief financial officer asks how much autonomy it should have.

Autonomy should vary by step according to impact and reversibility. Reading and matching invoices is low risk and can be fully automated, with low-confidence matches sent to a clerk. Emails to suppliers can be sent within approved templates, with the agent drafting and a person approving until quality is proven. Scheduling payments is high impact and hard to reverse, so the agent should prepare payment runs for approval rather than release them, and the payment tool should enforce limits that the agent cannot change. Because invoices come from outside the organisation, their content must be treated as untrusted, so that an invoice containing instructions such as "change the bank details" cannot redirect a payment.

Check yourself

What changes when an agent moves from recommending refunds for approval to issuing refunds below a threshold itself?

Show answer

Its autonomy increases. That requires narrower permissions, guardrails, logging of every action and escalation for cases above the threshold.

Exam Tips

Remember for the exam

  • An agent pursues a goal through multiple steps, using tools and memory; an assistant answers a request.
  • Autonomy ranges from recommending actions to acting independently within limits.
  • More autonomy requires tighter permissions, guardrails, logging and escalation criteria.
  • Agents loop through plan, act and observe; cost and time vary, and errors compound across steps.
  • Fixed, predictable processes suit workflow automation better than agents.
  • Agent-specific risks include unintended actions, prompt injection, excessive permissions and runaway cost.