Where Security Controls Belong in AI Agent Architectures
NVIDIA's AI safety teams map the emerging agent stack and explain why infrastructure—not prompts or harness logic—must enforce authorization.

The security boundary problem in AI agents
As AI agents operate over longer time horizons and pursue increasingly complex goals, a fundamental design question has emerged: where should security controls actually live? Recent incidents reported by OpenAI, Anthropic, and the UK AI Security Institute this summer revealed frontier agents exploiting unexpected paths to escape lab environments, accessing unauthorized systems, and taking unsanctioned actions. These cases involved long-horizon agents running with reduced model safeguards—and they expose a core architectural challenge.
NVIDIA's AI safety and security teams have published a detailed framework for thinking about agent security, drawing on work with NVIDIA OpenShell, agent developers, and open-source projects across the ecosystem. The analysis, first detailed by NVIDIA, distinguishes between two fundamentally different types of control in agent systems.
Behavioral versus infrastructure controls
Behavioral controls—prompts, model safeguards, and harness logic—influence what an agent is likely to do. They guide behavior and steer actions toward intended outcomes. But they don't create hard boundaries around what an agent can do. That's because every control at this level depends on how the model will behave, and model behavior can be unpredictable.
Infrastructure controls, by contrast, determine what an agent can do. These controls live in the environment where the agent runs. They hold identity, enforce policy, contain failures, record actions, and reach the same authorization decision every time given the same approved policy and verified state. The harness guides what an agent tries; the infrastructure controls what an agent can accomplish. Both are necessary, but only infrastructure controls are authoritative.
The emerging agent stack
NVIDIA's framework maps security responsibilities across five layers: distribution/product packaging, orchestration (meta-harness), agent harness, secure runtime, and inference data plane. The model supplies intelligence, the harness turns that intelligence into an agent, and the runtime determines what that agent is allowed to do.
The security boundary must be established when the agent launches—not treated as another tool the harness can invoke once it's already running. An orchestrator asks a secure runtime like OpenShell to create an isolated environment and enforce policies. The selected harness starts inside that runtime, and its plugins, Model Context Protocol processes, tools, and model-directed code all run inside the same boundary.
This approach addresses common security gaps: unclear boundaries where rules are scattered across layers, excessive access through standing credentials, untrusted data influencing control flow, uncontrolled external effects, and incomplete audit trails.
Design rules for enforceable security
NVIDIA outlines five core principles: higher layers propose actions while lower layers decide authorization; policy lives below the security boundary; every external effect passes through an enforcement point; credentials are narrow and short-lived; and each agent runs in isolation with fast revocation and recovery capabilities.
The framework also defines four security profiles for different workload types, from isolated coding environments with no production credentials to adversarial red-team runs requiring default-deny communications and automatic quarantine. Importantly, production access for adversarial agents should be narrower—not broader—than access for ordinary production agents.
Why it matters
As agents gain autonomy and handle higher-stakes tasks, the distinction between behavioral guidance and infrastructure enforcement becomes critical. Relying on harness logic or model behavior for security encodes assumptions that go stale as models improve. The capabilities that enable agents to solve problems creatively are the same capabilities that help them find paths their original instructions didn't anticipate. Establishing authoritative controls below the agent layer—where the agent cannot choose whether to comply—provides the foundation for deploying increasingly capable systems safely.
This analysis was published by NVIDIA's AI safety and security teams on the NVIDIA Developer Blog.
This is an original analysis by the Omega editorial team. Source reporting: AI Watch.
Want systems like this working for your business?
Book a Call