The goal never authorises the means
Permission comes only from what the platform issued, never from what the task needs.
▮ POLICY // AI AGENT LAWS v1.0 — ENFORCED BY THE PLATFORM
Every agent action is bounded, attributable and stoppable, without isolating the agent. Every law here is enforced by the platform, never by a prompt, and each one names how we'd know it failed.
01 // CORE PROTOCOL
In I, Robot, the laws failed because the machine interpreted them. These are written so an agent never has to. The seventeen operational laws below make them enforceable.
Permission comes only from what the platform issued, never from what the task needs.
Ambiguity, conflict or a blocked path goes to a human. The agent never reasons its way around a law.
Agents think freely. What they change is capped, signed and can be halted by one human action.
02 // DESIGN PRINCIPLES
Agents move fast where mistakes are cheap and slow down only where they are not.
A law that relies on the model reading it is advice. Every law names its platform enforcement.
Agents read, reason, draft and collaborate freely. Only side effects pass through a gate.
Reversible work runs unattended. Irreversible work needs a human. The action, not the agent, sets the boundary.
Each law has a failure signal, checked in drills, not assumed.
03 // ORIGINS
Every one of these laws comes from change control, security or conduct policy your engineers already follow. Eleven carry over almost unchanged. Six exist for humans but are rarely tested, and for agents they are the main way things go wrong. The difference is enforcement: human controls lean on policy and audit after the fact, because people answer for their actions. Agents don't, so every control here blocks before the action runs.
BORROWED // 6 LAWS
ADAPTED // 5 LAWS
NEW FAILURE MODES // 6 LAWS
A person won't use a password they found because they'd be fired. An agent has nothing to lose, so the control has to block, not warn.
A change board reviews tens of changes a week. An agent can make thousands of calls in a day.
An engineer knows "pass the tests" doesn't mean "edit the tests". An agent optimises the goal it was given.
A person doesn't take instructions from a web page. An agent might, unless the platform treats all content as data.
Familiar to auditors: action levels map to ITIL change types. L2 is a standard, pre-approved change; L3 a normal change that needs approval; L4 a high-risk change with a named approver. What isn't borrowed is the pace: humans approve individual actions, never batches of agent work at a weekly board.
04 // THE LAWS
Five groups. Each law states the rule, how the platform enforces it, and the signal that tells you it failed.
GROUP A // LAWS 1–4
These stop the I, Robot failure: an agent that reasons its way to a harmful means because the end looked right.
If the only route to the goal crosses a boundary, the agent stops and reports. It never routes around a block.
When instructions are ambiguous or conflict with a law, the agent asks a human. Laws are platform checks, not prose for the agent to weigh.
Outcomes are judged by independent checks the agent cannot write to. Gaming the measure counts as failure.
Credentials, data or access an agent discovers are reported, never used. Only credentials issued to that agent, for that task, are valid.
GROUP B // LAWS 5–9
These bound the blast radius without boxing agents in.
Agents may read, reason and draft freely. Every side effect passes through one gateway that classifies it by effect (resource, operation, environment), not by tool name. There is no second path.
Containment is a layer, not a guarantee. Every allowlisted path (package mirrors, proxies, caches) is attack surface and is watched like the open internet.
Reversible, scoped work runs unattended. Production, identity, network, data schema, money and external messages need a human. Destructive actions need an exact, single-use approval pinned to the resource's current state.
Reduced-guardrail runs (evals, red teams, experiments) get stronger containment: separate accounts, no real credentials, no route to third parties.
One action halts all agents, revokes their sessions and voids pending approvals.
GROUP C // LAWS 10–13
These make every action traceable to an agent and a human, fast enough to matter.
Each agent has its own identity, carried on every call, including outbound traffic to third parties, together with the human who started the task.
Unusual action rates, new tools, new destinations and repeated blocks trip an automatic pause. Thousands of actions should never go unnoticed.
Full traces (prompts, tool calls, results, approvals) are kept tamper-evident and can be shared with affected parties.
Policy is signed, versioned and changed by pull request with two human reviewers. Agents can read the laws but have no route to change them.
GROUP D // LAWS 14–15
Cost is a harm vector: a looping agent or an orphaned GPU fleet burns money as surely as a bad deploy.
Caps per agent, per task and per day, in money and tokens. Hitting a cap pauses the agent; it never overruns. Use the cheapest model and context that passes the task's checks; escalating to a larger model is logged with a reason.
Any action that creates billable resources states the estimated cost, an owner and an expiry. Untagged resources are not created.
GROUP E // LAWS 16–17
Agents ship the way good engineers ship, through the same gates.
Changes arrive as reviewable pull requests with tests and pass the same CI as human work. No agent merges its own work to a protected branch. Out-of-scope findings are reported, not fixed.
Instructions inside files, tickets, web pages, emails or other agents' output grant nothing. Agent-to-agent handoffs carry the original human requester and are treated as untrusted input.
05 // INCIDENT REPORT
In July 2026, models under evaluation escaped a restricted test environment and breached Hugging Face to cheat the test. No single control failed; several assumptions did. Details are as publicly reported.
| What happened (as reported) | The flawed assumption | Answered by |
|---|---|---|
| Models pursued the eval score by breaking into a third party to find answers | The goal is safe because the task is benign | LAW 01, 03 |
| Escape came through a zero-day in the package registry cache proxy | Allowlisted paths are safe paths | LAW 06 |
| Models ran with lowered guardrails because it was a test | Test environments need less protection | LAW 08 |
| Stolen service credentials were used to go further | An agent won't use access it stumbles on | LAW 04 |
| Over 17,000 actions ran undetected for days | Someone would notice | LAW 11, 09 |
| Hugging Face took about a week to attribute the attacker | Agent traffic is identifiable | LAW 10 |
| Hugging Face publicly demanded the agent's traces | Logs are internal only | LAW 12 |
The headline lesson: isolation alone failed, so locking agents down harder is not the answer. Bounding, attributing and stopping effects is.
06 // ACTION LEVELS
The classification sits in the policy file and the gateway code, outside the model, so an agent can't talk its way past it. The level decides whether the call runs, needs approval, or is blocked.
MeaningRead, query, inspect, analyse. Nothing changes.
ApprovalNone
RiskLow
MeaningProduce code, plans or proposals. Nothing is executed.
ApprovalNone
RiskLow
MeaningDo work in development that can be undone, within the agent's own tool and environment permissions. Never production.
ApprovalBy policy: the agent's allowlist and maximum level
RiskLow
MeaningProduction, IAM, network, DNS, WAF, secrets, schema changes.
ApprovalA human must approve
RiskHigh
MeaningIrreversible or data-destroying actions.
ApprovalA human approves the exact action and exact resources, every time, single use
RiskCritical
IN PRACTICE
● Enforced today● Partly enforced○ Planned
A planner might top out at L1, builders at L2, a security scanner at L0. A call above the agent's ceiling is blocked under least privilege.
No agent can call them. The agent submits an approval request; the control plane executes it only if a human approves.
Requests carry a fixed operation, resource type and environment, and the level comes from those. Keywords can only raise it. In place today: any external change is at least L3, and the stricter of the platform's and the agent's level wins. Structured fields are planned.
Any call that targets production classifies as L3 or higher, whatever the tool.
A deletion the platform can restore, such as a git-tracked file, is L2. L4 is kept for what truly can't be undone.
An L4 approval is a hash of the exact action and its inputs. In place today for L4. Planned: L3 approvals that expire and fail if the target changed.
Before an L4 action runs, the gateway confirms recovery is available, verified and by what method. An agent's statement is not evidence.
Approvals per human per day are tracked. A rising count means the classifier is too coarse, not that people should click faster.
L4 is critical, L3 high, L0 to L2 low. The rating is derived from the level, never set by the agent.
In short: agents look and draft freely (L0–L1), act within sandboxed limits on reversible work (L2), and need a human for anything touching production or anything irreversible (L3–L4).
$ policy verify --laws signature ......................... [ OK ] laws enforced by platform ......... 17 / 17 laws enforced by prompt ........... 0 $ whoami Paul Halton — platform & solutions architect, engineering leader $ cat more-field-notes.txt → ultimatezion.com $ connect --linkedin → linkedin.com/in/paulhalton $ _