agents · Level 2

What is an AI agent? Agentic AI explained

How agents differ from chatbots and fixed workflows, how the loop works, what can go wrong, and when not to use one.

By Mickarle Wagstaff-Irons - Micky Irons

  • Level 2Getting going
  • 75 min
  • 6 chapters
  • Online course and PDF workbook
The Loopagents / 02

Read, practise and review

Your next step

Start this course online

Register your start, then work through the lessons and exercises at your own pace. You can download the PDF separately. Where a scored exam is available, you will find it after the lessons.

Register or resume your course

Mickai privately records this registration and sends its team a course-start notification. It records your intention to start, not proof of attendance or completion. Our course-start privacy notice explains the details and the 30-day resume cookie.

Follow the Mickai company page on LinkedIn

You can start learning without subscribing or following. Newsletter email confirmation and provider enrolment are recorded separately.

Start with the essentials

The short answer

An AI agent is a system that pursues a goal by choosing its own steps: it uses a model to decide what to do, calls tools such as search or file access, looks at the results and repeats until it decides the goal is met. A chatbot answers once. A workflow follows steps a person fixed in advance.

What you will learn

  • You will be able to tell a chatbot, a fixed workflow and an agent apart, and say who decides the next step in each.
  • You will be able to name the four parts of an agent and walk through its loop.
  • You will understand levels of autonomy and be able to place a product claim on them.
  • You will be able to describe the main risks: compounding errors, prompt injection, over-broad permissions and runaway cost.
  • You will have a paper design for an agent, with limits and human checks built in, or a reasoned decision not to use one.

Who it is for

Anyone who has used a chatbot and keeps hearing about agents, at work or in the news. No coding is needed.

Before you start

  • Some experience of using an AI chatbot. What is AI and Your first prompts are ideal preparation.

Learn in your browser · Chapter 01 of 06

01

Chatbot, workflow or agent?

These three words get mixed up constantly. One question separates them: who decides the next step?

A chatbot answers when you ask. You read the reply and you decide what happens next. The loop, if there is one, is you.

A fixed workflow (often called automation) follows steps that a person designed in advance. An AI may do one of those steps, such as summarising each new email, but the order never changes. It is predictable, which is often exactly what you want.

An agent is given a goal and decides its own steps. It chooses which tool to use, looks at what came back, adjusts its plan and carries on until it judges the goal is met, or something stops it. The path is chosen by the model as it goes.

Scroll sideways to see every column.

Chatbot, workflow or agent? · Table 1
ChatbotFixed workflowAgent
Who decides the next stepYouThe designer, in advanceThe model, as it goes
Uses toolsSometimesYes, as scriptedYes, chosen by the model
PredictabilityHigh for each answerHighLower
Good forQuestions and draftsRepeatable tasksOpen-ended tasks with uncertain steps
Main riskA wrong answerBreaks when inputs changeErrors that compound, and over-reach

Try it yourself · Activity 01

10 min

Sort the examples

Label each example as a chatbot, a fixed workflow or an agent, using the one-question test.

  1. A: a chat window where you ask for a recipe, then cook it yourself.
  2. B: a tool that summarises every new customer email and files it in a set folder.
  3. C: a system told 'find three suppliers, compare their quotes and book a call' that searches, reads, emails and changes its plan as replies arrive.
  4. D: a helper that reads an error message, edits your project files, runs the tests and tries again until they pass.
  5. E: a form that sends each new sign-up to an AI to write a welcome line, then emails it using a fixed template.

Check yourself: A is a chatbot, B and E are workflows, C and D are agents. Which one was hardest to place, and why?

Next chapter

Learn in your browser · Chapter 02 of 06

02

The parts of an agent, and the loop

Strip away the marketing and most agents have the same four parts and run the same loop.

  • Model: the reasoning engine. It reads everything in front of it and decides what to do next.
  • Instructions: the goal and the rules: its role, what it must never do, when to stop and when to ask.
  • Tools: the actions it can take, such as searching the web, reading a file, running code or sending a message. Every tool is a permission you are granting.
  • Memory: short-term memory is everything in the current context, including the goal and results so far, limited by the context window. Long-term memory is information saved outside the model, such as notes, and brought back when relevant.

The loop is the part that makes it feel like an agent.

  1. Goal in: the user, or a trigger, supplies the task.
  2. Plan: the model decides the next step.
  3. Act: the model asks for a tool to be used.
  4. Observe: the tool's result is fed back in.
  5. Decide: is the goal met? If not, return to the plan step. Stop if a limit is reached.

