Solo builder playbook
Run Untrusted Agents Inside a Sandbox
Give an agent file, shell, and browser access without giving it your laptop.
For Builders running agents that execute generated code, browse logged-in sites, or touch client systems.
Every capability you grant an agent is a capability you have to contain. The containers in this playbook are the practical boundary between an experiment and an incident.
Playbook template
Run Untrusted Agents Inside a Sandbox
Requirements:
- Docker with enough memory to run a small VM or container image
- A throwaway API key that is separate from your production credentials
- A written scope for anything the agent is allowed to test
Checklist:
- [ ] The agent cannot read the host filesystem outside its workspace.
- [ ] Credentials in the sandbox are scoped and revocable.
- [ ] Every authorized target is named in writing.
- [ ] Step logs or screenshots are retained for review.Requirements
- Docker with enough memory to run a small VM or container image
- A throwaway API key that is separate from your production credentials
- A written scope for anything the agent is allowed to test
Separate the agent host from the work host
Agent Zero documents the basic pattern: the reasoning loop runs outside the container, while file and code execution happen inside it. Copy that split instead of letting the agent operate directly on your working machine.
Scope credentials to the task
Use a key that can only reach the systems named in the task. Security tooling such as PentAGI is only appropriate against targets you are authorized to test, with the range defined in writing before the first run.
Assume the screenshot is the attack surface
Computer-use agents read whatever is on screen. Keep unrelated windows and sessions closed in the sandbox image, and do not reuse a personal browser profile for agent runs.
Collect a verifiable trace
Configure the harness to keep step logs or screenshots. A trace is what lets you reconstruct what happened after an unexpected action, and it is the difference between a debuggable failure and an unexplained one.
Checklist
- The agent cannot read the host filesystem outside its workspace.
- Credentials in the sandbox are scoped and revocable.
- Every authorized target is named in writing.
- Step logs or screenshots are retained for review.