SANDBOX_PROVIDER=smol, each session’s sandbox is one machine, on smol cloud or on your own computer.
This page is for a self-hosted traceroot run from its repository.
docker stays the default sandbox provider, and nothing changes until you set SANDBOX_PROVIDER. See Self-Hosting to get traceroot running first.Requirements
- traceroot run from its repository with
make devor the Docker Compose stack (make prod), and a model provider key for the agent. - For smol cloud: a smol cloud API key. The Cloud Quick Start in the smol machines docs covers creating one.
- For a local machine:
make devon macOS on Apple Silicon, or on Linux with KVM. The local engine is installed with traceroot’s dependencies, as part of thesmolmachinespackage.
Set up
traceroot reads its settings from.env at the root of the repository. Choose where the machines run:
- smol cloud
- Local machine
make dev and in the Docker Compose stack.Verify
-
In the traceroot UI: open the agent and ask it to run
uname -ain its sandbox. The answer comes from the machine’s own kernel. -
In the agent’s log: once the machine is set up, the log prints
[SmolExecutor] Machine ready:followed by the machine’s name. With Docker Compose, read it with:
What the agent sets up
The agent creates the machine the first time a session needs its sandbox.
Repository credentials reach
git through environment variables and never appear in a command line. The agent deletes the machine when the session’s sandbox is torn down or the agent shuts down.
Limitations
- The Docker Compose stack runs machines on smol cloud.
SMOL_TARGET=localis formake dev. - A cloud machine is deleted 24 hours after it is created, including while a session is still using it. Start a new session to get a new machine.
SANDBOX_IDLE_TTL_MINUTESandSANDBOX_RECLAIM_ON_STARTapply to thedockerprovider. A smol machine follows the idle stop and deletion times in the table above.- On smol cloud, a command the agent runs with no timeout of its own ends after 600 seconds.
- If a setup step fails, the agent deletes the machine and reports the command and its output. The session’s next sandbox call creates a new machine.
Next steps
Root cause analysis
What the agent does in its sandbox when a trace has errors.
GitHub integration
Connect a repository so the agent can clone it into the sandbox.
Self-Hosting
Run traceroot from its repository.
smol machines integrations
smol machines’ docs: machine size, billing and cleanup on smol cloud.