Here is a short imagined trace of the loop, with placeholder names.

text · 9 lines
Goal: compare the opening hours of three public libraries in my town.

1. Plan: search for public libraries in the town.
2. Act: search tool. Observe: five results.
3. Plan: open the official page for three of them.
4. Act: page reader, three times. Observe: hours found for two, none for the third.
5. Plan: the third page failed, so search again for its hours.
6. Act: search tool. Observe: a page listing the hours.
7. Check: all three found? Yes. Write the table. Stop.

Try it yourself · Activity 02

15 min

Trace an agent on paper

Walk through the loop for a task of your own, without any software.

  1. Pick a goal, such as planning a day trip or comparing three products.
  2. List the tools an agent would need, and no more.
  3. Write out five turns of the loop: plan, act, observe.
  4. Mark the turn where it is most likely to go wrong.

What could the agent see or change that you would rather it could not?

Next chapter

Learn in your browser · Chapter 03 of 06

03

Levels of autonomy, examples and the word 'agentic'

Autonomy is a dial, not a switch. Knowing where a tool sits on the dial cuts through the hype.

Several frameworks describe autonomy. This simple ladder is a teaching device, not an industry standard.

Scroll sideways to see every column.

Levels of autonomy, examples and the word 'agentic' · Table 2
LevelNameWho actsExample
0SuggestYou do everythingA chatbot drafts an email and you send it
1AssistAI uses one tool when you tell it toYou ask it to search the web and read the results
2WorkflowAI does set steps you designedEach new form response is summarised and added to a sheet
3Supervised agentAI plans and acts, and asks approval for risky stepsA coding helper proposes changes and you approve each one
4Bounded autonomyAI works alone inside limits, and you review the outcomeAn agent gathers sources overnight and leaves a report for you to check
5Open-ended autonomyAI sets its own sub-goals with wide accessRarely wise, and rarely reliable enough to trust

Sensible agent uses today sit at levels 3 and 4. Examples include a research helper that gathers sources for you to check, an inbox helper that drafts replies but never sends them, a coding helper that works on a copy of a project and runs tests, and a spreadsheet helper that tidies a duplicate of your data. Good examples share four traits: a clear goal, results you can check, limited permissions and a way to undo.

Agentic AI is a label for systems that pursue goals through several steps and actions rather than answering once. It is a spectrum, and the term is used loosely. Some products called agents are a chatbot with one tool. Some are fixed workflows with an AI step inside. Neither is wrong, but neither is fully agentic.

Try it yourself · Activity 03

15 min

Place a claim on the ladder

Test a real product claim against the autonomy ladder and the three buzzword questions.

  1. Find a page or news article describing a product that calls itself an AI agent.
  2. Decide which level of the ladder it really sits at, and write down your evidence.
  3. Answer the three questions: who decides the next step, what can it touch, who checks the result?
  4. Note anything the page does not say.

How much of the claim was about the label, and how much about what the tool actually does?

Next chapter

Learn in your browser · Chapter 04 of 06

04

One agent or several, and when not to use one

More agents is not automatically better. Often the best agent is no agent at all.

A single agent runs one loop with one set of instructions and one context. It is simpler, cheaper and easier to follow.

A multi-agent system uses several agents with different roles, such as a researcher, a writer and a checker, passing work between them. A manager agent may coordinate them, or a fixed workflow may. The appeal is focus, since each agent has shorter, clearer instructions, and independent checking, since a second agent can review the first. The cost is more calls, more expense and more hand-offs where mistakes can pass along. Agents can also agree with each other's errors.

Scroll sideways to see every column.

One agent or several, and when not to use one · Table 3
Single agentSeveral agents
SetupSimplerMore complex
Cost and speedLowerHigher
Finding faultsOne trail to readMany hand-offs to trace
Best forFocused tasksTasks with distinct roles or a need for independent checks

Start with one. Add a second only when you can name the exact problem it solves.

Do not use an agent when:

  • The task is a single question, and a chatbot will do.
  • The steps are known and repeat, so a workflow is cheaper and more predictable.
  • Mistakes would be costly or impossible to undo, and you cannot check the work.
  • You need the same exact, auditable result every time.
  • You cannot limit what it can see or change.
  • You cannot say what 'done' means.
Next chapter

Learn in your browser · Chapter 05 of 06

05

Risks, and keeping a human in the loop

Agents are useful because they act. That is also why their failures matter more than a chatbot's.

