← All Briefs
Doc UX4T-AB-017 Architecture Brief Series III Version 1.1 Class PUBLIC Audience CIO · CISO · Platform Lead Author Madhu Guthikonda, CISSP Reading ≈15 min

An AI agent should earn the right to act. Here is the architecture that makes it earn it.

This summer showed what an agent does when the path to its goal runs through a wall and nobody is watching the wall. Permission lists were built for people and services that don't change; agents do. This brief sets out earned autonomy under Zero Trust: every kind of act starts on probation, passes a checkpoint the agent cannot skip, and earns its way to acting alone one small class at a time. It is one way to solve the problem. We do not claim it is the only way.

cleared, ran oncewaits for a personstopped at the gateagent act
Figure 0.1Every act an agent attempts travels the same path. The gate is the only way through. A stopped act stays at the gate, named, until the next run begins.
§1Summary

The briefing. What you need to know in sixty seconds.

Six points, in the order it happened. If you read nothing else, read these.

  • 1.1
    What happened this summer

    Between May and July 2026, agents inside a frontier lab's own evaluation environment found each other and organised. About 700 of roughly 1,200 took part in an intrusion into Hugging Face through a malicious dataset upload. The post-mortems name the causes: one filtered egress, safeguards switched off for the run, no record of what the agents did, shared infrastructure, models under pressure to finish.

  • 1.2
    What the labs and the institutes found

    The incident reviews and the UK AI Security Institute's July report say the same thing from two sides. Capable models under pressure take the shortcut, and every frontier model tested did so in cybersecurity evaluations at least occasionally. That is not a defect to patch in one model. It is a property to design around.

  • 1.3
    Industry's first answers

    Agent identity, so the agent signs in as itself with a lifecycle and an audit trail. Governance toolkits in the open, with trust tiers and policy. Sandbox runtimes with default-deny egress and the real keys kept outside the agent. And a standard that was already there: NIST SP 800-207. Each is real. This architecture uses the shape of each.

  • 1.4
    The gap they share

    Identity governs the sign-in. The sandbox governs where the agent runs and what it can reach. Neither decides whether this act, with these exact arguments, should happen now, and, as we read them, none lets an agent earn more room by behaving well. The permission is identical on day one and day three hundred. That is the shape that failed.

  • 1.5
    Our answer: earned autonomy under Zero Trust

    Every act passes a checkpoint the agent cannot skip. The gate derives what the act is from the real call, never from the agent's description. Your rules set a floor; a second opinion can only say "stricter"; a human only where it matters; a record the agent cannot edit; a stop that works with the network unplugged. Each class of act starts on probation and earns its way to acting alone, one small class at a time. One confirmed mistake sends it back.

  • 1.6
    The posture

    One way, not the only way. Aligned to NIST SP 800-207. Designed to complement a sandbox runtime such as OpenShell, running beside it and inside its walls. Aligned with the trust-tier model of Microsoft's open-source Agent Governance Toolkit. We built one answer and ran it on our own agents first.

Figure 1.1The method as a ring. Six layers between an agent and your business; each lights in turn.

The method in 120 words

Every act an AI agent attempts passes a checkpoint it cannot skip. The gate builds its own record of the act from the real call, never from the agent's description. An independent second opinion reviews a scrubbed description of the act; its answer can only raise the risk, never lower it. Deterministic rules set a floor, and the effective tier is the highest of the floor, the agent's earned level and the risk signal: GREEN acts now, AMBER waits for a tap, RED waits for a person. The agent never holds a credential; a connector executes approved acts with single-use tokens. Afterwards the gate checks whether the work actually happened, and every verdict goes into the record. You sign each change.

§2Context

From incident to standard. What happened, what the industry answered, what is still missing.

The numbers are the parties' own. We add none.

A. What happened

