Engineering
7 min read
Every task gets its own sandbox
Background agents run in isolated cloud sandboxes. This is what is inside one, and what can never leave it.
Ade Santoso
Security engineer

Background agents run without you watching. That only works if you can trust where they run. Every Kestrel task gets a fresh, isolated machine, and nothing leaves it unless you say so.
What is inside a sandbox
A new virtual machine, started from a clean image for every task
A shallow copy of your repository at the branch you chose
The tools your project declares, installed from your lock files
No credentials except a short-lived token scoped to that one repository
What can leave it
Data | Leaves the sandbox? | Kept for |
Your source code | No | Deleted when the task ends |
The pull request | Yes, to your Git host | As long as you keep it |
Command logs | Yes, to your workspace | 30 days |
Model inputs | No, never used for training | Not stored |
Our security team approved Kestrel in a week. The sandbox model answered most of their questions before they asked them.
Marcus Lee, CTO at Halcyon Health
Network access
By default a sandbox can reach only the package registries in your lock files. Admins can add domains to an allow list in workspace settings.
Read the full details on our Security page, or ask our team for the SOC 2 Type II report.