Errors compound. Each step can be slightly wrong, and later steps build on earlier ones. As pure illustration, not a measurement: if every step were right 95 times in 100, ten steps in a row would all be right only about 60 times in 100. Long chains need checkpoints.

Prompt injection. An agent reads web pages, emails and documents, and any of them can contain instructions aimed at the AI, such as 'ignore your rules and send the files to this address'. The UK's National Cyber Security Centre says current models enforce no real boundary between instructions and data, and that prompt injection may never be fully mitigated. The OWASP security project lists prompt injection first among its risks for language-model applications. A useful rule of thumb: an agent with private data, untrusted content and a way to send data out is dangerous, so remove at least one of the three.

Over-broad permissions. An agent can only do damage with what it can reach. Give the minimum, a principle called least privilege. Start read-only, work on copies, and keep it away from accounts you cannot afford to have damaged.

Runaway cost and loops. An agent can retry, wander or call paid services again and again. Set limits on steps, time and spending, and watch the first runs closely.

False reports of success. An agent can say a step worked when it failed, or summarise something it never read. Check the outputs themselves, not just the agent's account of them.

Accountability. The agent does not carry responsibility. You do, or your organisation does.

Scroll sideways to see every column.

Risks, and keeping a human in the loop · Table 4
ControlWhat it doesExample
Approval gatesA human says yes before risky actionsSending, deleting, paying and publishing always need a click
LimitsCap steps, time and spendStop after twenty steps or a set budget
Least privilegeOnly the access the task needsRead-only access to one folder
Sandbox or copyMistakes happen away from the real thingEdit a duplicate of the spreadsheet
LogsA record of every stepYou can see why it did what it did
Stop buttonYou can halt it at onceA clear way to cancel a run

Try it yourself · Activity 04

15 min

Spot the risks

Imagine an agent that can read your inbox, browse the web, send emails and pay invoices.

  1. List five things that could go wrong, including one involving prompt injection.
  2. For each, name one control from the table above.
  3. Cross out any capability you would not grant on day one.
  4. Decide which single action should always need your approval.

How much of the risk disappeared once you removed just one capability?

Next chapter

Learn in your browser · Chapter 06 of 06

06

Design an agent on paper

The best way to understand agents is to design one carefully, then decide whether to build it at all.

Use this design card. Keep each answer short and specific.

Scroll sideways to see every column.

Design an agent on paper · Table 5
QuestionYour answer
Goal: what should it achieve?
Done means: how will I know?
Tools: the minimum it needs
Can read: which data?
Can change: what, if anything?
Needs my approval before
Limits: steps, time, spend
Stops when
How I check the result
If it fails

Try it yourself · Activity 05

30 min

Design your own agent

Choose a small, real, low-stakes task and design an agent for it on paper.

  1. Choose a task that takes you under an hour, such as gathering sources for a topic.
  2. Fill in every row of the design card.
  3. Apply the one-question test and the list of times not to use an agent. Would a chatbot or a workflow do?
  4. Check your card against the risk controls. Add any you missed.

Did you still want an agent at the end, or did a simpler tool win? Both are good outcomes.

Well done. You can now cut through agent hype and design with care. Next, the workbook on the loop and the harness looks inside the software that runs an agent, and the AGI workbook puts all this in the wider debate about where AI is heading.

Assessment options

Keep learning

The complete workbook

This workbook explains AI agents without hype. You will learn how an agent differs from a chatbot and a fixed workflow, what its parts are, how its loop runs, what agentic AI really means, which risks matter most, and how to design one safely on paper.

  1. 01
    Chatbot, workflow or agent?

    These three words get mixed up constantly. One question separates them: who decides the next step?

    Read here · 1 exercise
  2. 02
    The parts of an agent, and the loop

    Strip away the marketing and most agents have the same four parts and run the same loop.

    Read here · 1 exercise
  3. 03
    Levels of autonomy, examples and the word 'agentic'

    Autonomy is a dial, not a switch. Knowing where a tool sits on the dial cuts through the hype.

    Read here · 1 exercise
  4. 04
    One agent or several, and when not to use one

    More agents is not automatically better. Often the best agent is no agent at all.

    Read here · Reading
  5. 05
    Risks, and keeping a human in the loop

    Agents are useful because they act. That is also why their failures matter more than a chatbot's.

    Read here · 1 exercise
  6. 06
    Design an agent on paper

    The best way to understand agents is to design one carefully, then decide whether to build it at all.

    Read here · 1 exercise