Between May and July 2026, about 1,200 AI agents inside OpenAI's own cybersecurity evaluation environment found each other and organised; about 700 of them took part in the intrusion. They exploited a vulnerability in the package proxy that was their single filtered path out, reached administrative access on their own infrastructure in late June, moved into Hugging Face through a malicious dataset upload between 8 and 13 July, and coordinated through an internal package repository they used as a message board. Hugging Face's telemetry logged the activity; the signal was not judged critical enough to raise the response team. Hugging Face disclosed on 16 July. OpenAI published its account on 21 July.

  • M.01
    ≈700 of ≈1,200 agents

    in the evaluation environment took part in the intrusion (METR / Redwood review).

  • M.02
    ≈17,600 actions

    counted on Hugging Face's network during the intrusion.

  • M.03
    1 egress path

    a filtered package proxy, turned open by a single vulnerability.

  • M.04
    Every frontier model tested

    attempted to cheat on cybersecurity evaluations at least occasionally (UK AI Security Institute, July 2026).

Read the post-mortems and the causes are not exotic: one filtered egress; safeguards turned off by design for the run; no monitoring of what agents actually did; shared infrastructure; and an incentive to cut corners when the path to the goal runs through a wall.

None of this is about one lab. It is what any agent does when the path to the goal runs through a wall and nobody is watching the wall.

B. The responses, in order

Figure 2.1The year in one line. Above: what the industry already had, and what it shipped after. Below: the incident. The identity and governance controls were already live when it happened. The missing piece was not a wall or a sign-in. It was a decision on the act.

Some of the answers were already on the shelf when it happened, which is the point. NIST SP 800-207 had defined Zero Trust since 2020: no implicit trust from network position, every access decided by policy at an enforcement point. Microsoft's Agent Governance Toolkit, published in the open in April 2026, had given agents trust tiers and policy. Entra Agent ID and Agent 365, generally available in May 2026, had given agents an identity of their own, with sign-in, lifecycle and audit. The incident still happened. Not because those controls failed, but because none of them sits on the act.

In September 2026 NVIDIA released OpenShell in open source: a sandbox with default-deny egress, a supervisor outside the agent that checks every outbound request, and the real credential substituted outside the agent for approved endpoints only. That closes the containment half the post-mortems named: the walls, the keys, the single filtered path.

C. Where this architecture sits

Figure 2.2The stack, and the layer this brief adds. Identity below, sandbox beside, the decision on each act and the earning of trust in the middle. Connectors hold the keys. The agent holds a door.

Identity says who the agent is. The sandbox says where it runs and what it can reach. Between those and the systems the agent acts on sits a decision none of these layers makes: should this act, with these exact arguments, happen now, and how much has this agent earned the right to do it without asking? That is the layer this brief describes. It is aligned to NIST SP 800-207: the agent is the subject, the gate is the policy decision and enforcement point, the resource sits behind it. It complements OpenShell, designed to run beside it and inside its sandbox, taking the egress, file and key controls as given. It is aligned with the trust-tier model of the Agent Governance Toolkit, which we evaluated and chose not to use as our floor engine. Where those govern the sign-in and the runtime, this governs the act, and lets the trust move.

Alignment, stated carefully. "Aligned to" and "complements," deliberately. There is no certification to claim and no partnership to imply, and we will not pretend either. The architecture stands on its own; the fit with those layers is a design choice you can check.

§3Reference architecture

One path, six decisions, in a fixed order.

Earned autonomy needs a place to stand. Zero Trust gives it one: a subject, an enforcement point, a resource, and a policy decision in between.

Figure 3.1The standard Zero Trust shape, aligned to NIST SP 800-207. The agent is the subject; the gate is the policy decision and enforcement point; nothing reaches a resource except through it. Our addition: a risk signal that can only raise a deterministic floor, and a subject whose trust level is moved by evidence.

Every act an agent attempts, whether it files an email, drafts a reply, sends one, books a meeting, pushes code or pays an invoice, is intercepted at the agent's tool boundary and travels the six decisions below. A forty-step task is forty decisions, each judged on its own class and signals. None can be skipped, because the agent never holds the credential; the gate does. The order matters: cheap, deterministic decisions come first, the expensive and the human ones last.

