# Sandscale > Isolated Firecracker microVMs for AI agents, with Vault, DLP, approvals and a tamper-evident audit log built in. Memory included. Sandscale runs the code AI agents write in sandboxes, workspaces, build hosts and lab hosts, each its own Firecracker microVM. Use it from the TypeScript SDK (Python coming soon), the `sandscale` CLI (macOS and Linux), the REST API or the remote MCP server at mcp.sandscale.dev. Hosted in the US; Europe is coming soon. Sign up free at https://cloud.sandscale.dev/auth/signup. Every page below is also available as Markdown at the linked .md address, and pages are served as Markdown to requests with `Accept: text/markdown`. All docs in one file: https://sandscale.dev/llms-full.txt ## Docs - [Docs](https://sandscale.dev/docs.md): Sandscale developer docs. Start a sandbox for the code your agents write, give coding agents a persistent cloud computer, and keep every run governed and audited. - [Using the API](https://sandscale.dev/docs/api.md): How to call the Sandscale API, the hosts, request and response format, identifiers and where to find each endpoint. - [Authentication](https://sandscale.dev/docs/api/authentication.md): Authenticate to the Sandscale API with a personal API key or your own sign-in. Key scopes, expiry, rotation and revocation. - [Errors](https://sandscale.dev/docs/api/errors.md): How the Sandscale API reports a refused request, the error body, the status codes and the error codes you meet on many endpoints. - [Limits and retries](https://sandscale.dev/docs/api/limits.md): Rate limits, plan quotas and how to retry Sandscale API requests safely. - [Agent Cloud](https://sandscale.dev/docs/concepts/agent-cloud.md): Sandscale Agent Cloud gives coding tasks to agents running in your workspaces, lets you watch them live, and returns a branch and pull request. - [Approvals and policies](https://sandscale.dev/docs/concepts/approvals.md): Sandscale approval gates and policies on templates, sizes, run times and which agents may run. Approvals on every plan. - [Audit log](https://sandscale.dev/docs/concepts/audit.md): Sandscale keeps a hash-chained audit log of every action. Every plan can read it; Team and Enterprise can export it as evidence. - [Build hosts](https://sandscale.dev/docs/concepts/build-hosts.md): Sandscale build hosts are clean, leased build machines for agent tasks, released when the task ends. - [Lab hosts](https://sandscale.dev/docs/concepts/lab-hosts.md): Sandscale lab hosts connect your own Linux or macOS machines, with their hardware, so a run can claim them. Team and Enterprise. - [Object storage](https://sandscale.dev/docs/concepts/object-storage.md): Sandscale object storage is S3-compatible storage for files, datasets and build artifacts that outlive a run. United States now; Europe coming soon. - [Regions](https://sandscale.dev/docs/concepts/regions.md): Sandscale runs in the United States now; Europe is coming soon. One account, with your workloads and their data kept in the region they run in. API hosts api.sandscale.dev and api.us.sandscale.dev. - [Sandboxes](https://sandscale.dev/docs/concepts/sandboxes.md): A Sandscale sandbox is a Firecracker microVM for the code your agents write, with its own kernel and the network access your plan allows. - [Teams and SSO](https://sandscale.dev/docs/concepts/teams-and-sso.md): Sandscale organizations, invitations, roles, groups and SSO on Team; SCIM, verified domains and custom roles on Enterprise; passkeys and multi-factor sign-in on every plan. - [Vault](https://sandscale.dev/docs/concepts/vault.md): Sandscale Vault keeps secrets out of prompts and logs. Secrets are referenced, injected at run time and never placed in prompts or logs. - [Workspaces](https://sandscale.dev/docs/concepts/workspaces.md): A Sandscale workspace is a persistent cloud computer for coding agents and people. Files survive, you open it in the browser or over SSH, and it stops when idle. - [Lease a build host with the API](https://sandscale.dev/docs/guides/build-hosts-api.md): Lease a build host from a pool, connect over SSH with a short-lived certificate, run and record commands, renew and release the lease. - [Connect Claude or ChatGPT](https://sandscale.dev/docs/guides/connect-claude-chatgpt.md): Add mcp.sandscale.dev as a remote MCP connector in Claude, ChatGPT or any remote MCP client and run sandboxes from chat, with your own sign-in. - [Store files in object storage](https://sandscale.dev/docs/guides/object-storage.md): Create a Sandscale object storage bucket and an S3 access key, find your region's S3 endpoint, and use standard S3 tools and SDKs. - [Run code in a sandbox with the API](https://sandscale.dev/docs/guides/sandboxes-api.md): Start a sandbox, run commands, move files in and out and stop it, with the Sandscale HTTP API. - [Pause, resume and snapshot a sandbox](https://sandscale.dev/docs/guides/snapshots.md): Pause a Sandscale sandbox and resume it later, save its /workspace as a snapshot, and start new sandboxes from it. - [Give a run a secret](https://sandscale.dev/docs/guides/vault-secrets.md): Store a secret in Sandscale Vault once and give it to a sandbox as an environment variable, without the value passing through your code, the API answer or a log. - [Work in a cloud workspace](https://sandscale.dev/docs/guides/workspaces.md): Create a Sandscale workspace from a template, open it over SSH or in the browser, forward ports, set a schedule and stop it, with the CLI or the SDKs. - [Quickstart](https://sandscale.dev/docs/quickstart.md): Sign up for Sandscale, create an API key, run a command in a sandbox with the TypeScript SDK, connect Claude Code, Codex or Cursor over MCP, and pick a region. - [SDKs](https://sandscale.dev/docs/sdks.md): The Sandscale SDKs for TypeScript and Python: install, authenticate, pick a region, start a sandbox and run a command, handle errors and retries. - [Python SDK](https://sandscale.dev/docs/sdks/python.md): Every method and option of the Sandscale Python SDK (sandscale 0.2.0), generated from its source. - [TypeScript SDK](https://sandscale.dev/docs/sdks/typescript.md): Every method and option of the Sandscale TypeScript SDK (@sandscale/sdk 0.2.0), generated from its source. ## Reference - [API reference](https://sandscale.dev/docs/reference/api.md): Every Sandscale API endpoint, by area, with parameters, request and response fields and error codes, generated from the server's code. - [Roles and permissions](https://sandscale.dev/docs/reference/api/access.md): The Roles and permissions endpoints of the Sandscale API, generated from the server's code. - [Your account and API keys](https://sandscale.dev/docs/reference/api/account.md): The Your account and API keys endpoints of the Sandscale API, generated from the server's code. - [Agent Cloud and agent tasks](https://sandscale.dev/docs/reference/api/agent-cloud.md): The Agent Cloud and agent tasks endpoints of the Sandscale API, generated from the server's code. - [Approvals, policies and the kill switch](https://sandscale.dev/docs/reference/api/approvals-policies.md): The Approvals, policies and the kill switch endpoints of the Sandscale API, generated from the server's code. - [Audit log](https://sandscale.dev/docs/reference/api/audit.md): The Audit log endpoints of the Sandscale API, generated from the server's code. - [Build hosts and lab hosts](https://sandscale.dev/docs/reference/api/build-hosts.md): The Build hosts and lab hosts endpoints of the Sandscale API, generated from the server's code. - [Object storage](https://sandscale.dev/docs/reference/api/object-storage.md): The Object storage endpoints of the Sandscale API, generated from the server's code. - [Organization, members and teams](https://sandscale.dev/docs/reference/api/organization.md): The Organization, members and teams endpoints of the Sandscale API, generated from the server's code. - [Usage, projects, quotas and regions](https://sandscale.dev/docs/reference/api/projects-quotas.md): The Usage, projects, quotas and regions endpoints of the Sandscale API, generated from the server's code. - [Sandboxes](https://sandscale.dev/docs/reference/api/sandboxes.md): The Sandboxes endpoints of the Sandscale API, generated from the server's code. - [Sign-in and OAuth](https://sandscale.dev/docs/reference/api/sign-in.md): The Sign-in and OAuth endpoints of the Sandscale API, generated from the server's code. - [SSO and SCIM](https://sandscale.dev/docs/reference/api/sso.md): The SSO and SCIM endpoints of the Sandscale API, generated from the server's code. - [Vault and secrets](https://sandscale.dev/docs/reference/api/vault.md): The Vault and secrets endpoints of the Sandscale API, generated from the server's code. - [Workspaces](https://sandscale.dev/docs/reference/api/workspaces.md): The Workspaces endpoints of the Sandscale API, generated from the server's code. - [CLI reference](https://sandscale.dev/docs/reference/cli.md): Every sandscale CLI command, with its usage, options and examples, generated from the CLI itself. - [sandscale build](https://sandscale.dev/docs/reference/cli/build.md): sandscale build: Build hosts and lab hosts: pools, your leases, runs and their logs. Usage, options and examples, generated from the CLI. - [sandscale help](https://sandscale.dev/docs/reference/cli/help.md): sandscale help: Help for a command. Usage, options and examples, generated from the CLI. - [sandscale login](https://sandscale.dev/docs/reference/cli/login.md): sandscale login: Sign in to Sandscale (browser with PKCE; --device for a code on another device). Usage, options and examples, generated from the CLI. - [sandscale logout](https://sandscale.dev/docs/reference/cli/logout.md): sandscale logout: Sign out (revokes the session and deletes the local tokens). Usage, options and examples, generated from the CLI. - [sandscale logs](https://sandscale.dev/docs/reference/cli/logs.md): sandscale logs: Logs of a workspace, a sandbox or a build host run. Usage, options and examples, generated from the CLI. - [sandscale mcp](https://sandscale.dev/docs/reference/cli/mcp.md): sandscale mcp: An MCP server (stdio) with your workspaces, sandboxes and build hosts as tools. Usage, options and examples, generated from the CLI. - [sandscale sandbox](https://sandscale.dev/docs/reference/cli/sandbox.md): sandscale sandbox: Sandboxes. Usage, options and examples, generated from the CLI. - [sandscale vault](https://sandscale.dev/docs/reference/cli/vault.md): sandscale vault: Sandscale Vault: KV secrets, policies, leases, transit, mounts and audit devices. Usage, options and examples, generated from the CLI. - [sandscale version](https://sandscale.dev/docs/reference/cli/version.md): sandscale version: Print the version. Usage, options and examples, generated from the CLI. - [sandscale whoami](https://sandscale.dev/docs/reference/cli/whoami.md): sandscale whoami: Who is signed in. Usage, options and examples, generated from the CLI. - [sandscale workspace](https://sandscale.dev/docs/reference/cli/workspace.md): sandscale workspace: Cloud workspaces. Usage, options and examples, generated from the CLI. - [MCP tools](https://sandscale.dev/docs/reference/mcp.md): The tools sandscale mcp gives your coding agent: workspaces, sandboxes and build hosts, generated from the MCP server's tool list. - [Plans and limits](https://sandscale.dev/docs/reference/plans.md): Sandscale plans, prices, included awake vCPU-hours, limits and features. ## Product - [Agent Cloud](https://sandscale.dev/agent-cloud.md): Give coding tasks to agents running in your workspaces, watch them live, and get a branch and pull request back. A lead agent can run the team through one MCP address. - [Build hosts](https://sandscale.dev/build-hosts.md): Lease a large, clean Linux machine for the heavy part of an agent’s work. Access and secrets end with the lease and the host is wiped. - [Leases](https://sandscale.dev/build-hosts/leases.md): Your agent leases a large, clean host from a pool for the heavy part of its work. Access and secrets end with the lease, and the host is wiped. - [CLI](https://sandscale.dev/cli.md): The sandscale command line for macOS and Linux: sandboxes, workspaces, snapshots, SSH, terminals and MCP. - [Europe data residency](https://sandscale.dev/eu.md): Sandscale in Europe, coming soon: one home region per organisation, with your people, compute, storage, secrets and audit trail stored in Frankfurt. - [Integrations](https://sandscale.dev/integrations.md): Connect coding agents to Sandscale over MCP, script it with the CLI, or call the API. SSO with SAML or OpenID Connect, SCIM on Enterprise, and workers in your own AWS account on Enterprise. - [Lab hosts](https://sandscale.dev/lab-hosts.md): Connect your own Linux and macOS machines with security keys, TPMs, debug probes and boards. Runs claim a device, a person approves when policy says so, and it is released when the run ends. - [Device policy](https://sandscale.dev/lab-hosts/device-policy.md): Write down which devices each project may claim, which claims need a person to sign off, and who that person is. Anything you didn’t allow is refused. - [Object storage](https://sandscale.dev/object-storage.md): S3-compatible object storage for files, datasets and build artifacts that outlive a run. Works with standard S3 tools and SDKs. US now, Europe coming soon. - [Regions](https://sandscale.dev/regions.md): Where Sandscale runs: US East (N. Virginia) on AWS now, Europe (Frankfurt) coming soon, or your own AWS account on Enterprise. What stays in your region and what is held in the US. - [Europe region](https://sandscale.dev/regions/eu.md): Sandscale in Europe (Frankfurt, Germany) on AWS eu-central-1: what runs there, what stays there, and the rules organisations there work under. - [United States region](https://sandscale.dev/regions/us-east.md): Sandscale in the United States (N. Virginia, United States) on AWS us-east-1: what runs there, what stays there, and the rules organisations there work under. - [Sandboxes](https://sandscale.dev/sandboxes.md): A Firecracker microVM for every agent run, with network access you control. Every prompt and tool call recorded and checked against your policy. - [Files in and out](https://sandscale.dev/sandboxes/files.md): Move a source tree into a sandbox and pull reports, builds and logs back out, up to 1 GiB per file. - [Live output](https://sandscale.dev/sandboxes/live-output.md): Run a command in a sandbox and read stdout and stderr as they happen, then the exit code, from the CLI, the API or your agent. - [MCP server](https://sandscale.dev/sandboxes/mcp.md): Connect Claude Code, Codex, Cursor or any MCP tool to the Sandscale MCP server and it can create a sandbox, run commands in it, move files and throw it away, every call on the record. - [Pause and resume](https://sandscale.dev/sandboxes/pause-and-resume.md): Pausing keeps a sandbox’s memory and files. Resuming brings it back as it was, so an agent can stop for the night and carry on in the morning. - [Snapshots](https://sandscale.dev/sandboxes/snapshots.md): Save a sandbox after the slow part, like installing dependencies, and start new sandboxes from that point instead of from scratch. - [SSH certificates](https://sandscale.dev/sandboxes/ssh.md): Open a shell in a sandbox or workspace with a certificate that expires in minutes, issued to you and recorded in the audit log. - [Authenticated tunnels](https://sandscale.dev/sandboxes/tunnels.md): See the app or API your agent started inside a sandbox, from your own machine, through a tunnel that only you can open. - [Warm pools](https://sandscale.dev/sandboxes/warm-pools.md): A warm pool keeps sandboxes from a template already booted, so when your agent asks for one it gets a running microVM straight away. - [Templates](https://sandscale.dev/templates.md): Sandbox templates pinned by image digest: every sandbox started from a template gets exactly the same bytes. Start from Python, Node.js, Go or Rust, or your own image. - [Workspaces](https://sandscale.dev/workspaces.md): A persistent cloud machine for Claude Code, Codex or Gemini CLI. Close your laptop and the agent keeps working; open the same session from any device. - [Editors and devices](https://sandscale.dev/workspaces/editors.md): Open your workspace in the browser, or point VS Code, Cursor or a terminal at it. The agent’s session lives there, so you can close the laptop and pick it up anywhere. - [Schedules and idle sleep](https://sandscale.dev/workspaces/schedules.md): Start and stop workspaces on a schedule, and let them sleep when nobody uses them. The disk stays; hours count only while they run. ## Pricing and programs - [Open source](https://sandscale.dev/open-source.md): Sandscale Pro free for 6 months for maintainers of active open-source projects: sandboxes, workspaces and build hosts for your CI and agents. - [Pricing](https://sandscale.dev/pricing.md): Sandscale plans: Free, Pro $20 a month, Team $40 per member a month, and Enterprise. Included vCPU-hours every month; paused time is free. - [Startups](https://sandscale.dev/startups.md): Sandscale Team free for 6 months for startups: monthly credits cover your Team subscription. ## Security - [Security](https://sandscale.dev/security.md): How Sandscale contains agent code and proves it: a Firecracker microVM per run, network controls, Vault, DLP on prompts and tool calls, human approvals, SSO and SCIM, a hash-chained audit log and compliance evidence. - [Agent policy](https://sandscale.dev/security/agent-policy.md): Claude Code runs under your policy through its hooks: each prompt is checked, and each tool call is allowed, blocked or sent to a person. Codex and Gemini CLI report every step. - [Approvals](https://sandscale.dev/security/approvals.md): When policy says a call needs sign-off, the agent waits while a person approves or denies it. An approved call runs once. - [Audit log](https://sandscale.dev/security/audit-log.md): Every sandbox, command, approval, secret and change is written to an audit log where each entry is chained to the one before it, so an edit shows. - [Vulnerability disclosure](https://sandscale.dev/security/disclosure.md): How to report a security vulnerability in Sandscale, what to include, and what happens after you report it. - [DLP on prompts and tool calls](https://sandscale.dev/security/dlp.md): On every plan, prompts and MCP tool calls are scanned before they go anywhere, so a credential pasted into a prompt never reaches the model. - [Evidence export](https://sandscale.dev/security/evidence-export.md): Every audit entry for a period, its hash chain checked, packed into one file you hand to your assessor. - [Roles](https://sandscale.dev/security/roles.md): Give people Viewer, User, Editor or Manager on each sandbox, template and project. Whoever starts a sandbox owns it. - [SSO and SCIM](https://sandscale.dev/security/sso-and-scim.md): Sign in with SAML or OpenID Connect through Microsoft Entra ID, Okta, Google Workspace or any standard identity provider, and keep members in step with your directory over SCIM. - [Vault](https://sandscale.dev/security/vault.md): Keys and tokens live in Vault and reach a sandbox, workspace or build host in memory, for as long as the run lasts. - [Signed webhooks](https://sandscale.dev/security/webhooks.md): Send sandbox events to your own endpoints, signed so you can check they came from Sandscale, and retried if your endpoint is down. - [Your own cloud](https://sandscale.dev/security/your-own-cloud.md): Sandscale workers can run in your own AWS account, through a role you create with an external ID. No long-lived keys, and your data stays in your account. ## Blog - [Blog](https://sandscale.dev/blog.md): Sandscale news, releases and how-tos, written plainly. - [An incident runbook for AI agents: stop, scope, rotate, review, resume](https://sandscale.dev/blog/agent-incident-response-runbook.md): A copy-and-adapt runbook for when an AI agent does something it should not: who does what in the first minutes, how to find out what it touched, which credentials to rotate, and how to bring agents back safely. - [Five ways agent sandboxes are billed, and what each one charges while your agent waits](https://sandscale.dev/blog/agent-sandbox-billing-models-compared.md): Per-second provisioned resources, active CPU plus provisioned memory, active-only CPU with provisioned memory and disk, per-second VMs, and awake vCPU-hours. How each published meter treats the minutes an agent spends waiting on a model, with sources. - [Agent sandbox glossary: 41 terms in plain English](https://sandscale.dev/blog/agent-sandbox-glossary.md): Plain definitions for the words that come up when you run AI agent code in isolation: microVM, VMM, KVM, jailer, gVisor, seccomp, namespaces, egress allowlist, lease, snapshot, warm pool, awake vCPU-hour and more. - [Running Aider in scripted mode on a cloud workspace: --message-file, --test-cmd and what to check afterwards](https://sandscale.dev/blog/aider-scripted-runs-in-a-cloud-workspace.md): Run Aider non-interactively inside a Sandscale workspace, a persistent Firecracker microVM: install, API keys, --message-file with --yes-always, --test-cmd with --auto-test, how Aider commits, and reviewing the result from your own terminal. - [Turning an exported, verifiable log into evidence for your own assessment (no certification claimed)](https://sandscale.dev/blog/audit-evidence-for-soc2-from-agent-logs.md): Your auditor will ask how you control AI agents. How to turn an agent platform's audit log into evidence an assessor can test: map entries to the Trust Services Criteria, prove the population is complete, pick periods, and keep the chain of custody. - [What an audit log for AI coding agents should record](https://sandscale.dev/blog/audit-log-for-ai-coding-agents.md): What to log for every coding agent run, from who started it to secret use and DLP hits, why each field matters in an incident review, and where Sandscale's audit log covers it and where it does not. - [Awake-time billing for agent sandboxes: what you pay for and what you don't](https://sandscale.dev/blog/awake-time-billing-agent-sandboxes.md): How Sandscale bills agent sandboxes by vCPU-hours: a running box counts while it is idle, paused time does not, storage still bills. Includes a worked example with the arithmetic shown. - [The best AI agent sandboxes in 2026: 14 options and how to choose](https://sandscale.dev/blog/best-ai-agent-sandboxes-2026.md): A sourced field guide to AI agent sandboxes as of November 2026: E2B, Modal, Daytona, Vercel, Cloudflare, Fly.io Sprites, Freestyle, Morph Cloud, Northflank, Sandbox0, Beam, PandaStack, Temps and Sandscale. Five questions, best-for lines, one table, FAQ. - [Browser-free test runs for coding agents: a fast tier to run on every edit, and a browser tier to leave for CI](https://sandscale.dev/blog/browser-free-test-runs-for-coding-agents.md): How to split a project's tests so a coding agent's loop never needs a real browser: node and DOM-emulated tests first, browser end-to-end tests last. Vitest projects, jsdom and happy-dom limits, pytest markers, Node's test runner, Playwright tags and go test -short, plus how to make a filtered run fail loudly instead of passing by running nothing. - [When a job needs a leased machine instead of a sandbox, from the live docs](https://sandscale.dev/blog/build-hosts-vs-sandboxes.md): Sandboxes and build hosts solve different problems. How to tell which one a step of an agent's work needs, what a lease adds (pools, approvals, SSH certificates, a hard expiry), and how to move only the heavy step without moving the agent. - [A sandbox API client in Go with net/http and context deadlines](https://sandscale.dev/blog/calling-the-sandbox-rest-api-from-go.md): Run code in a Sandscale sandbox from Go using only the standard library: typed requests and results, errors with codes and request IDs, and context deadlines that respect a command's own timeout. - [Calling the Sandscale sandbox API from Python with requests, no SDK](https://sandscale.dev/blog/calling-the-sandbox-rest-api-from-python.md): A small Python client for the sandbox REST API: start a sandbox, write files, run a command, read results, stop it, and turn error responses into exceptions you can act on. - [Canary tokens in agent sandboxes: tripwires that tell you when a run goes rogue](https://sandscale.dev/blog/canary-tokens-for-agent-sandboxes.md): Plant fake credentials and hostnames where a misbehaving agent would look, and get an alert when they are used. How to place canaries in agent runs, what each kind detects, and how to avoid false alarms. - [Taking an agent's changes out of the sandbox as a patch, and checking it before it touches your repo](https://sandscale.dev/blog/checking-an-agent-patch-before-applying.md): A coding agent that works in a sandbox should hand back a patch, not push a branch. How to produce a binary-safe patch inside the sandbox, and a TypeScript check on your side that refuses symlinks, renames and oversized diffs and flags CI, hooks, dependencies and agent instruction files for a person. - [Claude tool use with a Sandscale sandbox: the whole loop in one file](https://sandscale.dev/blog/claude-api-tool-use-with-sandscale.md): A complete tool-use loop with the Anthropic TypeScript SDK where Claude's run_command and write_file calls execute in a Firecracker sandbox. Tool schemas, tool_result blocks with is_error, a turn limit and cleanup. Type-checked. - [Your first Sandscale sandbox from Claude Code: sign up, connect, run one command](https://sandscale.dev/blog/claude-code-first-sandbox-tutorial.md): A first-run walkthrough: create a Sandscale account, install the CLI, connect Claude Code with claude mcp add, and have it start a sandbox, run node --version inside it and stop it. - [A sandbox for Claude Code: running it headless in a cloud workspace](https://sandscale.dev/blog/claude-code-headless-in-a-cloud-workspace.md): Run Claude Code with claude -p inside a Sandscale workspace, a persistent Firecracker microVM, so its Bash tool works on a cloud disk instead of your laptop. Setup, permission flags and what stays where. - [Connecting Cline to a remote MCP sandbox: streamableHttp, OAuth sign-in and what autoApprove should list](https://sandscale.dev/blog/cline-with-a-remote-mcp-sandbox.md): Add the remote Sandscale MCP server to Cline so its installs and test runs can go to a Firecracker microVM instead of your machine. The cline_mcp_settings.json entry, sign-in, which tools to auto-approve, a rule that points Cline at the sandbox, and what Cline's settings cannot enforce. - [Cloudflare Sandbox alternatives: options when your agent does not live in a Worker](https://sandscale.dev/blog/cloudflare-sandbox-alternatives.md): Cloudflare Sandboxes run container instances behind a Worker, with lifetime tied to Durable Object activity. Alternatives for standalone APIs, long waits, bigger boxes, built-in governance and persistence, with a sourced table and FAQ. - [A sandbox for Codex: running codex exec in a cloud workspace](https://sandscale.dev/blog/codex-exec-in-a-cloud-workspace.md): Run OpenAI Codex non-interactively with codex exec inside a Sandscale workspace, a persistent Firecracker microVM, and drive it from your laptop over SSH. Sandbox modes, JSON output and schedules. - [Your first Sandscale sandbox from Codex: config.toml, login and a Go command in a microVM](https://sandscale.dev/blog/codex-first-sandbox-tutorial.md): A first-run walkthrough: create a Sandscale account, add the remote MCP server to Codex's config.toml, run codex mcp login, and have Codex start a Go sandbox, run go version in it and stop it. - [A Codex workspace that keeps your hours: schedules, time zones and overnight codex exec runs](https://sandscale.dev/blog/codex-workspace-on-your-time-zone.md): Set a Sandscale workspace to start with your workday in Tokyo, Taipei or Singapore, keep Codex's config in your dotfiles, and leave a codex exec run going in tmux overnight. Commands are checked against CLI 1.3.0. - [Running Claude Code, Codex and Gemini CLI under policy on Sandscale](https://sandscale.dev/blog/coding-agents-under-policy-sandscale.md): Two ways to run coding agents on Sandscale, what policy enforces for Claude Code versus what it only records for Codex and Gemini CLI, and the gaps. - [Queueing agent runs against a concurrency cap: backpressure, fairness and limit errors](https://sandscale.dev/blog/concurrency-limits-and-queueing-agent-runs.md): Every sandbox platform caps how many boxes run at once. A TypeScript queue that respects the cap, shares it fairly between users, tells a full queue from a refused start, and stops when waiting will not help. - [Four container escapes and what they teach about running agent code](https://sandscale.dev/blog/container-escape-cves-lessons-for-agent-sandboxes.md): runc CVE-2019-5736, Leaky Vessels, Dirty Pipe and CVE-2022-0185: how each one worked, why it mattered for shared-kernel isolation, and what to take from them when your AI agent runs code. - [CrewAI agents that run code in a Sandscale sandbox, over the REST API](https://sandscale.dev/blog/crewai-tools-on-sandscale-rest-api.md): Give a CrewAI crew BaseTool subclasses that run commands and write files in a Firecracker sandbox through Sandscale's REST API with requests. A developer and a reviewer share one box per crew run, cleaned up in finally. Checked against crewai 1.15. - [Your first Sandscale sandbox from Cursor: connect the MCP server and run a script in a microVM](https://sandscale.dev/blog/cursor-first-sandbox-tutorial.md): A first-run walkthrough: create a Sandscale account, add the remote MCP server to Cursor's mcp.json, sign in, and have the agent start a sandbox, upload a script, run it and stop the sandbox. - [A Cursor project rule that sends installs and tests to a Sandscale sandbox](https://sandscale.dev/blog/cursor-rule-run-tests-in-a-sandbox.md): Use a .cursor/rules file (or AGENTS.md) so Cursor's agent creates a Sandscale sandbox and runs dependency installs and test suites there with sandscale sandbox run instead of on your laptop. What the rule can and cannot enforce, and what a folder upload leaves out. - [Custom sandbox templates: give your agent's sandboxes your toolchain, pinned by digest](https://sandscale.dev/blog/custom-sandbox-templates-pinned-by-digest.md): Build your own image, pin it by digest and register it as a Sandscale sandbox template with sandscale sandbox templates-create, then start sandboxes from it. When a template beats a snapshot or a setup script. - [Data residency for agent sandboxes: what stays in a region, what is global, and what to ask](https://sandscale.dev/blog/data-residency-for-agent-sandboxes.md): When an agent runs code on customer data, 'where is it processed?' has several answers: the sandbox, its files and output, the model call, logs, the audit trail and the account. A map of each, and the questions to put to any vendor. - [Daytona alternatives in 2026: picks for microVM isolation, open source, persistence and GPUs](https://sandscale.dev/blog/daytona-alternatives.md): Daytona defaults to containers, moved core development private in 2026 and sets limits by tier. When each of those matters, here are the alternatives, with best-for lines, a sourced table and an FAQ. - [Designing a run_code tool for an LLM: schema, limits and results a model can act on](https://sandscale.dev/blog/designing-a-run-code-tool-schema.md): The JSON Schema, description and result shape for a code-execution tool, field by field: what to expose, what to cap, how to report timeouts and refusals so the model does the right thing next, and a TypeScript handler. - [DNS exfiltration explained: how data leaves a network that blocks outbound traffic](https://sandscale.dev/blog/dns-exfiltration-explained.md): An egress allowlist that blocks HTTP but lets the sandbox resolve any name still leaks. How DNS exfiltration works, why recursive resolvers carry it, the controls that stop it, and how to test your own setup. - [E2B alternatives in 2026: where to go and why, by workload](https://sandscale.dev/blog/e2b-alternatives.md): E2B is a solid Firecracker sandbox. Here is when something else fits better: governed coding agents, stateful workspaces, snapshot and branch, GPU work, your own hosts. Sourced table, best-for picks and FAQ. - [Designing an egress allowlist for agent sandboxes](https://sandscale.dev/blog/egress-allowlist-design-for-agent-sandboxes.md): How to decide what code your AI agent runs is allowed to reach: start from nothing, find the hosts a task really needs, and avoid the DNS, CDN and wildcard traps. - [The Firecracker balloon device: reclaiming guest memory, and why it is not a limit](https://sandscale.dev/blog/firecracker-balloon-device-explained.md): How Firecracker's virtio balloon works: target size, deflate_on_oom, statistics, free page reporting and hinting, and the security caveat that a compromised guest driver can ignore it. - [What a Firecracker guest needs: kernel image, root filesystem, boot arguments and devices](https://sandscale.dev/blog/firecracker-guest-kernel-and-rootfs.md): A walkthrough of the pieces a Firecracker microVM boots from: vmlinux or bzImage, guest kernel configs and the support policy, an ext4 rootfs with an init, boot arguments, drives, and the optional vsock, entropy and balloon devices. - [Inside Firecracker's defense in depth: KVM, the device model, seccomp and the jailer](https://sandscale.dev/blog/firecracker-jailer-and-seccomp-explained.md): A plain walk through the layers Firecracker uses to contain a guest, from the KVM boundary to per-thread seccomp filters and the jailer, based on Firecracker's own design documents. - [Firecracker's microVM metadata service (MMDS): what it is and how to use it safely](https://sandscale.dev/blog/firecracker-mmds-explained.md): How Firecracker's MMDS works: a host-written JSON store the guest reads over HTTP, V1 versus V2 session tokens, routing, size limits, what not to put in it, and the host firewall rules the docs ask for. - [Running Firecracker for untrusted code: a host checklist from the production setup guide](https://sandscale.dev/blog/firecracker-production-host-checklist.md): The host-side work Firecracker's production guide leaves to you, as a checklist: seccomp defaults, the serial console, log volume, cgroup limits, kvm-pit, egress filtering and metadata, swap, SMT, KSM, microcode and one tenant per VM. - [Firecracker rate limiters: token buckets for network, disk and entropy, worked through](https://sandscale.dev/blog/firecracker-rate-limiters-explained.md): How Firecracker's I/O rate limiters work: two token buckets per device (bytes and operations), size, refill_time and one_time_burst, how to read a config, update it at runtime, and what the limiters do not cover. - [Firecracker sandbox for AI agents: what you get, what you still decide, and where to start](https://sandscale.dev/blog/firecracker-sandbox-for-ai-agents.md): What a Firecracker sandbox is, why AI agent platforms use microVMs for untrusted code, what Firecracker does not do for you, and how to run agent code in one with the Sandscale SDK, CLI or MCP. - [Firecracker vsock: how the host and a microVM talk without a network](https://sandscale.dev/blog/firecracker-vsock-explained.md): How Firecracker's virtio-vsock device maps guest AF_VSOCK ports to host Unix sockets, the CONNECT handshake, the reserved port range, connection limits, snapshot caveats and what it means for agent sandboxes. - [Freestyle alternatives: VMs for AI agents, compared by plan, persistence and controls](https://sandscale.dev/blog/freestyle-alternatives.md): Freestyle sells full Linux VMs for long-running agents with memory-preserving pause and live cloning. Alternatives for lower entry cost for persistence, governance on every plan, per-run boxes, branching and GPUs. Sourced table and FAQ. - [Gemini CLI in a sandbox: headless runs in a cloud workspace](https://sandscale.dev/blog/gemini-cli-headless-in-a-cloud-workspace.md): Run Gemini CLI headless, with JSON output, inside a Sandscale workspace, a persistent Firecracker microVM. Approval modes, exit codes and how to keep its shell commands off your laptop. - [Giving a coding agent Git access: PATs, deploy keys and GitHub App tokens compared](https://sandscale.dev/blog/git-credentials-for-coding-agents.md): A coding agent needs to clone, push a branch and maybe open a pull request. Which GitHub credential to give it, how to scope it to one repository and one hour, and how to hand it over without leaving it in .git/config. - [GitHub Actions and agent pull requests: triggers, tokens and where the tests run](https://sandscale.dev/blog/github-actions-run-agent-pr-tests-in-sandbox.md): A coding agent's pull request runs its own code in your CI. The GitHub Actions settings that decide what that code can reach, the pull_request_target trap, and a workflow that runs the tests in a sandbox instead of on the runner. - [Handling sandbox API errors in TypeScript: what to retry, what to surface, what to recover](https://sandscale.dev/blog/handling-sandscale-api-errors-typescript.md): A practical guide to the error classes in @sandscale/sdk: which failures the SDK retries for you, which it never retries, and how to recover a sandbox start that timed out. - [Hash-chained audit logs, explained in under 40 lines of code](https://sandscale.dev/blog/hash-chained-audit-logs-explained.md): How chaining each log entry to the hash of the one before makes edits and deletions visible, what it does not protect against, and a small verifier you can read in a few minutes. - [Invisible instructions: hidden Unicode in the files and pages a coding agent reads](https://sandscale.dev/blog/hidden-unicode-in-agent-inputs.md): Bidirectional controls, zero-width characters and Unicode tag characters let text say one thing to a reviewer and another to a model or a compiler. Where they show up in a coding agent's inputs, a TypeScript scanner, a ripgrep one-liner for CI, and what to do with a finding. - [How to run your test suite in a clean microVM with the Sandscale CLI](https://sandscale.dev/blog/how-to-run-tests-in-a-sandbox-with-the-sandscale-cli.md): Use the Sandscale CLI to create a sandbox, put a project in it, run the tests there and read the result: file upload, sandscale sandbox run and its exit codes, network for installs, inspecting a failure, terminating, and using it in scripts and CI. - [How to start agent sandboxes from a prepared snapshot](https://sandscale.dev/blog/how-to-start-sandboxes-from-a-prepared-snapshot.md): Install dependencies once, snapshot /workspace, and start every agent run from that snapshot with no network. Why the virtualenv must live in /workspace, waiting for the snapshot to be ready, retention and quotas. Type-checked TypeScript. - [Which agent actions should wait for a person? Designing approvals that people do not rubber-stamp](https://sandscale.dev/blog/human-approvals-for-agent-tool-calls.md): How to decide which AI agent tool calls need human sign-off, how to keep approvals from turning into reflexive clicks, and the properties an approval system needs to be worth anything. - [Making an agent's side-effecting tools safe to call twice](https://sandscale.dev/blog/idempotent-side-effects-for-agent-tools.md): Agents repeat tool calls: a retry after a lost response, a model that did not see its own result, a crashed worker that replays its last step. A design for tools that open pull requests, post comments or start resources: deterministic keys, a small ledger, the downstream API's own idempotency, and what to tell the model when a call was a repeat. - [Containers, gVisor or Firecracker: how to isolate code your AI agent wrote](https://sandscale.dev/blog/isolating-ai-agent-code-containers-gvisor-firecracker.md): A plain comparison of containers, gVisor and Firecracker microVMs for running untrusted agent code: threat model, how each works, and what each costs. - [Designing a kill switch for AI agents: what it should stop, and how to know it works](https://sandscale.dev/blog/kill-switch-for-ai-agents.md): Every team running agents needs a way to stop all of them at once. What an organization-wide kill switch should halt, who should be able to pull it, how clients should react, and how to rehearse it. - [KVM for application engineers: what hardware virtualization gives you that namespaces do not](https://sandscale.dev/blog/kvm-basics-for-application-engineers.md): A plain explanation of KVM, the VMM, vCPUs and guest kernels, and why a virtual machine boundary differs from a container boundary when you run code you did not write. No kernel background needed. - [Tracing a sandbox back to the ticket: labels, metadata and run records for agent work](https://sandscale.dev/blog/labels-and-run-records-for-traceability.md): When a box does something unexpected, the first question is what it belonged to. A labelling scheme for agent sandboxes (task, ticket, PR, agent, user, cost owner), how to enforce it in one wrapper, and the queries it makes possible. - [LangGraph.js agents with a Sandscale sandbox per thread](https://sandscale.dev/blog/langgraph-js-agent-with-sandscale.md): Give a LangGraph.js agent shell and file tools that run in a Firecracker sandbox: tools from @langchain/core, a StateGraph with ToolNode, the sandbox id passed through configurable, and cleanup that always runs. Type-checked against current packages. - [A LlamaIndex.TS data agent that runs its Python in a Sandscale sandbox](https://sandscale.dev/blog/llamaindex-ts-agent-with-sandscale.md): Use LlamaIndex.TS's agent workflow with tools that write and run Python in a Firecracker sandbox, built per sandbox so a run can only reach its own box. Upload data files, answer with the numbers, clean up. Type-checked. - [LLM sandbox: how to run LLM-generated code without trusting it](https://sandscale.dev/blog/llm-sandbox-run-llm-generated-code.md): A pattern for running code a model wrote: a fresh microVM per task, files in, a command with a time limit, results out, and the flags that tell the model what went wrong. With TypeScript and curl examples. - [Moving an agent's code runner from local Docker to a hosted microVM: a migration checklist](https://sandscale.dev/blog/local-docker-to-hosted-microvm-checklist.md): What changes when your agent stops running code in a Docker container on your server and starts using a hosted microVM sandbox: images, files, network, secrets, timeouts, output, cost and cleanup. A checklist with the gotchas. - [Mastra agent tools that run in a Sandscale sandbox](https://sandscale.dev/blog/mastra-agent-tools-on-sandscale.md): Build Mastra tools with createTool that run commands and read files in a Firecracker sandbox, pass the sandbox through requestContext, and clean up after every generate call. Type-checked against @mastra/core 1.86. - [Security checklist for an MCP server that executes code](https://sandscale.dev/blog/mcp-code-execution-server-security-checklist.md): What to check before you give an AI agent an MCP tool that runs code: where the code runs, who it runs as, tool annotations, network, secrets, limits and records. With how Sandscale's MCP servers answer each item. - [What a microVM snapshot really contains, and the three ways restoring one goes wrong](https://sandscale.dev/blog/microvm-snapshots-pitfalls.md): Memory snapshots make sandboxes resumable and clonable. They also copy random seeds, clocks and secrets. What Firecracker's documentation says about snapshot uniqueness, and how to design around it. - [Modal Sandbox alternatives in 2026, by use case](https://sandscale.dev/blog/modal-sandbox-alternatives.md): Where to run agent code if Modal Sandboxes do not fit: per-run microVMs, GPU sandboxes, persistent environments, self-hosted, edge and full platforms. Best-for picks, a sourced comparison table and an FAQ. - [Watching what an agent's sandbox is doing: CPU, memory, disk and run history](https://sandscale.dev/blog/monitoring-sandbox-cpu-memory-and-runs.md): Use sandscale sandbox list, get, instances-metrics-list, runs-list and run-get to see which sandboxes your agents started, how hard they are working, and what each command did. Plus the run record for cost per run. - [Morph Cloud alternatives: branching, persistent devboxes and per-run sandboxes compared](https://sandscale.dev/blog/morph-cloud-alternatives.md): Morph Cloud is built around snapshotting and branching VMs. Alternatives for memory forking, persistent agent machines, governed per-run sandboxes, GPUs and self-hosting, with best-for lines, a sourced table and FAQ. - [Running your customers' agent code: an isolation design for multi-tenant platforms](https://sandscale.dev/blog/multi-tenant-agent-platforms-isolation.md): If your product runs code that your customers' agents write, every run is someone else's untrusted code next to another customer's data. A design for per-run kernels, per-tenant credentials and networks, noisy neighbours, and records you can show a customer. - [node:vm, vm2 and Python's exec are not sandboxes: in-process isolation and why it fails](https://sandscale.dev/blog/node-vm-module-is-not-a-sandbox.md): Running model-written code inside your own process with node:vm, vm2 or exec with empty builtins looks like isolation. The docs say it is not, and two short escapes show why. What to use instead. - [Northflank alternatives for AI agent sandboxes: focused sandbox APIs vs full platforms](https://sandscale.dev/blog/northflank-alternatives.md): Northflank runs sandboxes on Kata microVMs or gVisor inside a full cloud platform, on its cloud or yours. Alternatives for a focused sandbox API, built-in agent governance, per-run lifecycles and GPU work, with a sourced table and FAQ. - [nsjail, bubblewrap and Firejail compared: three Linux process sandboxes, from their own docs](https://sandscale.dev/blog/nsjail-bubblewrap-firejail-compared.md): Three open-source tools wrap a process in namespaces, seccomp and resource limits. What each was built for, how each is configured, where each draws its security model, and which suits running agent-written code. - [OpenAI Agents SDK for TypeScript with a Sandscale sandbox: context, tools and approvals](https://sandscale.dev/blog/openai-agents-sdk-with-sandscale.md): An integration guide that keeps one sandbox per agent run in the Agents SDK's run context, runs model-written Python in it, and puts package installs behind needsApproval with the interruptions loop. - [Running OpenHands' agent server on a hosted microVM and reaching it with sandscale workspace port-forward](https://sandscale.dev/blog/openhands-with-a-hosted-microvm.md): OpenHands says to treat its agent as untrusted and run it in a container, sandbox or VM. Run its backend on a Sandscale workspace (a Firecracker microVM), connect Agent Canvas through port-forward, and, separately, give a local OpenHands a sandbox through MCP. What each setup isolates and what it does not. - [Pause, snapshot or stop: choosing a lifecycle for each agent sandbox](https://sandscale.dev/blog/pause-resume-or-stop-agent-sandboxes.md): Three lifecycles cover most agent workloads: throwaway, paused between turns, and started from a snapshot. What each keeps, what each costs while waiting, and how to wire them with the TypeScript SDK. - [One sandbox per run, per session or per user: isolation, cost and state trade-offs](https://sandscale.dev/blog/per-run-vs-shared-sandboxes.md): Three ways to map agent work onto sandboxes, and what each does to isolation between users, carried-over state, cost while waiting and cleanup. With a decision table and the failure modes of each. - [From prompt injection to code execution: how text becomes a shell command](https://sandscale.dev/blog/prompt-injection-to-code-execution.md): How an instruction hidden in an issue, a README or a web page turns into a command your coding agent runs, traced step by step, and which layer can stop it at each step. - [30 questions to ask any agent sandbox provider before you sign up](https://sandscale.dev/blog/questions-to-ask-an-agent-sandbox-provider.md): A vendor-neutral checklist for choosing where your agents run code: isolation, network, secrets, lifecycle, billing for waiting time, governance, data location, reliability and leaving. With where to find each answer for Sandscale. - [Remote or local: choosing between Sandscale's two MCP servers](https://sandscale.dev/blog/remote-vs-local-sandscale-mcp-server.md): mcp.sandscale.dev and sandscale mcp compared tool by tool: transport, sign-in, which tools each offers, what each leaves out, and which one fits a coding agent, a hosted assistant or a build workflow. - [Reproducible agent runs: pinning what you can, recording what you cannot](https://sandscale.dev/blog/reproducible-agent-runs.md): An agent run will never replay bit for bit, because the model will not. But the environment, inputs, commands and results can be pinned or recorded, so you can explain a run, rerun its commands and compare. A design for doing that. - [Fork bombs, full disks and OOM kills: handling resource exhaustion in agent sandboxes](https://sandscale.dev/blog/resource-exhaustion-in-agent-sandboxes.md): Model-written code will eventually loop forever, fill the disk, fork without limit or print gigabytes. How each failure shows up, which limits contain it, and what to tell the model so it recovers instead of thrashing. - [A checklist for reviewing a pull request an AI agent wrote](https://sandscale.dev/blog/reviewing-an-agent-diff-checklist.md): Agent-written PRs fail in different places than human ones. A practical review checklist: what to read first, the lines that deserve the most suspicion, and what to run before you approve. - [Run your AI agent's code in a microVM](https://sandscale.dev/blog/run-agent-code-in-a-microvm-quickstart.md): A new open-source quickstart: run the code your AI agent writes in a fresh Firecracker microVM, from the TypeScript SDK or plain REST, on the Free plan. - [Run code from Claude or ChatGPT in a microVM with a remote MCP connector](https://sandscale.dev/blog/run-code-from-claude-or-chatgpt-in-a-microvm.md): Add mcp.sandscale.dev as a custom connector in Claude, ChatGPT or any remote MCP client so the assistant runs code in Firecracker sandboxes as you. Setup, the tools, limits, what it cannot do, and how to disconnect. - [Runloop alternatives: where to move devboxes now that Runloop is winding down](https://sandscale.dev/blog/runloop-alternatives.md): Runloop's docs say it is winding down. A practical map from devboxes, blueprints, snapshots, suspend and agent gateways to Freestyle, Modal, Tensorlake, E2B, Sandscale and others, with a sourced table and FAQ. - [Letting an agent fetch from a short allowlist inside a sandbox, and why the allowlist is per task](https://sandscale.dev/blog/running-browser-free-web-scrapers-in-sandboxes.md): Most agent web access does not need a browser. A small fetch tool built on an HTTP client and an HTML parser, that checks every hop against the task's own allowlist, caps what it reads, honours robots.txt and hands the model text it treats as untrusted. - [Running untrusted pull request code from agents and contributors](https://sandscale.dev/blog/running-untrusted-pr-code-in-sandboxes.md): Run the tests of a pull request you have not read inside a throwaway Firecracker microVM, with no secrets, a time limit and an audit trail. Uses only calls from the Sandscale docs. - [Letting an LLM analyze a CSV without running its code on your server](https://sandscale.dev/blog/safe-data-analysis-with-llm-generated-python.md): A TypeScript pattern for data questions answered by model-written Python: run the script in a throwaway sandbox, demand a strict JSON contract, validate it, and feed errors back for a bounded retry. - [Setting up the Sandscale MCP server in Claude Code, with permission rules that fit it](https://sandscale.dev/blog/sandscale-mcp-server-in-claude-code.md): Add the remote Sandscale MCP server to Claude Code, sign in, pick a scope, and write allow, ask and deny rules for its tools, plus the local sandscale mcp server as an alternative. - [Adding the Sandscale MCP server to Codex: config.toml, OAuth login and approval modes](https://sandscale.dev/blog/sandscale-mcp-server-in-codex.md): Configure the remote or local Sandscale MCP server in OpenAI Codex, sign in with codex mcp login, and use enabled_tools, approval modes and tool timeouts to match what each tool does. - [Connecting Cursor to the Sandscale MCP server: global or per project, remote or local](https://sandscale.dev/blog/sandscale-mcp-server-in-cursor.md): The mcp.json entries for the remote and local Sandscale MCP servers in Cursor, where to put them, how sign-in and tool approval work, and what changes for Cloud Agents and team allowlists. - [Running agent-generated code in AWS Lambda functions vs a sandbox](https://sandscale.dev/blog/sandscale-vs-aws-lambda-functions-for-agent-code.md): Lambda functions are a tempting place to run code an LLM wrote. What the Lambda docs say about timeouts, memory, /tmp and execution environment reuse as of November 2026, why reuse matters for untrusted code, and when a per-run sandbox fits better. - [Sandscale vs AWS Lambda MicroVMs for agent sandboxes](https://sandscale.dev/blog/sandscale-vs-aws-lambda-microvms.md): Two Firecracker-based ways to give agents isolated machines, compared from public docs as of November 2026: how you define the environment, start, suspend and connect, networking defaults, lifetime limits, pricing models, and governance. - [Sandscale vs Azure Container Apps dynamic sessions for agent code](https://sandscale.dev/blog/sandscale-vs-azure-container-apps-dynamic-sessions.md): A sourced comparison, as of November 2026, of Azure Container Apps dynamic sessions and Sandscale sandboxes: session pools and identifiers, Hyper-V vs Firecracker isolation, the 220-second execution limit, files, network defaults, auth and governance. - [Sandscale vs Amazon Bedrock AgentCore Code Interpreter](https://sandscale.dev/blog/sandscale-vs-bedrock-agentcore-code-interpreter.md): A sourced comparison, as of November 2026, of AgentCore Code Interpreter and Sandscale sandboxes for running agent-written code: isolation model, languages and packages, network modes, session length, files, pricing and governance. - [Sandscale vs Cloudflare Sandboxes: a Worker-driven container or a standalone microVM API](https://sandscale.dev/blog/sandscale-vs-cloudflare-sandboxes.md): Cloudflare runs sandboxes as containers or Dynamic Workers behind your Worker. Sandscale runs a Firecracker microVM per agent run behind its own API. A sourced comparison of isolation, lifetime, billing, credentials and governance. - [Sandscale vs Daytona: containers or microVMs, and how each bills idle time](https://sandscale.dev/blog/sandscale-vs-daytona.md): Sandscale sandboxes are Firecracker microVMs by default; Daytona defaults to containers with VM options. A sourced look at isolation, billing and limits. - [Sandscale vs Docker Sandboxes: a microVM on the developer's laptop, or one per run in the cloud](https://sandscale.dev/blog/sandscale-vs-docker-sandboxes.md): Docker Sandboxes run coding agents in microVMs on your machine or on Docker-managed cloud, with a host-side proxy that injects credentials. Sandscale runs a Firecracker microVM per agent run behind an API. A sourced comparison of where each fits. - [Sandscale vs E2B: how two Firecracker sandbox platforms differ](https://sandscale.dev/blog/sandscale-vs-e2b.md): Sandscale and E2B both run agent code in Firecracker microVMs. A sourced comparison of billing, governance, regions and maturity, and when to pick E2B. - [Sandscale vs Fly Machines and Sprites: a general VM API, a persistent agent computer, or a per-run sandbox](https://sandscale.dev/blog/sandscale-vs-fly-machines-and-sprites.md): Fly.io offers Machines, fast-starting VMs behind a REST API, and Sprites, persistent hardware-isolated Linux environments for agents. How both compare with Sandscale's per-run Firecracker sandboxes on lifecycle, persistence, billing and what you build yourself. - [Sandscale workspaces vs GitHub Codespaces for coding agents](https://sandscale.dev/blog/sandscale-vs-github-codespaces.md): Both give you a cloud machine with your repo on it. A sourced comparison as of November 2026 of isolation, network defaults, idle and lifetime limits, credentials, pricing and agent controls, for teams running Claude Code or Codex on a remote box. - [Sandscale vs Modal Sandboxes: a purpose-built sandbox or a feature of a bigger platform](https://sandscale.dev/blog/sandscale-vs-modal.md): Modal Sandboxes run on gVisor or VMs inside a broader compute platform. Sandscale is Firecracker microVMs for agents. A sourced comparison with cost math. - [Sandscale vs Northflank Sandboxes: a full cloud platform with sandboxes, or a governed sandbox for agents](https://sandscale.dev/blog/sandscale-vs-northflank-sandboxes.md): Northflank runs sandboxes on Kata Containers microVMs or gVisor, on its cloud or yours, next to services, databases and GPUs. Sandscale runs a Firecracker microVM per agent run with approvals, audit and Vault built in. A sourced comparison. - [Sandscale vs Railway Sandboxes: VMs next to your services, or a governed box per agent run](https://sandscale.dev/blog/sandscale-vs-railway-sandboxes.md): Railway Sandboxes are isolated Linux VMs scoped to a Railway environment, with forks, checkpoints and usage-based VM pricing. Sandscale runs a Firecracker microVM per agent run with the network closed by default. A sourced comparison. - [Sandscale vs Vercel Sandbox: two Firecracker platforms, two ways to meter a waiting agent](https://sandscale.dev/blog/sandscale-vs-vercel-sandbox.md): Vercel Sandbox and Sandscale both run agent code in Firecracker microVMs. A sourced comparison of the meters (Active CPU plus provisioned memory, or awake vCPU-hours), limits, persistence, credentials, regions and governance. - [Scoping API keys for agents and CI: least privilege for sandbox access](https://sandscale.dev/blog/scoping-api-keys-for-agents-and-ci.md): Which permissions a CI job or agent backend really needs to start, use and stop sandboxes, how key expiry and rotation work on Sandscale, and a key plan you can copy. - [Scripting the Sandscale CLI: exit codes, JSON output and when to switch to an API key](https://sandscale.dev/blog/scripting-the-sandscale-cli-exit-codes-and-json.md): Use the sandscale CLI in shell scripts, Makefiles and git hooks: what each exit code means, what sandbox run and exec return, JSON output, what a project upload leaves out, and why CI should use an API key instead of the CLI session. - [seccomp for application developers: what a syscall filter does, and what it cannot](https://sandscale.dev/blog/seccomp-for-application-developers.md): seccomp shows up in Docker, systemd, browsers and microVM monitors. A practical explainer: how a filter decides, how to see whether a process has one, how to try one on your own service, and the limits the kernel docs spell out. - [Secrets in environment variables: who can actually read them](https://sandscale.dev/blog/secrets-in-environment-variables-risks.md): Environment variables are the standard way to hand a program a secret, and the standard way it leaks. Every path that can read an env var on Linux, and what that means for code an AI agent runs. - [Keeping secrets out of agent prompts: how Vault and DLP fit together](https://sandscale.dev/blog/secrets-out-of-agent-prompts-vault-dlp.md): How a secret leaks from an AI agent run, what Sandscale Vault and DLP each cover, and the paths neither closes. Documented behavior only. - [Self-hosting Firecracker for agent sandboxes vs using a hosted microVM sandbox](https://sandscale.dev/blog/self-hosted-firecracker-vs-hosted-microvm-sandbox.md): What running your own Firecracker fleet for agent code involves, from the Firecracker docs as of November 2026: KVM hosts, guest kernels and rootfs, a tap device per VM, egress filtering, the jailer, snapshot uniqueness, and the control plane you still have to write. And when building it is the right call. - [Running gVisor yourself vs a hosted microVM sandbox: what you build either way](https://sandscale.dev/blog/self-hosted-gvisor-vs-hosted-microvm-sandbox.md): gVisor's runsc gives you a strong sandbox you can run on your own hosts with Docker or Kubernetes. A build-versus-buy look at everything around it an agent platform still needs, and when self-hosting is the right call. - [Sizing an agent sandbox: vCPUs, memory and disk without guessing](https://sandscale.dev/blog/sizing-sandboxes-vcpu-memory.md): How to pick vCPU and memory for agent runs from what the workload does, how to spot undersizing from exit results, and how Sandscale's per-plan limits, 4 GiB per vCPU (2 GiB on Free) and extra-memory accounting work. - [Spend caps for AI agents: designing budgets that stop a runaway loop before the invoice does](https://sandscale.dev/blog/spend-caps-for-ai-agents.md): Where agent costs run away (retry loops, fan-out, forgotten boxes, model tokens), which budget belongs at which level, what should happen when one is hit, and how Sandscale's caps and plan limits fit in. - [Fly.io Sprites alternatives: persistent agent computers, per-run sandboxes and self-hosted options](https://sandscale.dev/blog/sprites-alternatives.md): Sprites are persistent, hardware-isolated Linux VMs on Fly.io that checkpoint themselves. Alternatives for disposable per-run boxes, built-in agent governance, memory-preserving pause, GPUs and self-hosting, with a sourced table and FAQ. - [Who may start what: SSO, roles, groups, and why agents should act as a person](https://sandscale.dev/blog/sso-and-roles-for-agent-platforms.md): Identity for agent platforms: keep sign-in in your identity provider, map groups to roles on the resources agents touch, and make every agent action trace back to a person instead of a shared service account. - [Streaming command output from a sandbox: live logs for long agent runs](https://sandscale.dev/blog/streaming-sandbox-output-typescript.md): How to stream stdout and stderr from a long-running sandbox command with the TypeScript SDK or plain HTTP, resume after a dropped connection, and decide what the model should see. - [What to log for every agent run: a structured logging schema you can query later](https://sandscale.dev/blog/structured-logging-for-agent-runs.md): When an agent run goes wrong you need to answer who, what, where and why from your logs. A field-by-field schema for agent tool calls and sandbox runs, what to leave out, and a TypeScript wrapper that emits it. - [When your agent runs npm install: typosquats, dependency confusion and hallucinated packages](https://sandscale.dev/blog/supply-chain-risk-when-agents-install-packages.md): Coding agents add and install dependencies on their own. The supply-chain attacks that exploit that, from install scripts to package names models invent, and the controls that limit the damage. - [Giving a coding agent test results it can act on: JUnit XML, go test -json and a short failure summary](https://sandscale.dev/blog/test-results-a-coding-agent-can-act-on.md): An exit code says tests failed; a 30,000-line log says too much. How to have pytest, Vitest and go test write machine-readable reports inside a sandbox, turn them into a compact summary of the failures, and tell the model the difference between a failing test and a run that never finished. - [Integration tests for agent tools that run code: fixtures, cleanup, labels and budgets](https://sandscale.dev/blog/testing-agent-tools-against-real-sandboxes.md): Unit tests with a mocked sandbox miss the bugs that matter: timeouts, output limits, missing tools in the image, network refusals. How to write a small integration suite against real sandboxes that is fast enough to run in CI and never leaves boxes behind. - [A threat model for AI coding agents: what can go wrong, and where to put the controls](https://sandscale.dev/blog/threat-model-for-ai-coding-agents.md): A practical threat model for coding agents: the assets at risk, the ways untrusted text gets in, the attacker goals, and which control belongs at which layer. - [Three clocks: setting sandbox, command and request timeouts for AI agents](https://sandscale.dev/blog/timeouts-for-agent-sandboxes.md): An agent sandbox has three separate time limits: how long the sandbox lives, how long one command may run, and how long your client waits for an answer. How they interact, and how to set each one. - [Feeding command output back to an LLM: truncation, cleanup and secret masking](https://sandscale.dev/blog/truncating-tool-output-for-llms.md): Raw tool output is the wrong shape for a model's context: too long, full of terminal noise, and sometimes full of secrets. A TypeScript helper that normalizes, masks, collapses and truncates output before the model sees it. - [Getting code into a sandbox and results out: files, folders and change lists](https://sandscale.dev/blog/uploading-a-project-into-a-sandbox.md): Three ways to move code into a Sandscale sandbox, single files, whole folders as a tar archive, and reading files back, plus how to ask which files the agent changed. - [Use case: an agent that turns a bug report into a failing test](https://sandscale.dev/blog/use-case-bug-reproduction-agent.md): Designing an agent that reads an issue, reproduces it in an isolated sandbox started from a snapshot of your repo, and hands back a failing test and a patch for a person to review, with the controls that keep it safe on public issues. - [Use case: a code interpreter for a chat product, one sandbox per conversation](https://sandscale.dev/blog/use-case-chat-code-interpreter.md): How to back a chat assistant's code interpreter with one Firecracker sandbox per conversation: lifecycle across turns with pause and resume, files in and out, per-user labels, limits, and what to tell the model. - [Use case: evaluating a coding agent across many tasks, one sandbox per attempt](https://sandscale.dev/blog/use-case-coding-agent-evals.md): Running agent evals in isolated sandboxes: a shared starting snapshot, one box per task attempt, hidden tests copied in after the agent finishes, concurrency within plan limits, retries, labels and cost accounting. - [Use case: an agent that upgrades dependencies and proves the tests still pass](https://sandscale.dev/blog/use-case-dependency-upgrade-agent.md): A design for a dependency-upgrade agent that runs each upgrade in its own sandbox with registry-only network access, fixes breaking changes, runs the tests and hands back a reviewed patch, plus the supply-chain controls it needs. - [Use case: telling flaky tests from broken ones with parallel sandboxes](https://sandscale.dev/blog/use-case-flaky-test-detection-in-parallel-sandboxes.md): Run a failing test many times across several fresh Firecracker sandboxes started from the same snapshot, and get a verdict: stable, broken or flaky, with timeouts and memory kills reported separately. Useful for CI and for coding agents. Type-checked TypeScript. - [Use case: grading code submissions from strangers, one microVM per submission](https://sandscale.dev/blog/use-case-grading-untrusted-code-submissions.md): Designing an autograder or coding-exercise judge on sandboxes: per-submission isolation, no network, hidden tests copied in after the code, time and memory verdicts from the run result, output caps, and what to log. - [Use case: a coding agent that keeps working after you close the laptop](https://sandscale.dev/blog/use-case-long-running-agent-in-a-workspace.md): Running Claude Code, Codex or Gemini CLI inside a Sandscale workspace instead of on your machine: setup with the CLI, attaching from any device, schedules and idle stop, what to give the agent, and when a sandbox or Agent Cloud fits better. - [Use case: testing the code snippets in your docs, one sandbox per page](https://sandscale.dev/blog/use-case-testing-docs-code-snippets.md): Docs examples rot quietly. Extract the snippets you mark as testable, run each page's snippets in order in a fresh Firecracker sandbox, and fail CI when one breaks. A type-checked TypeScript runner with concurrency kept within your plan. - [Use case: a text-to-SQL agent that queries a read-only copy in a sandbox](https://sandscale.dev/blog/use-case-text-to-sql-agent-on-a-sandboxed-copy.md): Let a model answer questions with SQL without giving it your database. Copy a SQLite extract into a Firecracker sandbox, open it read-only, cap rows, and return results as JSON to a Vercel AI SDK tool. Type-checked, with the runner tested. - [Vercel AI SDK tools backed by a Sandscale sandbox](https://sandscale.dev/blog/vercel-ai-sdk-tools-on-sandscale.md): A TypeScript integration guide: three AI SDK tools (run_command, write_file, read_file) that act on one Firecracker sandbox per task, with output caps, path checks, a step limit and a guaranteed stop. - [Vercel Sandbox alternatives: when to look past it and where to go](https://sandscale.dev/blog/vercel-sandbox-alternatives.md): Vercel Sandbox runs Firecracker microVMs metered on Active CPU. Alternatives for teams not on Vercel, needing bigger boxes, built-in agent governance, GPUs or self-hosting. Best-for picks, sourced table, FAQ. - [Using a remote MCP sandbox from VS Code's agent: Copilot's .mcp.json, the older mcp.json format and tool approvals](https://sandscale.dev/blog/vs-code-agent-mode-with-a-remote-mcp-sandbox.md): Add the remote Sandscale MCP server to VS Code so the chat agent can run installs and tests in a Firecracker microVM. The two configuration formats, OAuth sign-in, the tools list, approvals and trust, and what to do for remote sessions. VS Code's agent mode, as it is documented now. - [WebAssembly or a microVM for agent-written code? A comparison from the projects' own docs](https://sandscale.dev/blog/wasm-vs-microvm-for-agent-code.md): WebAssembly runtimes and microVMs both promise to run untrusted code safely, in very different ways. What each boundary is, what code each can run, and which fits the code AI agents actually write. - [What DLP on LLM prompts catches, what it misses, and what to layer around it](https://sandscale.dev/blog/what-prompt-dlp-catches-and-misses.md): Pattern-based scanning of prompts and tool calls stops pasted API keys and known token formats. It misses encoded, split and unformatted secrets, and everything inside the sandbox. A practical look at the strengths, the blind spots and the layers that cover them. - [Writing a policy for coding agents: a plain-English template you can adapt](https://sandscale.dev/blog/writing-a-policy-for-coding-agents.md): An example policy for Claude Code, Codex and similar agents, in three lists: allowed on its own, needs a person, never. With the reasoning behind each line and how such a policy maps to hooks and approvals. ## Company - [Brand](https://sandscale.dev/brand.md): The Sandscale mark, colours, type and how to use them. - [Changelog](https://sandscale.dev/changelog.md): Sandscale releases and changes, written plainly. - [About](https://sandscale.dev/company.md): Sandscale builds isolated compute for AI agents: sandboxes, workspaces, build hosts and lab hosts. Operated by Sandscale, Inc.. - [Contact](https://sandscale.dev/contact.md): Every Sandscale inbox, read by the team: sales, Enterprise, billing, support, developers, security, abuse, privacy and legal. - [FAQ](https://sandscale.dev/faq.md): Straight answers about Sandscale: sandboxes, workspaces, build and lab hosts, isolation, speed, plans and regions. - [Performance](https://sandscale.dev/performance.md): Measured start times, throughput and capacity of Sandscale sandboxes, with the hardware and method behind every figure. - [Status](https://sandscale.dev/status.md): The Sandscale status page goes live at launch. Hosted compute runs in US East. Europe is coming soon. - [Support](https://sandscale.dev/support.md): How to get help with Sandscale: what to send, and how support works on each plan. ## Optional - [Sandscale: sandboxes for AI agents](https://sandscale.dev/index.md): Isolated compute for AI agents. Firecracker microVM sandboxes, workspaces and build machines, started in one call. - [Acceptable use](https://sandscale.dev/acceptable-use.md): What you may and may not run on Sandscale sandboxes, workspaces, build hosts and lab hosts. - [Legal](https://sandscale.dev/legal.md): Sandscale policies: terms of service, privacy, cookies, data processing, subprocessors, service levels, acceptable use, export control and accessibility. - [Accessibility](https://sandscale.dev/legal/accessibility.md): The accessibility statement for the Sandscale website. - [Company information](https://sandscale.dev/legal/company-information.md): Registered details of Sandscale, Inc., the company that operates Sandscale. - [Cookie policy](https://sandscale.dev/legal/cookies.md): The cookies and browser storage the Sandscale website uses: none, apart from a remembered appearance setting. - [Data processing](https://sandscale.dev/legal/data-processing.md): A summary of the Sandscale data processing addendum: roles, commitments, where data is processed, subprocessors and transfers. - [Export control](https://sandscale.dev/legal/export-control.md): Export control and sanctions compliance for Sandscale. - [Privacy notice](https://sandscale.dev/legal/privacy.md): How Sandscale collects, uses and protects personal information, who we share it with, how long we keep it, and your rights. - [Service levels](https://sandscale.dev/legal/service-levels.md): Sandscale availability and support commitments, and how they apply during early access. - [Subprocessors](https://sandscale.dev/legal/subprocessors.md): The subprocessors Sandscale uses to provide the service: what each does and where. - [Terms of service](https://sandscale.dev/legal/terms.md): The terms of service for Sandscale: accounts, plans and billing, your content, suspension, liability and governing law.