Loading image...Kiro
  • CLI
  • Powers
  • Autonomous agent
  • Enterprise
  • Pricing
  • Docs
SIGN INDOWNLOADS
Loading image...Kiro
Loading image...Kiro
Product
  • About Kiro
  • CLI
  • Pricing
  • Downloads
For
  • Enterprise
  • Startups
Resources
  • Documentation
  • Blog
  • Changelog
  • FAQs
  • Report a bug
  • Suggest an idea
  • Billing support
Social
Site TermsLicenseResponsible AI PolicyLegalPrivacy PolicyCookie Preferences
  1. Docs
  2. Autonomous agent
  3. Sandbox

Agent Sandbox

On this page
  • How it works
  • Configuration

The agent sandbox provides a secure, isolated environment where Kiro autonomous agent executes tasks. Each task runs in its own sandbox with configurable access controls, ensuring your code and resources remain protected.

How it works

When you assign a task, Kiro autonomous agent:

  1. Spins up an isolated sandbox environment
  2. Clones authorized repositories into the sandbox
  3. Configures the environment based on your DevFile or detected project settings
  4. Executes the task with access only to explicitly permitted resources
  5. Tears down the sandbox when the task completes

Configuration

Configure sandbox access and behavior for your tasks.

Internet Access
Control which domains the agent can reach
MCP
Connect specialized tools through Model Context Protocol
Environment Variables
Configure environment variables and secrets for task execution
DevFile
Define sandbox configuration with DevFile specifications
Page updated: November 24, 2025
Creating tasks
Internet Access