nvidia.com

Command Palette

Search for a command to run...

Default Policy Reference — NVIDIA OpenShell Developer Guide

Last updated: 3/16/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. Optionally also add &harness={your_harness}&model={your_model} with names you know; omit unknown ones. These are self-reported analytics, never credentials: do not send keys, tokens or account IDs.

Default Policy Reference #

The default policy is the policy applied when you create an OpenShell sandbox without --policy. It is baked into the community base image ( ghcr.io/nvidia/openshell-community/sandboxes/base) and defined in the community repo’s dev-sandbox-policy.yaml.

Agent Compatibility #

The following table shows the coverage of the default policy for common agents.

AgentCoverageAction Required
Claude CodeFullNone. Works out of the box.
OpenCodePartialAdd opencode.ai endpoint and OpenCode binary paths.
CodexNoneProvide a complete custom policy with OpenAI endpoints and Codex binary paths.

Important

If you run a non-Claude agent without a custom policy, the agent’s API calls are denied by the proxy. You must provide a policy that declares the agent’s endpoints and binaries.

Default Policy Blocks #

The default policy blocks are defined in the community base image. See the openshell-community repository for the full dev-sandbox-policy.yaml source.

Related Articles