Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 1 addition & 26 deletions docs/configuration/sandbox/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,29 +59,4 @@ docker agent run --sandbox agent.yaml

- Container starts fresh each session (no persistence between sessions)

</div>

## Combining with Permissions

For defense in depth, combine sandbox mode with [permissions](/configuration/permissions/):

```yaml
agents:
root:
model: openai/gpt-4o
description: Secure development agent
instruction: You are a helpful assistant.
toolsets:
- type: shell
- type: filesystem

permissions:
allow:
- "shell:cmd=npm*"
- "shell:cmd=node*"
- "shell:cmd=ls*"
deny:
- "shell:cmd=sudo*"
- "shell:cmd=curl*"
- "shell:cmd=wget*"
```
</div>