Provider · Early access
DigitalOcean sandboxes through one API.
DigitalOcean's agent sandboxes are small virtual machines in its Richmond data centre, in public preview. Connect your DigitalOcean account to Annex and your agents can start sandboxes there, alongside every other account you connect.
DigitalOcean at a glance
- What it runs
- Small virtual machines
- Where
- Richmond, Virginia
- Sizes
- Five fixed sizes, from 1 vCPU with 1 GB to 16 vCPU with 32 GB
- Price
- $0.126 an hour when you ask for 2 vCPU and 4 GiB. It bills the processor only while it is busy and memory for as long as the sandbox runs, so this price is the most it costs.
- Pausing
- DigitalOcean pauses it natively: memory, running programs and files are kept, and only storage is billed.
- To connect
- A DigitalOcean personal access token and a prepaid balance.
List prices for 2 vCPU and 4 GiB for an hour, read from each provider's own pricing in November 2026. Where a provider bills by use, the figure is the most it can cost while busy. Your provider bills you directly, on your own account.
What Annex adds to DigitalOcean
One way to ask
Your agent asks Annex for a computer the same way whatever the provider. Nothing in your agent changes when you add DigitalOcean or take it away.
A second choice when it's full
If DigitalOcean can't start a sandbox, because it is out of room, over your limit or having a bad day, Annex starts it on the next account you have connected and tells you why.
Work that can move
Annex saves a task's files as it goes. If the sandbox is lost, the task carries on in a new one, on DigitalOcean or anywhere else.
Ask for DigitalOcean by name
Routes are cheapest, fastest or a provider's name. This starts a sandbox on DigitalOcean only:
From your own code
curl -X POST $ANNEX/sandboxes \
-H "Authorization: Bearer $KEY" \
-d '{"route": "digitalocean", "vcpu": 2, "memory_gib": 4}'