AWS Strands Box adds native sandboxes for Claude Code, Codex, and Kiro
Box CLI checks every file read, command, and network request outside the model so an agent cannot change its own rules.
- 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
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.
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>.