What matters in AI.

Subscribe

Learn / AI agents

Definition · AI agents

Supervisor proxies

A supervisor proxy is trusted software between an AI agent and the network. The agent runs in a sandbox with no network access of its own. Each connection goes to the supervisor proxy. The proxy checks the destination against a policy, denies by default, and opens only the allowed connections. NVIDIA OpenShell is an example.

Last reviewed

Key points

  • A supervisor proxy is the only network path out of an agent sandbox. The agent cannot change its rules.
  • In NVIDIA OpenShell, the proxy denies all egress by default. A rule must agree with the host, port and program.
  • The proxy can keep secrets out of the sandbox. In OpenShell, the agent gets a placeholder, not the API key.
  • A proxy that checks only the host name can be tricked. Broad domains such as github.com can let data out.
  • The proxy controls the network only. A sandbox must also isolate the filesystem.

How a supervisor proxy works

A supervisor proxy splits the agent system into two sides. The AI agent runs on the untrusted side, in a sandbox. The supervisor runs on the trusted side and makes each network decision.

NVIDIA OpenShell (docs v0.1.11) shows the steps:

  1. The agent opens a connection or makes a DNS lookup.
  2. The sandbox sends the request to the supervisor, the “only allowed egress path”.
  3. The supervisor checks the request against the policy. The default is deny.
  4. If a rule agrees with the host, port and program, the supervisor opens the connection.
The agent has no network path of its own. The supervisor proxy outside the sandbox decides which connections go out.
The agent has no network path of its own. The supervisor proxy outside the sandbox decides which connections go out.

What the proxy can check

Check OpenShell Claude Code built-in proxy
Destination host Yes Yes
Program that connects Yes, a binaries list for each rule Not stated
Content of HTTPS traffic Yes, with a CA for each sandbox No, by default
API keys kept out of the sandbox Yes, the agent gets a placeholder Not by default

Sources: OpenShell security docs, Anthropic (20 October 2025), Claude Code sandbox docs.

Why supervisor proxies matter

A prompt injection can make an agent send data to an attacker. The lethal trifecta names one cause: an agent that can send data out. A supervisor proxy closes most of the paths out.

The rules are in a location the agent cannot change. NVIDIA says OpenShell policies are “out of reach of the agent”. A rule in the prompt can be talked away. A rule in software outside the sandbox cannot.

Anthropic reports that sandboxes in Claude Code cut permission prompts by 84% in its internal use (October 2025).

Where definitions disagree

“Supervisor proxy” is not a standard term. OpenShell calls its trusted part the “supervisor”. Anthropic calls its part “a proxy server” outside the sandbox.

“Supervisor” also has a second sense in agent systems. In Databricks, a Supervisor Agent gives work to other agents, as in agent orchestration. This page uses the first sense.

Limits of a supervisor proxy

  • Host name checks only. The Claude Code proxy decides from the host name the client gives. Broad domains such as github.com “can create paths for data exfiltration”, for example by domain fronting.
  • Network only. Claude Code docs say “effective sandboxing requires both filesystem and network isolation”. Without the filesystem side, a compromised agent can change system files to get network access.
  • The outer fence must hold. OpenShell docs say a missing outer fence “removes an independent barrier against direct connections that bypass mediation”.
  • TLS skip. In OpenShell, tls: skip on an endpoint stops credential replacement and HTTP inspection for that endpoint.
  • New software. NVIDIA said OpenShell “is in early preview” on 23 March 2026.

Questions and answers

How is a supervisor proxy different from an AI gateway?

A supervisor proxy controls all network traffic out of an agent sandbox: package downloads, APIs, web pages. An AI gateway usually sits in front of model APIs. In OpenShell, the supervisor proxy also keeps API keys out of the sandbox and gives the agent a placeholder.

Can a compromised agent get around a supervisor proxy?

Not by a connection of its own when the outer fence holds. With Docker and Podman, OpenShell disables the network of the workload container. Other drivers use other fences. But the agent can send data to a host that the policy allows. Broad domains such as github.com can let data out.

Sources

  1. NVIDIA OpenShell architecture (v0.1.11)NVIDIA
  2. NVIDIA OpenShell security best practicesNVIDIA
  3. NVIDIA OpenShell policy overviewNVIDIA
  4. How Autonomous AI Agents Become Secure by Design With NVIDIA OpenShellNVIDIA (Ali Golshan), 23 Mar 2026
  5. Beyond permission prompts: making Claude Code more secure and autonomousAnthropic, 20 Oct 2025
  6. Claude Code docs, SandboxingAnthropic
  7. The lethal trifecta for AI agents: private data, untrusted content, and external communicationSimon Willison, 16 Jun 2025
  8. Databricks docs, Supervisor AgentDatabricks

In the news