quiet robot
← All insights

Product · · 6 min read

The trust layer for AI agents

Everything that lets a business trust an AI agent's work, in one place: approvals for risky commands, keys the agent never sees, budgets, network locks, spend caps, saved work you can rewind, and a plain report of what the agent did. The rules live outside the agent.

An AI agent is useful because it works on its own. It runs commands, reads files, calls services and tries again when something fails. That's also why people hesitate to let one near real work. The question isn't whether the agent is clever. It's whether you can trust what it does when nobody is watching.

You can't get that trust by asking the agent nicely. An agent reads things it didn't write, like emails, web pages and other people's code, and any of them can carry hidden instructions. Today's AI models can't reliably tell those apart from yours. (We wrote about this in Containing prompt injection.) A rule written into the prompt is a rule the agent can be talked out of.

So in Quiet Robot, the rules live outside the agent. They sit around the sandbox the agent works in, where the agent can't read them away, edit them or approve its own exceptions. This post walks through each piece of that trust layer, in one or two plain sentences, with a link to the details.

The rules sit outside the agent: a risky command waits for a person, and a no means it never runs.Agent works on the task (Agent), Wants to run git push (Run command), Run this command? (Approval), Command runs (Run command), Never runs (Output). Arrows: Agent works on the task to Wants to run git push; Wants to run git push to Run this command?; Run this command? to Command runs on Approved; Run this command? to Never runs on Denied.ApprovedDenied◉ AGENTAgent works on the task>_ RUN COMMANDWants to run git pusha rule holds it✋ APPROVALRun this command?>_ RUN COMMANDCommand runs⚑ OUTPUTNever runs
The rules sit outside the agent: a risky command waits for a person, and a no means it never runs.

1. Risky commands wait for a person

Some commands deserve a second look: deleting folders, sudo, pushing code, sending data out with curl, or connecting to another machine. Every new organization starts with rules that hold commands like these until a person approves or denies them.

You decide from the Approvals page in the dashboard or straight from the email, which has Approve and Deny buttons and shows the exact command. A banner on every dashboard page tells you when something is waiting. An API key can't approve, so an agent can never approve its own command. And if an approved command does damage, Undo puts the files in the sandbox's home folder back the way they were just before it ran.

Read more: Approvals.

The Approvals page on a phone: Delete them? from Tidy up old reports, with the question, and Approve and run and Deny buttons.
A waiting approval on a phone. Read the question, then choose Approve and run, or Deny.

2. Keys the agent uses but never sees

When an agent needs one of your API keys, say for Claude or your billing system, the sandbox gets a stand-in that's useless anywhere else. The real key is added after the call leaves the sandbox, and just for the services you listed for that key. An agent can't leak a key it never holds.

Read more: Your keys never enter the sandbox, and Keys, identity and the outbound check.

3. Rules and budgets for each key

A key that can reach the right service can still be used for the wrong thing. So each saved key can have rules, the calls it may make, and every other call is refused before it reaches the service. It can also have a budget in requests or dollars, for each run and each month. Owners and admins get an email at 80%, and at 100% the key's calls stop until someone raises the budget.

If you want a check of your own on every call that leaves, such as a filter for leaked data, you can add an outbound check. If your check doesn't answer yes, the call is refused.

Read more: Rules and budgets for each key.

4. Network controls with a lock

New sandboxes can reach the open internet, so installs and API calls work right away. When you want it tighter, pick Only what I allow or Blocked under Policies, and tick Lock the network so nothing inside a sandbox can widen it, not even a command run with sudo. Every blocked attempt is written to the audit log.

Not sure which sites an agent needs? Turn on learn mode, let it do its job, and allow just the sites it reached.

Read more: Outbound network.

5. Spend caps a person has to raise

You can put a spending cap on a single sandbox, set a default cap for every new sandbox, and give each API key a monthly cap. At 80% your owners and admins get an email. At 100% the sandbox pauses with its files kept, and it stays paused until a person raises the cap in the dashboard. An API key can lower a cap but never raise or remove one, so an agent can't lift its own limit.

Read more: Spend caps for each sandbox and API key.

6. Work is saved by default, and you can rewind

New sandboxes are saved by default. When one reaches its time limit or pauses, its files are kept, and the next command or Resume picks up where the agent left off. A saved sandbox is deleted after 72 hours with no use, and you get an email a day before.

When you want a known good point to come back to, take a snapshot. If the agent takes a wrong turn later, rewind the sandbox to it, and you can save the current files when you do, so you can go forward again.

Read more: Saved or ephemeral and Snapshots.

7. A record of everything, and a report a person can read

Every create, command, file read and write, approval, blocked connection and destroy goes into your organization's audit log, with who did it and when. It records the names of environment variables, never their values.

Most people don't want to read a log. So every sandbox also has a "What did the agent do?" report: a plain summary, each approval and who made it, the sites it reached and was stopped from reaching, the files it changed, and the full timeline. It's written from the audit log, not by an AI model, so it says what happened and nothing else. Download it as a PDF to share with a manager or a client.

Read more: Audit log.

8. Limits on every Playground run

In Agent Playground, every run has three limits: how many times it can loop, how long it can take and how much it can spend. They're checked on our side, not in your browser, so a run stops on time even if you close the tab. Press Simulate before you run and At most tells you the most a run could cost with the limits you set.

A flow can add an Approval block before a step that can't be undone, tick Ask a person first on any step, and narrow the network for one run or one step. It can add to your organization's rules, never loosen them.

Read more: Limits and safety, and Let it run without watching for a walk through each one.

What these have in common

Look back over the list and the same idea shows up in every item. The agent asks; something else decides. The approval is made by a signed-in person. The key is added outside the sandbox. A key can lower a spend cap, but raising it takes a person, and a locked network can get stricter but never wider. The report is written from the record, not from the agent's own account of itself.

That's what makes it a trust layer rather than a set of good intentions. When an agent is tricked, confused or just wrong, the rules around it still hold. We explain why this matters, with the security research behind it, in Every AI helper needs a supervisor.

Who it's for

Business owners who want an agent to do real work, like sort the inbox or total up the sales, and need to know it can't spend, send or delete more than they agreed to.

Teams who answer for an agent's work. Operations, finance and security people who don't write the agent but sign off on it. They get an approval email when something matters, a cap they control, and a report they can read without opening a log.

Developers building agents for others. When a client asks "what did it do, and what stopped it from doing more?", you can send them the report and show them the rules, rather than asking them to trust your code.

To try it, sign up or sign in, open Policies to see the approval rules and network default your organization starts with, then run the Runaway loop recipe and watch a limit stop it.