When a task needs to run code, the agent uses a Linux computer: a private sandbox hosted on Cloudflare. Your account has one for each agent, Spartan, Defense and Attack, and tasks with the same agent share it.
What is on it
Debian Linux with Node.js 22 and npm, Python 3 with pip, venv and pytest, git, curl, jq, zip and unzip. Commands run as an ordinary user, in a home folder.
It has no screen. Web pages are opened in the agent’s browser instead.
Sleeping and waking
- It goes to sleep 10 minutes after its last command.
- It starts again by itself the next time a task needs it, and your saved files are put back before any command runs.
- If no computer is free, a long-running task waits and shows “Waiting for a free Linux computer. The task starts by itself as soon as one is available.”
What is kept
- Files in the home folder are saved shortly after each command, and again before the computer sleeps.
- Not kept: dependency and cache folders (node_modules, .venv, venv, __pycache__, .cache, .npm and .pytest_cache) and programs that were still running. Install dependencies again when a task needs them.
- Saved files are limited to 200 MB compressed. Above that, newer changes are not saved and the last saved copy is kept.
Limits
- Each command can run for up to 40 seconds.
- It runs one command at a time.
- Command output is cut off after 24,000 characters, or 6,000 for error output.