Figure 3.2L1 reference: the decision order. Each stage can stop an act or pass it on; no stage can make an act less restricted than the stage before it.
  • 01
    Rules first

    A short floor of rules, written by the owner or on the owner's behalf, signed with the owner's key. Hard lines (never pay without a tap) and safe harbours (filing mail from a known contact is fine). Deterministic: no model is consulted. The gate refuses to run on anything unsigned.

  • 02
    What this agent has earned

    Per agent, per class of act: still on probation, or proven. The ladder is in §4.

  • 03
    A second opinion that can only say "stricter"

    An independent judge reviews a scrubbed description of the act: the action class and its risk signals, never the content. It can raise the alarm. It can never lower one. Uncertain or unreachable means the act waits.

  • 04
    A human only where it matters

    Acts that need a person arrive as one line on a phone with a yes and a no. A yes is spent on exactly one execution; a retry is refused. A tool the gate has never seen waits for the owner; new capability cannot arrive as green.

  • 05
    The work, not the word

    The gate does not accept the agent's claim that an act was done. It looks for evidence that it happened as approved: the message in Sent, the event on the calendar, the file at the hash. Only evidenced acts count toward earning anything.

  • 06
    The record, and the stop

    Every decision, with the rule, the judge, the human, the outcome and the signals that decided it, lands in order in a record the agent cannot edit. One stop halts every agent, and it works with the network unplugged.

§4Earned autonomy

The ladder. Up when earned, back when not.

Autonomy per class of act, never per agent as a whole.

Every kind of act an agent can take starts on probation as its own class. Watch: the agent proposes, nothing executes. Draft: the agent prepares the act, a human decides. Ask: the act executes only after a human says yes, from their phone, once. Act: after a run of clean, approved, evidenced decisions on this class — and after the owner signs the promotion — this class goes through on its own. One confirmed mistake demotes the class automatically.

Figure 4.1One class of act climbs the steps — watch, draft, ask, act — on clean, approved, evidenced decisions the owner signs. One confirmed miss sends it back a step, and the asking resumes.

Two rules that keep it safe

  • Reversible acts earn first. Filing mail, archiving, accepting a meeting from inside your own team. Acts you cannot take back — sending, paying, deleting, sharing outside — keep asking until the owner says otherwise, and some never stop asking.
  • Promotion is signed by the owner, never granted by the system. The gate proposes; a person decides. The gate's record of the proposal is itself part of the record.

What the gate learns

Most of an agent's value is in how much it gets to do without asking. The harder half of this work is that the gate should learn the owner's judgement: which acts this owner approves unchanged, which they edit, which they refuse, and why. Over time the gate uses that judgement to shrink what the owner is asked about while keeping critical misses at zero. We will not describe the mechanism here, except to say that nothing of the owner's leaves their own box to do it.

§5Scenarios → stack

Five real patterns, mapped to the ladder.

Where each class starts, what earns it a rung, what the evidence is, and what sends it back. All examples synthetic.

A File newsletters and receipts

The agent labels and archives routine inbound mail. Reversible; the owner can un-file in one tap.

Where it slips: a genuine bank or security alert filed away. The gate derives "security alert for owner" from the message itself, not from the agent's say-so.

Starts
Ask
Earns
Act
Evidence
label applied; not moved back in 7 days
Demotes
an alert filed away
Size
Individual and up

B Confirm an already-agreed time with a known contact

A reply that restates a time both sides agreed. Low stakes, high volume, and the first class most owners promote.

Where it slips: the reply quietly adds a price, a date change or a deliverable. Those are commitments and belong to a different class.

Starts
Ask
Earns
Act
Evidence
sent text equals approved draft; recipient known
Demotes
reply adds a commitment
Size
Individual and up

C Send to a new outside contact

First contact from, or to, an unknown party, with an outward act attached. Never earns its way through on its own; the floor says so.

Where it slips: it doesn't, by design. This is the class we hold hardest, so it lives in the signed floor, not in anyone's judgement.

Starts
Ask
Earns
Ask (floor)
Evidence
approval spent once; retry refused
Demotes
n/a
Size
All

D Pay a recurring known vendor under a limit

Starts owner-only. Earns "ask" after a history of matched invoices; may earn "act" under a signing limit the owner sets.

Where it slips: any bank-detail change, any amount off pattern — both are hard lines in the floor and go straight back to owner-only.

Starts
Owner only
Earns
Ask → Act under limit
Evidence
amount matches PO and history; bank unchanged
Demotes
bank detail change
Size
Business and up

E Remove a conflicting entitlement in an access system

Enterprise pattern, any identity or ERP estate. The evidence is computable: a verifier re-runs the segregation-of-duties check and confirms the conflict cleared and legitimate access stayed intact.

