---
title: "AWS Strands Box adds native sandboxes for Claude Code, Codex, and Kiro"
id: "story-147"
canonical_url: "https://emergent.fm/stories/147"
markdown_url: "https://emergent.fm/stories/147/article.md"
published_at: "2026-11-24T18:31:51.483Z"
modified_at: "2026-11-24T18:31:51.483Z"
topic: "orchestration"
trust_label: "Reported"
publisher: "Emergent.FM"
---

# AWS Strands Box adds native sandboxes for Claude Code, Codex, and Kiro

## Key points

- AWS added native Strands Box sandbox support for Claude Code, Codex, and Kiro CLI, started with a single box run command.
- Box CLI enforces Dogwood policy rules outside the model on every file read, shell command, network request, and MCP call.
- Routed API keys, GitHub tokens, and AWS profiles stay outside the sandbox via placeholders swapped at the egress gateway.

## Strands Box CLI built-in packs and platforms

- Agent packs: Claude Code, Codex, Kiro CLI
- Model provider packs: Amazon Bedrock, Anthropic
- Tool packs: git, gh, npm, uv, cargo
- Supported platforms: Apple silicon Macs (macOS 15+), Linux ARM64 and x86-64

## Developer Tools

Box CLI ships with built-in packs for Amazon Bedrock and Anthropic model providers as well as everyday tools including git, gh, npm, uv, and cargo. On first run, the CLI asks a few setup questions to write a profile, and developers can maintain multiple profiles for different tasks, such as separate coding and on-call personas, selected with box run <profile>.

Box CLI checks every file read, command, and network request outside the model so an agent cannot change its own rules.

AWS added native support for Claude Code, Codex, and Kiro CLI to its open source Strands Box sandbox, letting developers start a sandboxed session with a single box run command using tools already on their machine.

## How policy enforcement works

Box CLI bundles agent, model provider, and tool packs into profiles, and enforces Dogwood policy rules outside the model on every file read, shell command, network request, and MCP call so the agent cannot change its own rules.

Policy rules can track session history to cap tool calls, such as blocking a 61st AWS MCP call in an hour, and developers can apply policy edits mid-session with one keypress without restarting the agent.

## Credential limits

Box keeps routed API keys, GitHub tokens, and AWS profiles outside the sandbox by swapping placeholders at its egress gateway, though keys stored in project files or MCP server settings remain visible to the agent.

Developers running Claude Code, Codex, or Kiro CLI who want autonomous sessions without giving agents direct access to credentials or unrestricted host access.

Install Box CLI on macOS 15+ or Linux and run box run claude in a project directory to generate a profile and test a policy rule.

- **Requirements:** Box CLI runs on Apple silicon Macs with macOS 15 or later and on Linux ARM64 and x86-64.

## Source

- <https://strandsagents.com/blog/strands-box-cli/>

Canonical page: <https://emergent.fm/stories/147>
