mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-20 06:00:06 +08:00
46 lines
1.4 KiB
Markdown
46 lines
1.4 KiB
Markdown
---
|
|
title:
|
|
page: Default Policy Reference
|
|
nav: Default Policy
|
|
description: Breakdown of the built-in default policy applied when you create an OpenShell sandbox without a custom policy.
|
|
topics:
|
|
- Generative AI
|
|
- Cybersecurity
|
|
tags:
|
|
- AI Agents
|
|
- Sandboxing
|
|
- Security
|
|
- Policy
|
|
content:
|
|
type: reference
|
|
difficulty: technical_beginner
|
|
audience:
|
|
- engineer
|
|
- data_scientist
|
|
---
|
|
|
|
# Default Policy Reference
|
|
|
|
The default policy is the policy applied when you create an OpenShell sandbox without `--policy`. It is defined in the [`deploy/docker/sandbox/dev-sandbox-policy.yaml`](https://github.com/NVIDIA/OpenShell/blob/main/deploy/docker/sandbox/dev-sandbox-policy.yaml) file.
|
|
|
|
## Agent Compatibility
|
|
|
|
The following table shows the coverage of the default policy for common agents.
|
|
|
|
| Agent | Coverage | Action Required |
|
|
|---|---|---|
|
|
| Claude Code | Full | None. Works out of the box. |
|
|
| OpenCode | Partial | Add `opencode.ai` endpoint and OpenCode binary paths. |
|
|
| Codex | None | Provide 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 following tables show the default policy blocks pre-configured in the file.
|
|
|
|
```{policy-table} deploy/docker/sandbox/dev-sandbox-policy.yaml
|
|
```
|