Sandbox Providers
Sandboxes are a Labs feature and may change in future releases. In the dashboard, open Settings, go to Labs Preview and turn on Sandboxes.
A provider is a sandbox vendor account connected to your tenant. Every sandbox runs in your own account at the vendor, on your plan and within your limits, and Hatchet drives it through the vendor's API with the key you saved.
The SDK is the same on every provider. create, exec, the file operations, kill, connect and forks behave the same way, so moving to another vendor means changing the provider name and nothing else. A tenant can connect several providers at once and pick one for each sandbox.
What differs is what sits underneath.
- Daytona starts sandboxes from named snapshots that you manage in the Daytona dashboard.
- E2B starts them from templates and saves the filesystem when it takes a snapshot.
- Archil starts them from any OCI image and takes a snapshot by forking the whole machine.
- Freestyle includes memory in its snapshots, so a resumed sandbox continues where it stopped.
- Modal starts them from any registry image and saves the filesystem as a Modal image when it takes a snapshot.
- Vercel starts them from a Vercel image or snapshot and keeps the sandbox across sessions.
Templates and settings
Each provider has its own meaning of a template and its own settings in the dashboard form.
Every provider has a Working directory, where commands run and file paths resolve, and a Snapshot every turn switch, described under Snapshots.
Metadata on a provider is the default metadata of every sandbox it creates. The metadata passed to create overrides it key by key. The result is stored on the sandbox, sent to the vendor as labels or metadata where the vendor supports it, and attached to every task run of the sandbox, so runs can be filtered by it. The API field is still named labels.
A template is chosen in the following order. The template passed to create wins, then the provider's Default template field, and lastly the provider's own default.
Daytona
A template is a Daytona snapshot name. Snapshots Hatchet takes are Daytona snapshots, so they show up in the Daytona dashboard.
The working directory defaults to /home/daytona. Set Default template to the snapshot new sandboxes should start from. Without it, Daytona's default snapshot is used.
E2B
A template is an E2B template name or a snapshot ID. Snapshots Hatchet takes are filesystem-only templates.
The working directory defaults to /home/user. API URL is only for self hosted E2B and defaults to https://api.e2b.app.
E2B pauses a sandbox after the idle time the SDK asks for. The Hobby plan allows at most one hour, so keep Max idle time at or below 3600 seconds there.
Archil
A template is an OCI image, for example node:24-bookworm. A snapshot is a stopped fork of the machine, so forks start fast, and a sandbox's snapshots keep that stopped machine at Archil until you delete them.
Region is one of aws-us-east-1, aws-us-west-2, aws-eu-west-1 or gcp-us-central1, and must match the region the API key was created in. The working directory defaults to /workspace. Set Default template to the image new sandboxes should start from. Without it, Archil's default image is used.
Freestyle
A template is a Freestyle snapshot ID or slug. Snapshots include memory, so a sandbox resumed from one continues where it stopped.
The working directory defaults to /workspace. Set Default template to the snapshot new sandboxes should start from. Without it, Freestyle's default image is used.
Modal
A template is a registry image such as debian:bookworm-slim, or a snapshot image ID starting with im-. Snapshots Hatchet takes are Modal filesystem snapshots and never expire until you delete them. A sandbox that Modal stops for idling cannot be started again, so connect to it before its idle TTL runs out or start a new one from a snapshot.
Modal API tokens have two parts, and the form asks for both. Token secret starts with as- and Token ID starts with ak-. App is the Modal app the sandboxes run under, defaults to hatchet-sandboxes and is created if missing. Environment picks a Modal environment other than the token's default. The working directory defaults to /workspace. Set Default template to the image new sandboxes should start from. Without it, debian:bookworm-slim is used. Disk size cannot be set on Modal, so a diskMib resource request is rejected.
Vercel
A template is a Vercel Sandbox image, for example vercel/sandbox/universal. Snapshots Hatchet takes are Vercel snapshots that never expire until you delete them. Taking one stops the running session, and the next command resumes the sandbox from it.
A Vercel access token only works together with a team and a project, so Team ID and Project are required. The project is given by ID or name. The working directory defaults to /vercel/sandbox. Set Default template to the image new sandboxes should start from. Without it, Vercel's universal image is used. Vercel sizes sandboxes by vCPU only and gives each vCPU 2048 MB of memory, so a resource request may set vcpu but not memoryMib or diskMib. The idle TTL becomes the session timeout, which your Vercel plan caps at 45 minutes on Hobby and 24 hours on Pro and Enterprise. Vercel allows at most 5 tags per sandbox, so sandbox metadata is not forwarded as Vercel tags. Only the Hatchet tenant and sandbox IDs are.
Last updated on November 26, 2026