Use case
A background agent that works for hours.
Hand it the migration at lunch and read the result at five. A job that runs for hours will meet a machine that doesn't, so Annex saves the work as it goes.
The problem
Sandboxes are not forever. Providers cap how long one may live, reclaim machines, and now and then lose one. An agent three hours into a job finds out the hard way.
Starting again from nothing wastes the time and the money already spent, and the agent has forgotten what it had worked out.
How Annex does it
Start the job and leave
Give the agent the task and close the laptop. It works in a sandbox, not on your machine, so nothing depends on you staying.
Annex saves as it goes
On a timer, or whenever the agent asks, Annex saves the sandbox's files, how its environment was set up, and a note on where the work had got to.
A lost machine isn't a lost job
If the sandbox goes, Annex starts a new one, on the same provider or another, puts the files back and hands the agent its own notes. The job picks up from the last save.
What it looks like
Save where you are, then carry on anywhere.
From your own code
curl -X POST $ANNEX/sandboxes/sbx_…/checkpoints \
-H "Authorization: Bearer $KEY" \
-d '{"note": "tests pass; next: deploy"}'
curl -X POST $ANNEX/checkpoints/ckp_…/resume \
-H "Authorization: Bearer $KEY" \
-d '{"route": "cheapest"}'Related use cases
Split a big job across a fleet
Migrate five hundred files, or read ten thousand documents, with fifty sandboxes sharing one queue of work and one place for results.
Read more →Turn an issue into a pull request
Label an issue and an agent picks it up in a sandbox: it clones the repository, makes the change, runs the tests and opens the pull request.
Read more →Give Claude Code or Cursor a computer
Let your coding agent run what it writes: clone the repository, install packages, run the tests and fix what broke, away from your laptop.
Read more →