Render Sandboxes Give AI Agents Isolated Linux Machines on Demand
Render’s public beta provides persistent Firecracker microVMs for agent tasks, with automatic suspension, network controls and CPU-based billing.

Render Sandboxes give software agents a place to run code that behaves more like a dedicated computer than a shared web service. The public beta offers isolated Linux environments that can start on demand, retain state across long tasks and suspend when idle. For teams building agent features, the practical change is a managed runtime for work that needs its own files, processes and dependencies.
That separation matters when an agent is editing a codebase, installing packages or executing user supplied code. A conventional web service is designed to stay up and serve requests; deploying a new instance can take minutes. Render’s approach gives each task or user a separate machine when it’s needed. Each sandbox runs in a Firecracker microVM, and Render says it can run thousands at once.
Persistent environments that pause when idle
A sandbox can run indefinitely, which suits work that lasts longer than a single request. An agent performing a multi day code migration, for example, can keep its application, processes and memory available between commands. That persistence avoids repeatedly rebuilding the working environment as the task progresses.
Sandboxes start from either Render’s default image or a custom image prepared with an agent harness, dependencies and configuration. Render says a sandbox is typically ready for its first command in under one second, with snapshot restores starting faster. The company expects startup time to improve during the beta, so those figures remain an area to watch as usage expands.
When a sandbox has no command to run, automatic suspension can preserve its state in a snapshot and stop the machine. A later command wakes it again. The default idle timeout is 15 minutes, and teams can change it or turn off automatic suspension. While suspended, a sandbox incurs no CPU or memory charges; snapshot storage is still billed.
Snapshots also support an explicit workflow: using the TypeScript or Python SDK, developers can capture a sandbox and restore that state into a new one later. That gives applications a way to preserve progress or create a fresh runtime from a known point, alongside the automatic idle snapshot behavior.
Network and credential controls
Agent tasks often need access to external services, but unrestricted network access can expose systems and secrets to mistakes or hostile instructions. Each sandbox can allow all outbound traffic, restrict traffic to a list of domains, or block outbound connections altogether.
Render also offers credential brokering, which keeps API keys outside the sandbox. Code makes a request without holding the secret; an external broker adds the appropriate key or token when the request is sent to an allowed domain. The aim is to reduce the chance that malicious code or a prompt injection exposes credentials. Credential brokering is in early access and is being rolled out to more customers.
Scoped API keys provide another boundary. A key can be limited to the permissions a task needs, such as managing sandboxes, without granting access to other services in the workspace. That helps contain the damage a misconfigured or misdirected agent could cause. Scoped keys are also in early access; Render is accepting requests for access to both features.
Billing and integration with Render
Billing tracks active CPU use rather than simply reserving CPU capacity. Waiting for a model response or a person therefore does not add CPU time, though allocated memory is billed while the sandbox is running. Once suspended, the memory charge ends as well, leaving snapshot storage as the remaining charge.
The beta is available in Oregon on all Render workspace plans. Sandboxes sit in the same workspace as a team’s web services, background workers and databases, use Render API keys, and can be managed through the Render CLI or SDKs. That keeps provisioning and billing within the existing Render setup, without adding another infrastructure provider to operate.
Developers can use Docker and Docker Compose inside a sandbox to start an application and its database together, then test changes before deployment. Render also positions Sandboxes alongside Render Workflows: Workflows can handle repeatable steps such as fetching inputs, calling a model and saving results, while a sandbox holds the stateful environment where an agent chooses its next actions.
Getting started and what to watch
Render says the infrastructure builds on its experience creating isolated environments for builds, which it does more than one million times a day. The company says that foundation is designed to support workloads from a single sandbox to thousands. The key beta questions will be how startup behavior holds up under varied workloads and how the developing access controls mature.
To try the service, install the TypeScript SDK with npm install @renderinc/sdk or the Python SDK with pip install render. Set RENDER_API_KEY and RENDER_WORKSPACE_ID in the application environment, then issue a command through the SDK or Render CLI. The quickstart and Sandboxes documentation cover setup, while separate guides explain running Claude Managed Agents, Cursor Cloud Agents and the OpenAI Agents API in a sandbox.
For teams already running services on Render, the appeal is a persistent, isolated execution environment connected to familiar tools and billing. The next practical measure is how reliably those environments start, resume and enforce their boundaries as the beta grows.