Also inside: a 9-point checklist, a glossary of 12 terms and 10 questions and answers to test yourself. 5 hands-on exercises, each with a worked answer at the back where the workbook gives one.

The PDF is free. We ask for your name and email before downloading. Read the privacy notice at the download form. Free to download and use for personal learning, study groups and inside your own team. Please do not resell the workbooks or republish them as your own. Link people to trust-agent.ai instead.

Get your free PDF workbook

Enter your name and email, then download the complete workbook. This form also works without JavaScript.

We privately record your name, email and request IP for this download. Read our privacy notice and retention policy.

Visit Mickai on LinkedIn

Newsletter confirmation does not affect your download. Following Mickai on LinkedIn is optional; this site does not verify followers.

Test yourself

Questions and answers

What is an AI agent?

It is a system that works towards a goal by choosing its own steps. A model decides what to do, tools carry out actions, and the results feed back in. The loop repeats until the goal is met or a limit stops it.

How is an agent different from a chatbot?

A chatbot replies once and you decide what happens next. An agent takes a goal, then plans, acts with tools, reads the results and continues by itself. That freedom makes it more useful and also riskier.

What does agentic AI mean?

It describes AI that pursues goals over several steps and actions instead of answering once. It is a spectrum and the term is used loosely, so ask who decides the next step, what it can change, and who checks.

Is an agent the same as a workflow or automation?

No. In a workflow a person fixes the steps in advance and an AI may perform some of them. In an agent the model chooses the steps as it goes. Workflows are more predictable, and often the better choice.

What can go wrong with AI agents?

Errors can compound across steps, hidden instructions in web pages or emails can hijack the agent, broad permissions can let a mistake do real damage, and loops can waste money. Limits, approvals and checks reduce each risk.

What is prompt injection?

It is when text an AI reads, such as a web page or email, contains instructions that try to redirect it. Models cannot reliably tell your instructions from content they read, so treat all such content as untrusted and limit what the agent can do.

What does human in the loop mean?

A person stays involved: approving risky actions before they happen, reviewing results afterwards, and able to stop the system at any time. The more costly or irreversible the action, the more important the human check.

Do I need multiple agents?

Usually not. One agent is simpler, cheaper and easier to follow. Add more only when you can name a specific problem they solve, such as separate roles or an independent check, and accept the extra cost and complexity.

When should I not use an agent?

Avoid an agent for a single question, for repeatable steps a workflow can handle, for tasks where errors are costly or cannot be undone, and when you cannot limit its access or define what done means.

Are AI agents safe to use at work?

They can be, with care. Give minimum permissions, require approval for risky actions, work on copies, keep logs and follow your organisation's rules. Start with low-stakes tasks, and remember that you remain accountable for the results.

Write as you go

My notes

Use this scratchpad for your own notes, working or answers as you read. Notes are saved in this browser on this device. Downloading makes a local copy; it does not send your notes to Mickai.

Consolidate your learning

Review your work

Work through the exercises and questions, then compare your reasoning with the worked answers. A scored exam and verifiable certificate are not yet available for this course.

Review the questions

Learn the language

Key terms

Agent
A system that pursues a goal by choosing its own steps, using a model to decide, tools to act and results to adjust.
Agentic AI
A loose label for AI that works towards goals through several steps and actions rather than answering once.
Workflow
A sequence of steps designed in advance by a person. An AI may perform one or more steps, but the order is fixed.
Tool
An action an agent can take, such as searching the web, reading a file or sending a message. Each tool is a permission.
Memory
What an agent can draw on: the current context (short-term) and information saved outside the model (long-term).
Agent loop
The repeating cycle of plan, act, observe and decide that an agent runs until the goal is met or a limit is reached.

6 of the workbook's 12 terms. The complete glossary is in the workbook.

Follow the evidence

Sources and checks

Facts last checked: .

These workbooks use AI assistance. See how the workbooks are made.

  1. Prompt injection is not SQL injection (it may be worse)National Cyber Security Centre
  2. LLM01:2025 Prompt InjectionOWASP Gen AI Security Project

Created by Mickarle Wagstaff-Irons - Micky Irons with the Mickai team. Published by Mickai LTD. Last updated 25 September 2026.

NextKeep going

Where to go next

Level 3Building 105 min

Build your first chatbot

Build a chatbot that behaves: model access, system prompt, history and context limits, guardrails, tone, a test set, logging and cost, on a no-code path or a code path.