assurance · Level 2
Deploy AI agents without losing control
The plain-English companion to Threat-model an agent and its tool boundary: plan four controls and check where they are enforced.

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
Start with the essentials
The short answer
Use a fictional database-deletion walkthrough to understand excessive access. Narrow permissions to the current task, distinguish forbidden actions from actions needing approval, name an available approver and keep a checked log. Writing a rule is a planning step: verify enforcement at the tool and downstream service before allowing consequential actions.
What you will learn
- You will be able to explain why broad permissions can amplify an agent error, without needing to infer the agent's intent.
- You will be able to write a least-privilege permission list for an agent you actually use or are considering, narrowed to what its current task needs.
- You will be able to distinguish actions forbidden to an agent from actions requiring a person's prior approval, and write specific rules for each.
- You will be able to set a concrete human-approval threshold: what triggers required sign-off, and who actually gives it.
- You will be able to set up a visible log of what an agent actually did, using a document or spreadsheet you already have.
- You will know the difference between preventing a mistake before it happens and being able to see it after it happened, and why an agent you deploy needs both.
Who it is for
Anyone who uses, manages, or is considering deploying an AI agent, coding assistant or automation tool, at work or in a small business, with no technical background needed. If you can use a spreadsheet and a settings menu, you can do every exercise in this workbook.
Before you start
- None beyond curiosity. It helps to have read What is an AI agent? Agentic AI explained first, which explains what an agent actually is and the levels of autonomy it can have.
Learn in your browser · Chapter 01 of 06
What happened when nobody set a limit
A hypothetical failure makes the access and approval questions concrete. This walkthrough is fictional, not a verified report of an April 2026 incident.
Put a boundary before the action
- Proposed action
- Scope check
- Human decision
- Audit record
Imagine a coding assistant asked to repair a test file. Its credential also permits deletion in a live database and in the backup account. In this fictional walkthrough it submits destructive requests to both, and neither service requires prior approval. The example assumes those requests succeed. No real company, date, agent or investigation is established by the references in this workbook.
This example does not assume malicious intent or establish what a real model intended. Errors, misunderstood instructions and hostile inputs can all lead to harmful requests. Review the access actually granted and the checks around consequential actions, regardless of the cause. The example illustrates risk; it does not prove that four controls prevent every failure.
Four planning questions guide this workbook: what access does the current task need, which actions are forbidden or approval-controlled, who approves an action above a defined threshold, and what evidence records the result? You can write the plans without code. Your administrator must check that credentials, tools and downstream services enforce the intended rules; a prompt or pinned note is not that enforcement.
Try it yourself · Activity 01
15 minRate your own agent's blast radius
Think of one AI agent, assistant or automation tool you already use, or are considering using, at work or at home. This could be a coding assistant, an email assistant, a customer-service bot, or a scheduling tool.
- List every system or account it can currently reach.
- For each one, write down the worst realistic outcome if it acted wrongly, not maliciously, just wrongly.
- Mark anything where the worst outcome is difficult or impossible to undo, such as deleting data, sending a message, or spending money.
- Circle the single scariest item on your list.
Did anything on your list surprise you, something the agent can reach that you had genuinely forgotten it could touch?
Worked answer
Example: a scheduling assistant with access to a shared calendar and an email account. Reach: calendar (read and write), email (send). Worst outcome: it emails a client on your behalf with the wrong information or the wrong tone. Hard to undo: a sent email. Scariest item: the ability to send email without you seeing it first.
- Q1: What happens in the fictional database-deletion walkthrough?
- A: A hypothetical test-file assistant also has destructive access to live data and backups. Both requests succeed without prior approval. This is a teaching scenario, not evidence of a real April 2026 incident.
- Q2: Does this walkthrough establish malicious intent?
- A: No. Intent is not established. Excessive permissions and missing approval checks can amplify harm from several causes, so inspect the actual controls without guessing intent.
- Q3: What are the four controls this workbook teaches?
- A: Least-privilege access, explicit forbidden and approval-controlled actions, a named human-approval threshold, and a checked log. Each rule needs appropriate implementation and verification.
Learn in your browser · Chapter 02 of 06
Give it only what the task needs: least-privilege permissions
Most agent permissions are set once, for convenience, and never narrowed again. Least privilege means giving an agent exactly the access its current task needs, and taking that access away once the task is done.
Least privilege means granting only the access the current task requires and removing it when no longer needed. In the fictional walkthrough, repairing a test file does not justify destructive live-database or backup access. An engineer may need to separate credentials or tools when a vendor bundles permissions too broadly. Assess the real task and integration rather than treating every test-file job as identical.
Scroll sideways to see every column.
| Task the agent is actually doing | Access it is often given | Access the task actually needs |
|---|---|---|
| Fix a bug in a test file | Full read and write access to the production database | Read and write access to the test file only |
| Draft replies to customer emails | Permission to send email directly | Permission to draft only, not to send |
| Summarise a shared folder of documents | Edit and delete access to the folder | Read-only access to the folder |
Try it yourself · Activity 02
20 minWrite a least-privilege permission list
Use the same agent or tool from Chapter 1's exercise, or pick a new one.
- Write the agent's actual, current task in one sentence.
- List every permission it currently holds.
- For each permission, decide: does this specific task genuinely need it, yes or no.
- Rewrite the list as it should be: the smallest set of permissions the task genuinely needs.
- Note any permission you would remove today if you could, and what stops you from removing it right now.
Was there a permission you kept "just in case"? In the fictional walkthrough, unnecessary destructive access increases the possible harm. Who can remove or isolate your surplus access and verify the change?
Worked answer
Example: an email-drafting assistant. Task: draft replies to incoming customer emails. Current permissions: read inbox, send email, access to a shared contacts list, access to an order-lookup system. Actually needed: read inbox, read-only access to order lookups. Removed: send email (drafts should be reviewed first) and access to the shared contacts list (not needed for drafting). What stops removal today: the send permission is bundled into the drafting feature by the vendor and cannot yet be switched off on its own, worth raising with whoever manages the tool.
- Q1: What does least privilege actually mean for an agent?
- A: Giving an agent only the access its current task genuinely needs, and removing that access again once the task is done, rather than granting broad access once for convenience.
- Q2: Why is “just in case” access risky?
- A: Spare access can amplify an error. In the fictional walkthrough a test-file assistant can also reach live data and backups, even though that task does not justify that access.
- Q3: Should an agent's permissions start broad or narrow?
- A: Narrow. Add access only after establishing the task need and verifying its scope. The hypothetical deletion illustrates why broad unused access creates avoidable exposure, rather than predicting a certain outcome.
Learn in your browser · Chapter 03 of 06
Write down what it may never do alone
Some actions are too consequential to leave to an agent's judgement, however good that judgement usually is. This chapter builds a short, specific list of exactly which ones, before you need it.
Separate three decisions. A complete prohibition means the agent may never perform the action, even if someone offers approval. An approval-controlled action is permitted only after the named person approves the exact proposed action. A routine permitted action may proceed inside its defined scope and threshold. A written list records these decisions; it must be implemented and checked at the tool or downstream service. Telling an agent "never delete" while leaving unrestricted deletion credentials available is not an enforced prohibition.
Make the category and action explicit. "This agent must never delete a contact's full history" is a complete prohibition. "A customer email must wait for a person to review and click send" is approval-controlled. "Be careful with customer data" specifies neither the action nor its enforcement.
Try it yourself · Activity 03
20 minDraft your never-without-a-person list
Use the same agent from your earlier exercises.
- List every action this agent is technically capable of that would be hard or impossible to undo.
- Classify each action as forbidden to this agent, allowed only with prior human approval, or routine within a documented scope and threshold.
- Write specific rules for each category, including the proposed action the approver must see and the control that will block an unapproved or forbidden request.
- Record where the rules live, who implements them and how you will verify enforcement before granting access. Use a harmless test environment for test actions.
Look back at the scariest item you circled in Chapter 1. Is it now on your never-without-a-person list? If not, why not?
Worked answer
Example email assistant: customer sending is approval-controlled, with a person reviewing the draft and clicking send. Unsubscribing a contact needs an authorised reason and a logged decision. Deleting the contact's full history is completely forbidden to this agent. Record these in the shared drafting folder; ask the administrator to remove history-deletion access and keep sending behind a reviewed tool action. Test rejected requests and missing approvals in a harmless environment. A pinned note is the record, not the enforcing mechanism.
- Q1: How is a never-without-a-person list different from a permission list?
- A: Permissions determine what a credential or tool can reach. The rules distinguish forbidden actions, actions requiring prior human approval and routine permitted actions. Check how the service enforces each rule rather than relying on the wording alone.
- Q2: Why does the never list need to be written down?
- A: Writing makes rules reviewable and transferable. It does not itself make them enforceable: an administrator must configure the boundary and verify that forbidden or unapproved requests are rejected.
- Q3: What makes a good never-without-a-person rule?
- A: State the exact action and category. For example, "history deletion is forbidden to this agent" or "customer sending requires a reviewed draft and a person clicking send". Name the enforcing control and test it.
Learn in your browser · Chapter 04 of 06
Set a human-approval threshold
Not every action needs a person watching, and not every action can be left to run alone. A threshold decides which is which, before the agent ever has to choose.
A threshold specifies when a routine permitted action must wait for a named person's approval. A complete prohibition remains forbidden at every size; approval does not override it. Actions already designated approval-controlled still require prior approval below a numerical threshold. Use thresholds for the remaining permitted scope, and check the proposed action, recipient set or amount before execution, not after it.
Scroll sideways to see every column.
| Example action | Within permitted scope: may proceed | If permitted but above threshold: prior sign-off |
|---|---|---|
| Sending an email | A routine reply to a known contact | A message to more than one recipient, or to a customer about a complaint |
| Spending money | A subscription renewal under an agreed small amount | Any new purchase, or any amount over an agreed limit |
| Changing a record | Correcting a typo in a note | Deleting a record, or changing anything tied to a customer's account |
Try it yourself · Activity 04
20 minSet a threshold for your own agent
Use the same agent again.
- Pick one action this agent regularly performs that is not already on your never list.
- Decide the specific line where that action becomes risky enough to need a person: an amount, a number of recipients, a type of record, a word like "delete".
- Name the actual person who must give sign-off above that line, by role, not just "someone".
- Write the rule in one sentence: above X, this agent must wait for Y to approve before continuing.
Is the person you named actually available when the agent is running? A threshold with no one able to answer it in time just becomes a delay nobody planned for.
Worked answer
Example: a scheduling assistant that can send calendar invites. Action: sending an invite. Threshold: any invite going to more than five external recipients, or including a video call link to a client meeting. Sign-off: the team member who owns that client relationship. Rule: above five external recipients, this agent must wait for the relationship owner to approve before the invite goes out.
- Q1: What is a human-approval threshold?
- A: A defined line requiring a named person's approval before an otherwise permitted action proceeds. Separate complete prohibitions and actions that always need approval still apply.
- Q2: How is a threshold different from the never list?
- A: A complete prohibition blocks an action at every size and cannot be waived by this threshold. An approval-controlled action always needs prior approval. A threshold adds approval above a defined limit within the remaining permitted scope.
- Q3: Why must a threshold name an actual person, not just “someone”?
- A: An approval rule with no named, available person becomes either an unplanned delay or a rule people quietly bypass. Naming a real, reachable role is what makes the threshold work in practice.
Learn in your browser · Chapter 05 of 06
Keep a visible log of what it actually did
Access checks and approvals aim to prevent unauthorised actions. Logs support detection and investigation afterwards, within the evidence they actually capture.
Even a configured agent can encounter an unexpected condition. A checked log can help investigators establish which requests and actions occurred; it does not assure prevention or a complete reconstruction. In the hypothetical database walkthrough, missing records would make investigation harder. No claim about a real incident's logs is made here.
- What was asked of the agent, in the agent's own words or the request it received.
- What it actually did, in plain terms, not just "task completed".
- When it happened, with an exact time.
- Who, if anyone, approved it, when a threshold applied.
Try it yourself · Activity 05
15 minSet up a first version of your log
Use the same agent one more time.
- Open a blank document or spreadsheet.
- Create four columns: what was asked, what actually happened, when, who approved it if anyone did.
- Fill one synthetic example row, or use authorised history without copying private data. Label a recollection as unverified and identify the tool evidence needed to check it.
- Decide who will check this log, and how often: daily, weekly, or after anything that crossed your threshold from Chapter 4.
What could your starter log establish about an action, and what remains unknown? A missing or unverified row leaves an evidence gap; a spreadsheet does not automatically close it.
Worked answer
Synthetic scheduling row: asked to invite the client team; recorded outcome says six external recipients; Tuesday 14:02; no approval recorded. With an agreed threshold of more than five, investigate a possible unapproved action. Check the actual recipient list, action identifier and approval record before asserting what happened. Missing approval evidence is a reason to investigate, not proof that no approval occurred.
- Q1: What does a log actually protect against, if permissions and thresholds already exist?
- A: A checked log supports detection and investigation after an action. Its ability to reconstruct events depends on completeness, accuracy and integrity; it is not a preventive permission or approval check.
- Q2: Do I need special software to keep this kind of log?
- A: A spreadsheet can start the review process. Distinguish observed tool records from unverified manual recollections, control access and retention, and check what additional evidence consequential workflows need.
- Q3: What should a useful agent log actually record?
- A: Asked action, observed outcome, time and approval reference are four starter fields. They do not reconstruct almost any incident. Correlated identifiers, versions, trustworthy outcomes and protected records may also be needed.
Learn in your browser · Chapter 06 of 06
What you can do now
Use the four planning questions, check their implementation and test your understanding in the online knowledge assessment.
Return to the fictional walkthrough and ask four questions about your planned workflow. What can it reach and why? Which actions are forbidden or require prior approval? Who approves permitted actions above a defined threshold? What observed evidence records the outcome? Ask your administrator how the boundaries are configured and tested. These questions support a deployment review; they do not prove operational safety.
https://trust-agent.ai/exam/deploy-agents-without-losing-controlThis is free educational content published by Mickai LTD, not professional, legal, financial or compliance advice, and Mickai accepts no liability for how you use it.
Human control and a visible record are useful design goals for Mickai workflows. Sovereignty is a question about the actual system: who controls access, which suppliers process data, where it is stored and which connections can transmit it. A label alone does not answer those questions.
Mickai can discuss bespoke agent workflows and code enhancements for a business at mickai.co.uk/bespoke. Agree the proposed access controls, hosting, suppliers, retention and permitted network connections, then examine implementation evidence and tests. This workbook does not establish zero data egress, sovereign operation or suitability for a particular customer deployment.
Keep learning
The complete workbook
This plain-English companion to Threat-model an agent and its tool boundary uses a hypothetical database-deletion walkthrough, not a sourced report of a real incident. Plan scoped permissions, explicit prohibitions, approval thresholds and a visible log using documents, spreadsheets and settings. The exercises require no coding; implementing and testing the controls may require your administrator or engineer. A written rule alone cannot secure a tool.
- 01What happened when nobody set a limitRead here · 1 exercise
A hypothetical failure makes the access and approval questions concrete. This walkthrough is fictional, not a verified report of an April 2026 incident.
- 02Give it only what the task needs: least-privilege permissionsRead here · 1 exercise
Most agent permissions are set once, for convenience, and never narrowed again. Least privilege means giving an agent exactly the access its current task needs, and taking that access away once the task is done.
- 03Write down what it may never do aloneRead here · 1 exercise
Some actions are too consequential to leave to an agent's judgement, however good that judgement usually is. This chapter builds a short, specific list of exactly which ones, before you need it.
- 04Set a human-approval thresholdRead here · 1 exercise
Not every action needs a person watching, and not every action can be left to run alone. A threshold decides which is which, before the agent ever has to choose.
- 05Keep a visible log of what it actually didRead here · 1 exercise
Access checks and approvals aim to prevent unauthorised actions. Logs support detection and investigation afterwards, within the evidence they actually capture.
- 06What you can do nowRead here · Reading
Use the four planning questions, check their implementation and test your understanding in the online knowledge assessment.
Also inside: a 7-point checklist, a glossary of 12 terms and 12 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.
Test yourself
Questions and answers
What happens in the fictional database-deletion walkthrough?
A hypothetical test-file assistant also has destructive access to live data and backups. Both requests succeed without prior approval. This is a teaching scenario, not evidence of a real April 2026 incident.
Does the fictional walkthrough establish malicious intent?
No. Intent is not established. Excessive permissions and missing approval checks can amplify harm from several causes, so inspect the actual controls without guessing intent.
What are the four controls this workbook teaches?
Least-privilege access, explicit forbidden and approval-controlled actions, a named human-approval threshold, and a checked log. Each rule needs appropriate implementation and verification.
What does least privilege actually mean for an agent?
Giving an agent only the access its current task genuinely needs, and removing that access again once the task is done, rather than granting broad access once for convenience.
Why is "just in case" access risky?
Spare access can amplify an error. In the fictional walkthrough a test-file assistant can also reach live data and backups, even though that task does not justify that access.
How is a never-without-a-person list different from a permission list?
Permissions determine what a credential or tool can reach. The rules distinguish forbidden actions, actions requiring prior human approval and routine permitted actions. Check how the service enforces each rule rather than relying on the wording alone.
Why does the never list need to be written down?
Writing makes rules reviewable and transferable. It does not itself make them enforceable: an administrator must configure the boundary and verify that forbidden or unapproved requests are rejected.
What is a human-approval threshold?
A defined line requiring a named person's approval before an otherwise permitted action proceeds. Separate complete prohibitions and actions that always need approval still apply.
How is a threshold different from the never list?
A complete prohibition blocks an action at every size and cannot be waived by this threshold. An approval-controlled action always needs prior approval. A threshold adds approval above a defined limit within the remaining permitted scope.
Why must a threshold name an actual person, not just "someone"?
An approval rule with no named, available person becomes either an unplanned delay or a rule people quietly bypass. Naming a real, reachable role is what makes the threshold work in practice.
What does a log actually protect against, if permissions and thresholds already exist?
A checked log supports detection and investigation after an action. Its ability to reconstruct events depends on completeness, accuracy and integrity; it is not a preventive permission or approval check.
Do I need special software to keep this kind of log?
A spreadsheet can start the review process. Distinguish observed tool records from unverified manual recollections, control access and retention, and check what additional evidence consequential workflows need.
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.
Learn → Practise → Demonstrate
Ready to put it into practice?
Take the scored exam when you feel ready. You do not need to download the workbook first. A score strictly above 80% earns a named, dated Mickai certificate with a verification page.
Take the official examYour name and email are collected at exam start. Certificates record an assessment result, not an accredited qualification or verified identity.
Learn the language
Key terms
- Least privilege
- The principle of giving a user, program or agent only the access its current task needs, and no more.
- Permission
- A specific thing an agent is allowed to access or do, such as reading a file, sending an email or editing a record.
- Blast radius
- How much damage an agent could do if it acted wrongly, based on everything it can currently reach.
- Irreversible action
- Something that cannot easily be undone once it happens, such as deleting data, sending a message or making a payment.
- Never list
- A written set of explicit prohibitions and prior-approval rules. Distinguish them and verify their enforcement at the relevant tool or service; writing alone is not a technical control.
- Approval threshold
- A defined line above which an agent must stop and wait for a named person's sign-off before continuing.
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.
- LLM06:2025 Excessive AgencyOWASP GenAI Security Project
- Authorization Cheat SheetOWASP
- AI Risk Management FrameworkNational Institute of Standards and Technology (NIST)
Created by Mickarle Wagstaff-Irons - Micky Irons with the Mickai team. Published by Mickai LTD. Last updated 1 October 2026.
NextKeep going
Where to go next
Recommended for you
Threat-model an agent and its tool boundary
Map an agent tool boundary and test a local gateway for identity, ownership, exact-action approval, expiry, replay and stale writes using fictional notes.
Recommended for you
AI governance: risk registers, evidence and human accountability
Govern an AI system without being an engineer: map hazards, score and evidence them, name owners and stop rights, make oversight real, and check the register with tested code.
Recommended for you
Prompt injection: threat analysis and defensive testing
Learn why prompt injection happens, analyse the harm it can do, and measure which defences work with a harmless offline Python lab that uses fake canary secrets.