Advanced learning path
Zero trust for AI agents
Zero trust is one rule: trust nothing by default, and check every time. An AI agent reads, decides and acts on its own, so the rule fits it well: an agent gets nothing because it is "inside" the company. It proves who it is, it gets only what the task needs, and every step is checked and recorded. This is an advanced path, for when you already know what an agent is and how it uses tools: first the road a request travels, then three questions, then six steps, one after the other.
Start here: where the checks sit
A request travels along one road. Six checks stand on that road, between the one who asks and the things the agent can touch.
- Who asksA person, or another agent
- The agent at workThe model, its instructions, its tools and the steps it follows
- What it reachesThe company's applications and its data: documents, code, databases
Three questions before every step
Zero trust comes down to three questions. The answer is never "yes, because it is our agent".
- Can the agent see this data?This file, this record, for this task, right now.
- Can the agent do this action?Send, delete, pay, change: is it allowed, and does a person have to say yes?
- Can the agent share this information?With this person, this tool or this outside service.
The path in six steps
-
1
Agent identity
Every agent has a name of its own, like a badge, and shows it every time.
What it means
- An agent is not "the system". It is one named account, with one owner, a person who answers for it.
- It never borrows a person's account or shares one password with other agents. If it did, the record would show a person doing things the agent did.
- It proves who it is at every request (authentication), not once in the morning.
In practice
- Find every agent that is running, also the ones nobody announced, and write them in one list.
- Give each one its own account and its own key, with an end date.
- When an agent is retired, close its account the same day.
-
2
Least-privilege access
Only the tools, the rights and the data the task needs. Nothing more.
What it means
- "Least privilege" means the smallest set of rights that still gets the job done. An agent that answers questions about holidays does not need to read salaries.
- Reading is not writing: an agent that only has to read gets no right to change or delete.
- Rights are given for the task and taken back after it, not kept for ever "just in case".
In practice
- Start from nothing and add one right at a time, each with a reason.
- Give each agent only the tools it uses. A tool it never calls is a door left open.
- Look at the rights again every few months and remove what was not used.
-
3
Data security
Know which data is sensitive, and follow it wherever the agent takes it.
What it means
- Data classification: putting a label on data that says how sensitive it is, for example public, internal, confidential. Without the label, no rule can tell a price list from a medical file.
- Data segregation: keeping groups of data apart, so an agent working for one team or one customer cannot reach another's.
- Data loss prevention (DLP): rules that stop sensitive data from leaving, when the agent reads it, rewrites it or shares it.
In practice
- Label the data first. Begin with what must never reach an outside AI.
- Check the data on the way in and on the way out: a summary of a confidential file is still confidential.
- Keep each team's and each customer's data in its own space, with its own rights.
-
4
Action governance
Every action is judged before it happens, and the risky ones wait for a person.
What it means
- An agent acts by calling tools: send this mail, change this record, run this command. Each call is checked against the rules before it runs, not explained afterwards.
- Actions are sorted by risk. Reading a page is low. Paying, deleting or writing to a customer is high.
- A high-risk action stops and waits for a person's yes. See human in the loop.
In practice
- Write the list of actions that always need a person: money, deletion, anything sent outside the company.
- Set limits: how many actions an hour, how much money, which recipients.
- Make sure the yes comes from someone who sees what will happen, not a button pressed without reading.
-
5
Runtime protection
While the agent works, someone watches for tricks and can stop it.
What it means
- "Runtime" is the moment the agent is working. The checks before are not enough, because the danger can arrive in the text it reads.
- A sentence hidden in an email or a web page can become an order for the agent. That is prompt injection.
- An agent that was tricked or taken over is contained: cut off from its tools and its data before it does more.
In practice
- Treat everything the agent reads from outside as text to weigh, never as an order.
- Watch for behaviour that does not fit the task: an agent for invoices that suddenly reads the staff list.
- Have a switch that stops one agent at once, and people who know where it is.
-
6
Continuous monitoring and response
Everything is recorded and read, alerts go to a person, and the fix is ready.
What it means
- Monitoring is continuous: not a check once a year, but a record of every step that someone or something reads all the time.
- The signals are put together: who the agent is, which data it touched, how it behaved. One odd thing may be nothing; three together are an alert.
- Response means the next move is already decided: who gets the alert, who can stop the agent, how to undo what it did.
In practice
- Record what each agent was asked, what it read, what it did and with which rights.
- Send alerts to a named person, with a clear line between "look at this tomorrow" and "stop it now".
- After every incident, change a rule or a right, so the same thing cannot happen the same way.
The base under the six steps
The six steps work only if they share one set of rules and one record. Otherwise each tool decides for itself and nobody sees the whole story.
- One place for the rulesA policy engine: the piece that holds the rules and answers yes or no to every request, the same way for every agent.
- Risk signalsFacts that raise or lower trust at that moment: an unusual hour, a new tool, data more sensitive than usual.
- A record of everythingLogging: every request and every answer written down, in a place the agent cannot change.
- Where it came fromProvenance: for every answer and every action, which data and which instruction it came from.
- A person's yesApproval steps: the road a risky action takes to reach the person who can allow it.
- A fix that starts by itselfAutomated remediation: for known problems the first move is automatic, for example taking a right away or stopping the agent.
What zero trust does not do
- It is not a product you buyIt is a way of setting things up. Tools help, but the list of agents, the labels on the data and the rules are work that people do.
- It does not make an agent rightAn agent with the correct rights can still give a wrong answer. Zero trust limits the damage; it does not check the quality. For that see Keep it safe and good.
The six steps keep the names of a reference architecture for zero trust and AI agents that circulates among security teams; the explanations and the layout are this site's own, and nothing is copied from it. The idea of zero trust is described in a public standard: NIST SP 800-207, Zero Trust Architecture.