Guide
What is a sandbox for an AI agent?
A sandbox is a computer an agent can use freely and you can throw away. It is how an agent goes from describing work to doing it.
A computer of its own
An agent that can only write text can tell you how to fix a bug. An agent with a computer can check out the code, make the change, run the tests and tell you whether it worked.
A sandbox is that computer: a Linux machine, usually a small virtual machine or a container, started for one job. The agent runs commands in it and reads and writes its files. When the job is done, the machine is deleted.
Why not use your own machine?
Because the agent will run code nobody has read. Most of the time that is fine. Occasionally it deletes something, fills a disk or sends a file somewhere it shouldn't.
On a sandbox, the worst case is a broken sandbox. It holds none of your files and none of your keys, and it was going to be deleted anyway.
What to look for
- How apart it is kept. A virtual machine keeps a sandbox further from its neighbours than a plain container does.
- How it is billed. Some providers charge for the size while it exists, others only for what is used.
- Whether it can pause. An agent waiting for a person shouldn't cost the same as one working.
- Where it runs. Some jobs have to stay in a particular country or region.
- How long it may live. Many providers cap a sandbox's life at hours or a day.
Where Annex fits
Annex is not a sandbox provider. It is one way to ask for a sandbox across the providers you already have accounts with, and across your own machines. Your agent asks Annex; Annex starts the sandbox on whichever account fits and looks after it.