For the last few years, the picture of AI at work was one person and one assistant. That picture is already out of date. The model most companies are moving toward is a fleet of narrow agents per workflow, each built for a specific job, some with a person in the loop and some running on their own. This post is the short version of Compartmentalizing the Agentic Workforce: why that shift changes how you have to think about access, and why the answer is to give every agent its own scope.
From one assistant to a fleet of agents
A general assistant with broad access is convenient, and it is also a liability. The safer and more useful pattern is a set of narrow agents, each one built for a type of task, each one holding only the data and actions that task requires. Narrow agents are how automation becomes trustworthy enough to actually deploy at work.
This is not a niche prediction. Gartner projects that around 40% of enterprise applications will embed task-specific agents by the end of 2026, up from under 5% the year before. The agents are arriving. The question every decision-maker faces is how to let them in without handing each one the keys to the business.
What a fleet of agents per role looks like
Picture three familiar roles, each staffed by a few agents instead of one:
- The recruiter runs a sourcing agent that reads candidate records, a scheduling agent that books interviews, and a reference-check agent that handles tagged email. The sourcing agent has no reason to send mail, and no reason to see payroll.
- The finance analyst runs a reconciliation agent that reads ledgers, a reporting agent that writes the dashboard, and a vendor-payment agent that starts transfers. The reporting agent reads the numbers but sends nothing outbound.
- The support lead runs a triage agent that sorts tickets, a refund agent capped at a set amount, and an escalation agent that posts to one channel. The triage agent cannot issue refunds at all.
Each agent is narrow on purpose. Each needs a different slice of data, a different set of actions, and a different amount of reach. The job is to give each one exactly that, and nothing more, across many agents that change every day.
Why the old way of granting access breaks
Access systems in most companies were built on one assumption: that the number of things needing permissions grows about one per person. Directories, role assignments, and periodic reviews were all designed for a slowly growing list of human accounts you could check every few months.
Agents break that assumption. They do not pass through a human login, they can run around the clock, and they have no natural end of life. They do not resign, get offboarded, or expire on their own. And they multiply far faster than any quarterly review can keep up with. A process built for a reviewable list of people cannot govern a population that grows faster than anyone can review it.
The risk a better model cannot fix
An AI agent tends to combine three things in one place: access to private data (your email, files, and records), exposure to untrusted content (web pages, inbound email, shared docs, tickets), and a way to send data out (it can call systems and send messages). When all three meet in the same agent, an attacker can hide instructions in a document or a ticket the agent will read, and the agent uses its own legitimate access to carry them out. No software exploit is needed. The security field calls this indirect prompt injection.
The important part for a decision-maker is this: a smarter model does not solve it. A model built to follow instructions can be made to follow the wrong ones. OWASP and the wider security community reach the same conclusion, which is that the durable fix is architectural. You control, at the boundary, what data the agent can reach and where its output can go. OWASP's guidance for agentic applications names the real risks in exactly these terms: Excessive Agency (an agent with more permission than it needs), Identity and Privilege Abuse, and Tool Misuse. Read together, they point to one rule: the damage an agent can do is bounded by the access it holds.
Compartmentalization: give every agent its own walls
If least privilege decides how much access an agent gets, compartmentalization decides what happens when something goes wrong anyway. It is the more important of the two, because it assumes failure instead of trying to prevent it.
The idea is borrowed from places that have lived with serious failure for a long time. Ships are built with watertight compartments so a single breach does not sink the vessel. Intelligence agencies run on need-to-know so one compromised person cannot expose the whole network. Applied to agents, it means each agent gets its own walls, its own keys, and its own ceiling, so a breach in one stays in that one. The real damage in a modern breach rarely comes from the first step. It comes from riding trusted connections outward. If a compromised agent only ever held a thin, scoped credential, there is nowhere for an attacker to ride to.
Where the control has to live
Almost everyone now agrees agents should be scoped. The harder question is where that control is actually enforced. There are only a few options, and most do not work:
- Inside the agent. You cannot ask the thing being manipulated to police itself.
- Inside each app. Every application would have to model per-agent identity and instant revocation, consistently, across your whole stack. They do not, and there is no single place to see or change the rules.
- In the model gateway. That layer governs the conversation with the model. It does not sit on the wire between the agent and your customer database. Controlling the model is not the same as controlling the data.
- At the boundary between the agents and your systems. This is the one place you can enforce, per agent, which systems it reaches, which fields it sees, which actions it may take, what gets logged, and an instant off switch. It is the one place compartmentalization can be set as policy and actually hold.
This is also where the market is heading. Gartner predicts that by 2030 half of all AI-agent deployment failures will trace to insufficient runtime enforcement of agent capabilities, that by 2028 a large share of CIOs will demand guardian controls to track and contain agent actions, and that a significant share of agentic projects will be cancelled, with inadequate risk controls among the causes. The companies that succeed with agents are the ones that solve enforcement at the boundary first.
What this looks like in practice
PortEden puts the control in the connector, between each agent and the systems it touches. In practice that means four things per agent:
- A scoped identity. Each agent gets its own credential instead of a borrowed human login or a shared key, so actions are attributable and access is scoped per agent.
- Redaction before the agent sees it. Sensitive fields are hidden before they ever reach the agent's context, so its reach is narrow even when it can read.
- A record of every call. An audit trail logs what each agent did, so a contained incident can be reconstructed exactly.
- A kill switch. If an agent misbehaves, one click cuts it off without disturbing the others.
None of this is exotic. It is the oldest set of principles in security, finally applied to a new kind of worker. And it is what turns "we cannot risk giving an agent access to that system" into "we gave it a scoped, redacted, audited, revocable connection, ship it." The control layer is what makes the next agent cheap and safe to deploy.
The bottom line
Work is moving to a model where every role is staffed by a fleet of narrow agents, each needing a different and tightly bounded slice of your data and actions. Identity built for people cannot govern that. The durable answer is to enforce least privilege and compartmentalization at the boundary between agents and systems, so a compromise stays in its compartment instead of spreading across the business.
Done right, this is not a brake on adoption. It is the thing that lets you deploy ten times as many agents, because each one is bounded and each one is reversible. For the full argument, read Compartmentalizing the Agentic Workforce.