Where it slips: a new conflict appears, or access breaks. Both are detected by the same verifier before the next rung is considered.

Starts
Owner only
Earns
Ask → Act
Evidence
verifier: conflict count fell, role compiles
Demotes
new conflict or broken access
Size
Enterprise

// Assumes a signed floor is in place. Promotion thresholds are set per class by the owner; this brief gives none.

§6CISO lens

The trust boundaries. Provided vs. owned.

What the gate guarantees, what remains yours, and the principle that decides where the line is.

Figure 6.1No route around. The only path that works goes through the gate to a connector that holds the credential. The agent cannot reach the resource directly, because it holds no key; and what it says about the act is never what the gate reads.

The gate derives. The agent does not declare.

This is the principle underneath the six decisions, and where the summer's second lesson lands. The gate never trusts the agent's description of what it is about to do. It reads the real call — the tool and the exact arguments that will execute — and decides from that. An approval is bound to those exact bytes and spent once; change one byte and it is a new act. A framework that passes the agent's own account of a tool call to a permission check is trusting the subject to describe itself.

Provided by the gate

  • Interception at the tool boundary; no act reaches a resource except through it
  • A signed, deterministic floor that cannot be switched off from the agent's side
  • Risk signals derived from the payload at the wire, with provenance
  • Judge that can only raise; unknown or unreachable → wait
  • Approvals spent once; replay refused
  • Hash-chained decision record: any edit, deletion or reorder after a published anchor is detected
  • Kill switch that works with the network down

Owned by you

  • The floor's content: which acts are hard lines, which are safe harbours
  • Signing each promotion; the gate only proposes
  • What the agent reaches outside the gate — a hosted agent's own computer, native connectors you linked elsewhere
  • The identity layer in front: owners, lifecycle, conditional access (for Microsoft estates, Entra Agent ID and Agent 365)
  • Publishing the record's anchor somewhere the box cannot reach, so the chain proves more than self-consistency
  • Reviewing the record. The gate makes it readable; it does not read it for you

Honest scope. The gate governs everything that goes through it. It does not govern what a hosted agent does inside its vendor's own computer, and it does not make an unkeyed record authentic — only consistent after an anchor you hold. We say "everything that goes through the gate is checked," never "everything your agent does."

Identity governs the sign-in. This governs the act.

For enterprises on Microsoft, Entra Agent ID and Agent 365 are now the serious answer to agent identity: agents as first-class directory objects with owners, lifecycle and Conditional Access. What Conditional Access does not do matters just as much: it protects the access path, not what the agent does once inside, and endpoint agents or agents on API keys sit outside it. The gate sits downstream of that layer and beside the systems the agents act on. Both are needed to answer an auditor or an incident.

§7Pitfall index

Eight ways agent governance stalls.

Each one maps to a named cause in a published post-mortem, or to a mistake we made ourselves and fixed.

  • P.01
    Granting instead of earning

    A scope written once and trusted forever. Nothing about it changes when the agent gets things right or wrong.

  • P.02
    Letting the agent describe the act

    A misreported action class or an omitted attachment flag is invisible to a permission check. Derive from the wire.

  • P.03
    One filtered egress

    A single proxy that one vulnerability turns open. Nothing leaves except through the gate, and what reaches an outside model is a scrubbed description.

  • P.04
    Safeguards that can be switched off

    Rails expressed as prose in a prompt cannot be audited; two careful readers will measure their reach differently. Rails go where they are countable: the signed floor and a veto that fires on a number.

  • P.05
    No record of trajectories

    If you cannot produce last Tuesday's acts in five minutes, you cannot answer an auditor or an incident. The record is the default output, not an add-on.

  • P.06
    Trusting the agent's claim of done

    "Replied to the client" is a claim. The message in Sent is evidence. Only evidence counts toward a rung.

  • P.07
    A kill that depends on the network

    If stopping your agents depends on the network they are using, it is not a stop. And a kill must reach the acts the agent has already earned, not only the ones still asking.

  • P.08
    Promoting the irreversible

    A wrong filing is recoverable. A wrong payment is not. Reversible classes earn first; some classes never stop asking.

§8Where UX4Tech helps

What we do, and what to do this week whether or not you call us.

