Harness engineering
Give AI only the tools it needs: a guide for owners
The AI tool wants to connect to your email, your calendar, your files and your accounts, and there is a big friendly button that says Allow all. Before you press it, ask what the job actually needs.
What access should you give an AI?
Give it the smallest set of permissions that lets it finish one job. If the AI drafts replies to enquiries, it needs to read new emails and write drafts. It does not need your sent folder, your bank or the power to delete anything. Start there and add only when a real need appears.
This is the same rule security people apply to any new staff member or software. OWASP, the security community that tracks risks in AI apps, calls the danger excessive agency: an AI with more functions, more permissions or more freedom than its job requires, able to do real damage when it gets something wrong.
Read before write
Reading is low risk. Writing changes things. Most jobs can start read-only: summarise the inbox, list the unpaid invoices, flag the bookings with missing details. Add write access only for the one thing that has to change. OWASP gives the same example: an AI that summarises email needs to read mail, not send it.
Drafts before sends
An AI that writes a draft for you to send costs you a click. An AI that sends on its own can put a wrong price in front of a customer at two in the morning. Keep it on drafts until weeks of drafts have needed no changes.
One job, one set of keys
Don't give one AI everything because it might be handy later. The café's social posting assistant needs your photo folder and your social accounts. It has no reason to see the till or the staff rota.
Its own login, so you can switch it off
Where the tool allows it, connect the AI with its own account or a delegate setting, never your personal password. Then you can see what it did, and remove its access in one place without changing anything else.
Why even a well-behaved AI needs limits
An AI that reads your inbox also reads whatever strangers send to it, and a cleverly worded email can try to give it orders. The UK's National Cyber Security Centre says this kind of attack, called prompt injection, may never be fully fixed, and advises against giving an AI that reads outside emails access to powerful tools. Its post prompt injection is not SQL injection explains why. Limits are what keep a tricked AI harmless.
- 01Readsees the inbox, the diary, the invoice list - changes nothing
- 02Draftwrites replies and reminders for you to send
- 03Act with approvalsends or books only after you press yes
- 04Act alone, within limitsone routine action, a written cap, a daily log
What a few common jobs need, and what they don't
| Job | Access it needs | Access to keep away from it |
|---|---|---|
| Drafting replies to enquiries | Read new emails, write drafts | Sending, deleting, your sent folder |
| Chasing unpaid invoices | Read the invoice list, draft reminders | Taking or refunding payments, editing invoices |
| Posting to social media | Your photo folder, draft posts | Publishing without approval, customer data |
| Taking bookings | See free slots, add a booking | Cancelling or moving other bookings |
| Appointment reminders for a clinic | Read tomorrow's diary, send a set reminder text | Patient notes, changing the diary |
| Stock alerts for a shop | Read stock levels, draft a reorder list | Placing orders, changing prices |
| Bookkeeping summaries | Read-only view of the books | Any change to the books or the bank |
What should you never give an AI?
Some access is never worth the risk for a small business, however good the tool. These stay with you, or sit behind a step where a person has to say yes. Which decisions should always keep a person in the loop is covered in which AI jobs still need a person to sign off.
Your main passwords
Never paste a password into a chat or a message, to an AI or to anyone setting one up for you. Access should be shared the safe way, through each tool's own team or delegate settings.
Admin accounts
An admin account can change settings and control everything else. The NCSC advises using an everyday account for normal work and keeping admin access for when it is genuinely needed, in its guide to securing your important online accounts. An AI never needs to be an admin to do one job.
The power to move money
Paying, refunding and transferring stay with a person, or behind a hard limit you set. A bookkeeper's AI can prepare the payment run. You press the button.
The power to delete
Deleting is the one action you can't take back. An AI that tidies files or emails should move things to a folder for you to check, never remove them for good.
The right to change its own rules
The AI should never be able to widen its own access or edit the limits you set. Only you change the rules, and only after looking at what the job needs. OWASP calls this complete mediation: the system the AI connects to decides what is allowed, not the AI.
How to set AI permissions for one job
- 01
List what the job touches
Write down every app and folder the job uses by hand: the inbox, the price list, the diary. That list is the most the AI should ever see. If something isn't on it, the AI doesn't get it.
- 02
Mark each one read or write
For each item, ask whether the AI needs to change it or only look at it. Most of the list will be read-only. For the few it must change, write down exactly what it may change: drafts, not sends; new bookings, not cancellations.
- 03
Connect it the safe way
Use the tool's own connection screen, team setting or delegate access, and a separate account for the AI where you can. Read the permission screen before you press allow, and turn down anything the job doesn't need.
- 04
Set a spending cap and an off switch
If the tool charges by use, set a monthly limit in its billing settings. Know where the setting is that turns the AI's access off, before you need it. Our Cloud Cost Controls puts spend caps and an automatic brake on cloud and AI bills.
- 05
Test the limits on purpose
Ask the AI to do something it shouldn't: send a draft, delete an old email, open the accounts folder. It should fail. If it succeeds, the limit is only in its instructions, and instructions are not locks, as how to write instructions an AI will follow explains.
- 06
Review access every few months
Old connections pile up. The NCSC suggests making a habit of reviewing who has access to important accounts every few months and removing what is no longer used. Put the AI's connections on the same list.
- 07
Widen only after it has earned it
After a few weeks of clean drafts, you might let it send one kind of reply on its own. Make one change at a time, and write it down. How to trial AI on one job gives a simple pass mark to decide when.
Connections that give more than they say
The risk is rarely the AI itself. It is a connection that hands over more than the job needs, often without the owner noticing. Four to look out for.
Full mailbox access for a drafting job
Some ways of sharing an inbox are all or nothing. Gmail's delegate access, for example, lets a delegate read, send and delete email for you, as Google's page on delegating your Gmail sets out. That suits a trusted assistant. It is far more than an AI drafting replies needs, so look for a draft-only connection instead.
The Allow all screen
When you connect an AI tool to another service, the permission screen lists what it is asking for. The official security guidance for the Model Context Protocol, the standard many AI tools use to connect to other apps, warns against asking for every permission up front and recommends starting with low-risk read access, in its security best practices. If a tool asks for everything to do one small job, ask why.
One shared login for everyone
If the AI uses the same login as you and two staff, you can't tell who did what, and you can't switch the AI off without locking everyone out. Give it its own account.
Connections nobody remembers
The trial tool from last spring may still be able to read your inbox. Check each service's list of connected apps and remove the ones you no longer use.
How big can a mistake get?
With tight limits, a mistake stays the size of one job: a bad draft you delete. With wide access, the same mistake can reach every customer, every file and your bank. The limits decide how bad your worst day with AI can be, not the model.
A worked example: a physio clinic
A three-room physio clinic uses AI to send appointment reminders. With tight limits, it reads tomorrow's diary and sends one fixed reminder text. If it gets confused, the worst case is a wrong reminder that a patient queries. With wide access to the diary and the patient notes, the same confusion could cancel a morning of appointments or send someone's notes to the wrong person.
Example figures: what a bad day costs
Made-up but realistic: a cancelled morning of six appointments at £45 each is £270 lost, plus the phone calls to rebook. A wrong reminder costs one apology. Same AI, same mistake. The only difference is what it was allowed to touch.
Why limits cost you almost nothing
For most jobs, the right limits take an afternoon to set and don't slow the AI down at all, because it never needed the extra access. You lose only the things it shouldn't have been doing anyway.
What UK data protection law expects
If the AI can see customers' personal data, limiting its access is also part of your legal duty, not just good sense. Two principles cover it.
Keep personal data secure
UK GDPR asks for appropriate technical and organisational measures to keep personal data safe, including access controls so that only authorised people and systems can view, change or delete it. The ICO's guide to data security sets it out. An AI with access to everything is hard to square with that.
Use no more than the job needs
Data minimisation means using personal data that is adequate, relevant and limited to what the purpose needs, as the ICO explains under data minimisation. A reminder bot needs a name, a time and a phone number. It does not need the notes. Our GDPR Compliance Kit writes the data map that shows who and what can see each kind of data.
Questions
08Asked and answered
Give an AI tool the least access its one job needs: read-only where possible, drafts instead of sends, and nothing to do with paying or deleting. Widen it one step at a time, only after weeks of clean work at the step below. Our safety page lists what an AI we set up never does without you.
Excessive agency is the security term for an AI that has more tools, permissions or freedom than its job needs, so a mistake or a trick can cause real damage. The cure is to cut each of the three back to the minimum and have a person approve anything high-impact. OWASP explains it in its guide to excessive agency.
Not at first: keep it on drafts you approve, and let it send only one kind of routine reply once weeks of drafts have needed no changes. Even then, keep complaints, prices and anything unusual on drafts. How to check drafts quickly is in how to check AI's work before a customer sees it.
Yes, because an agent takes actions with its tools while a chatbot only replies, so a confused agent can change things in your business. That makes an agent's access the first thing to get right, with a person approving what sends, pays or deletes. The difference is set out in AI agents vs chatbots.
Yes, if it was connected through the tool's own team, delegate or connected-apps settings, you can switch it off in the same place at any time. If it uses your personal password, you would have to change the password instead. That is why we connect everything the safe way, as how it works explains.
No, because instructions guide the AI but don't remove its access, and a cleverly worded email can talk it out of them. Limits on its tools are what hold when the instructions fail. Write good instructions as well, then test the limits on purpose. The wider set-up is explained in what harness engineering is.
Yes, an AI account needs the same protection as your email, because anyone who gets into it can reach whatever it is connected to. Switch on two-step verification and use a strong, unique password. The NCSC explains where to switch it on in setting up 2-step verification.
They can, when they work behind hard limits on what they may touch, stop when they are unsure and leave a record of what they did. The morning report is the check: you see every action and every refusal. Our Autonomous Agent Operations runs overnight jobs behind a safety lock with a report each morning.
This is general guidance, not legal or financial advice. For your own situation, speak to a qualified adviser.