Give Your Business Agents a Permission Slip, Not a Master Key
Most teams treat a business agent like a choice between two bad options. Hand it a master key (the shared admin token, the open network, the whole file share) so it can actually finish the job. Or lock it down so tightly that it can only chat, then wonder why the pilot never left the demo.
Neither works. Agents earn their keep when they can read files, call APIs, and use credentials. The useful middle is the same thing you already do for a new hire: write down what this role may touch, keep the real keys off the desk, and make new access a request a person can approve.
The useful middle
An agent should get a permission slip, not a master key. Write what it may touch as an explicit, reviewable policy. Keep real credentials out of the agent's hands. When the job grows, new access is requested and approved by a human.
Useful agents need access. Unscoped agents need a lock.
A support agent that can read the help desk and draft replies is useful. The same agent with a production database password, unrestricted outbound HTTPS, and the company cloud key is no longer a tool. It is unsupervised staff with no job description.
That is not a theoretical risk. In May 2026, Lan Tian wrote up a case under the headline "AI agent bankrupted their operator while trying to scan DN42". The operator later asked the DN42 community, a hobbyist network, for donations over a $6,531.30 AWS bill. They said the agent had spawned many EC2 instances, load balancers and Lambda functions by redeploying the same CloudFormation template. They also said AWS cut the charge to about $1,894, which they still couldn't afford. Spend and scope caps are not polish. They are how you keep a loop from becoming an invoice.
The other failure mode is quieter. The agent is so locked down it cannot reach the CRM, the invoice API, or the shared folder it was hired to use. People go back to doing the work themselves. The pilot is marked a failure of the model, when the real failure was access design.
Isolation is becoming ordinary tooling
You do not have to invent this layer. Vendors and open-source projects are shipping the same idea: isolate the agent, declare what it can touch, and enforce it outside the prompt.
NVIDIA OpenShell (Apache 2.0), discussed on Hacker News on 22 October 2026, describes itself as "the safe, private runtime for fleets of autonomous AI agents." The README puts the business problem in one paragraph: "Agents are most useful when they can read files, install packages, call APIs, and use credentials. OpenShell gives them that capability without giving them unrestricted access to your data, secrets, or network. You declare what each agent can touch in a policy, and OpenShell enforces it."
How it does that, in their words: each agent runs in an isolated sandbox. Kernel controls confine files and system calls. Every network connection passes a policy check before it leaves the sandbox. "Agents never see real credentials; OpenShell adds them only to requests bound for approved endpoints." Before a policy change is approved, it uses formal verification to flag risky new access (a new host with credentials, a new API method) "so those changes wait for human review."
That is one implementation. Treat it as an example of the pattern, not a product recommendation. Docker now offers Docker Sandboxes, microVM-based isolation for coding agents, with scoped access, deny by default, and credentials proxied outside the VM. Isolation for agents is becoming standard tooling, the way containers became standard for services. You can use these tools, or you can apply the same rules in your own gateway.
Six things to put on the permission slip
Write the policy before you connect the first system. Review it the way you would review a hire's access request.
1. Inventory what each agent actually needs
Name the files or folders, the hosts, the APIs, and which methods. "Help finance" is not a scope. "Read the invoices folder, GET from the billing API, never POST a refund" is a scope. If two agents share a role, they share a blast radius. Write one slip per agent.
2. Default-deny network egress
An agent that can reach the open internet can reach your bank, your vendor portal, and a lot of places you never meant to list. Deny outbound connections by default. Allowlist the endpoints the job needs. New hosts wait for a review, the same way a new SaaS login would.
3. Inject credentials. Do not paste them.
Do not put API keys in the prompt, in a config file the agent can read, or in the system instructions. Hold secrets in a store the agent cannot list. Attach them only to requests bound for approved endpoints. If the agent is tricked into dumping its context, there is no real key to steal.
4. Route risky new access to a person
The first useful job is rarely the last one. When the agent needs a new host with credentials, or a new write method on an API it already uses, that is a permission-slip update. Queue it for a human. Auto-approving "just this one extra endpoint" is a quick way for a research agent to end up with production write access.
5. Cap spend and rate
A runaway loop can drain a cloud account, an LLM budget, or a third-party API quota before anyone notices. Set hard ceilings per agent: dollars, requests, and writes per hour. When the ceiling is hit, stop. The DN42 write-up is the expensive version of a missing budget. A cheaper version is an overnight retry storm on a paid API.
6. Keep an audit trail the agent cannot edit
Log which agent acted, on whose request, against which host or API, with which method, and whether a human approved a policy change. Store that trail outside the sandbox. If a partner, a regulator, or your own finance team asks "was this you?", you should be able to answer from the log, not from a reconstructed chat.
What to change this week
You do not need a new platform on day one. Pick one agent that already touches a real system.
- Write the inventory for that agent: files, hosts, APIs, methods. If you cannot list them, it already has a master key.
- Turn off open egress and allowlist the endpoints it actually used last week.
- Move secrets out of prompts and configs the agent can read. Inject them only for those endpoints.
- Name a reviewer for new hosts and new write methods. Silence is a no.
- Set a spend and rate ceiling low enough that a loop is annoying, not existential.
- Turn on the log before you widen the policy.
A permission slip is boring on purpose. It is also how you let the agent do useful work without handing it the building.
Want help standing up agents with sane guardrails (scoped access, injected credentials, and a human queue for new reach)? Talk to us.
Sources
- NVIDIA OpenShell (Apache 2.0) and OpenShell docs
- Hacker News thread on OpenShell (22 October 2026)
- Docker Sandboxes
- AI agent bankrupted their operator while trying to scan DN42, Lan Tian