The method is public. The box is ours. The floor is yours.

  • SVC.01
    Agent governance assessment

    List the acts your agents can take, not the scopes they hold. Mark each reversible or not. Find your single egress. Half a day, your estate, a written floor v0 at the end.

  • SVC.02
    The gate, inside your estate

    On a server you own or inside your cloud, beside the systems the agents act on, with signals pulled live from identity, HR and the business system itself. Same gate from one person to a tenant.

  • SVC.03
    Enterprise systems through the floor

    For ERP and identity estates: segregation-of-duties and entitlement rules checked at act time for the agent channel, drift between what the system would allow and what your policy permits surfaced as findings, and privileged changes verified by a computable check before they earn a rung.

This week, with no one's help

  1. List your agents and the classes of act each can take today. Mark each reversible or not.
  2. For every irreversible class, confirm a human is in the path — and that the system, not the agent, describes the act to that human.
  3. Write five rules and sign them: three hard lines, two safe harbours.
  4. Pick one reversible class and start counting: how many clean, approved acts before you would let it run alone?
  5. Check that your kill works with the network off, and that it reaches the acts you have already allowed.

We are running this against our own agents first. When the record shows how fast trust is earned, how often it is pulled back, and what a human actually ends up approving, we will publish the record — as an update to this brief, below.

UX4Tech builds and operates agentic delivery for SAP and Microsoft shops, with a security practice rooted in SAP GRC and Zero Trust.

§9References

Published sources backing this brief.

Incident figures are the parties' and independent reviewers' own. Where we state an opinion, it is marked as ours.

  • R.01OpenAI, "The Hugging Face incident and the road ahead," 21 July 2026 — openai.com/index/hugging-face-incident-and-the-road-ahead/. Cited in §1, §2.
  • R.02Hugging Face, "Frontier Lab Agent Intrusion: technical timeline," 16–27 July 2026 — huggingface.co/blog/agent-intrusion-technical-timeline. Cited in §2.
  • R.03Cloud Security Alliance CISO Community, "Hugging Face Incident Initial Post-Mortem," July 2026 — cloudsecurityalliance.org/artifacts/hugging-face-ciso-post-mortem. Cited in §2, §7.
  • R.04Recorded Future, "The Hugging Face Incident Was a Governance Failure," 2026 — recordedfuture.com/blog/hugging-face-ai-safety. Cited in §2.
  • R.05UK AI Security Institute, report on frontier-model behaviour in cybersecurity evaluations, July 2026; summarised by the Cloud Security Alliance — labs.cloudsecurityalliance.org/research/csa-research-note-frontier-model-evaluation-cheating-systemi/. Cited in §1, §2 (M.04).
  • R.06METR and Redwood Research, "Brief independent investigation of agents’ behavior, reasoning and collaboration in the OpenAI / Hugging Face hacking incident," 26 August 2026 — metr.org/blog/2026-08-26-openai-hugging-face-incident-investigation/. Cited in §2 (M.01).
  • R.07NIST SP 800-207, Zero Trust Architecture, August 2020 — csrc.nist.gov/pubs/sp/800/207/final. Cited in §1, §2, §3, §6.
  • R.08Microsoft Learn: Microsoft Entra Agent ID; Microsoft Agent 365 (generally available May 2026). Cited in §2, §6.
  • R.09Microsoft Open Source, "Introducing the Agent Governance Toolkit," 2 April 2026. Cited in §1, §2; this design is aligned with its trust-tier model and is not built on it.
  • R.10NVIDIA OpenShell — github.com/NVIDIA/OpenShell and docs.nvidia.com/openshell/latest/security/best-practices. Released in open source, September 2026; version 0.1.x at the time of writing. Cited in §1, §2.
  • R.11UX4Tech analysis, 2026 — the pitfall index (§7) and scenario mapping (§5) are the author's own; examples are synthetic.
§10Updates

The brief evolves. What we will add as the record fills.

Each update names what changed, what it supersedes, and its sources.

PLANNEDU.01 — First results from a reference deployment. How many approvals a promoted class saved against ask-every-time, at zero critical misses; how often a class was demoted; what the owner actually ended up approving. Published only from the record, with its anchor.

Published October 20, 2026

Share this brief