---
title: "How to choose an AI agent sandbox: 12 questions to ask before you commit"
description: "A buyer's checklist for agent sandboxes in twelve questions, from isolation and task speed to billing and reproducibility, and why the price per hour is the wrong number to compare."
url: "https://www.promigence.ai/blog/how-to-choose-an-ai-agent-sandbox"
site: "Promigence"
---

# How to choose an AI agent sandbox: 12 questions to ask before you commit

_Harshraj, 24 November 2026_

## How do I choose an AI agent sandbox?

Choose an agent sandbox by the work it has to carry, then test it on that work. Ask how isolated each sandbox is, how fast a whole task runs inside one, whether you can pause and copy a prepared environment, what happens when you ask for a hundred at once, how the network and secrets are controlled, and how a run is billed and capped, and how failures are reported. The cheapest price per hour rarely gives the cheapest finished task, because waiting and retries cost more than the rate, and so do failed environments.

## Start with the work

A sandbox for a chatbot's calculator and a sandbox for a coding agent that runs a test suite are different products. Before comparing vendors, write down three things about your workload: what a single task does inside the sandbox, how long it runs, and how many run at the same time at your busiest hour. Every question below gets easier to answer with those numbers in hand.

## The 12 questions

### 1. How separate is one sandbox from another?

Agent code is untrusted by definition: a model wrote it, and anything the model read could have steered it. Ask whether sandboxes from different customers share an operating system kernel, how the provider tests the boundary, and what happens to a sandbox's disk and memory when it is deleted. If the answer is vague, assume the boundary is thin.

### 2. What does the agent get inside?

Check for a full Linux shell, the languages and package managers your tasks use, enough disk for real dependencies, and the ability to run services such as a database during a task. A sandbox that cannot run your test suite as it runs in CI will force the agent to work around it.

### 3. How long does a whole task take?

Start time is the number on every pricing page, and it matters less than it looks. A coding task runs an edit and a check dozens of times, so the time from a change to its result decides how long the task takes. Run one of your real tasks end to end on each candidate and time it. We explained why in [Time to feedback](https://www.promigence.ai/blog/time-to-feedback-coding-agents).

### 4. Can you keep a prepared environment?

Installing dependencies for every task wastes minutes per task. The fix is to build an environment once, as a snapshot, and start every task from it, so find out whether the provider supports that. It also helps when the snapshot is checked as it is built, so a broken environment fails before an agent ever runs in it.

### 5. Can a sandbox pause while the agent waits?

Agents spend much of their time waiting for a model. A sandbox that keeps billing during that time turns the wait into cost. Look for pause and resume that keep the files and running state, and for an option to pause automatically when idle.

### 6. What happens at a hundred at once?

Evaluations, training rollouts and busy products ask for many sandboxes together. Find out the concurrency limit on your plan, whether requests past it queue or fail, and how start time holds up at that width. Then test it, because a burst of a hundred behaves differently from one request repeated a hundred times.

### 7. Can you control the network?

You want three settings at least: no network, a list of allowed hosts, and open. Where the rule is enforced matters as much as the rule. A limit the agent can change from inside the sandbox protects nothing.

### 8. How are secrets handled?

Find out whether a key has to sit in the sandbox's environment, where the agent can read it and be talked into printing it, or whether it can be attached to requests from outside the sandbox. For the keys you do pass in, check what scoping is available.

### 9. How is it billed, and can you cap it?

Per second or per minute changes the bill for short tasks a lot. So do minimum charges per sandbox. You want to see what a run will cost before it starts, and whether you can set a hard cap that stops the run there, because an agent loop that misbehaves overnight will not stop by itself.

### 10. Who pays when the environment fails?

Some failures belong to the task: the agent wrote bad code. Others belong to the platform: a sandbox that never started, a disk that filled, a lost connection. A good provider reports the two differently and does not bill you for the second kind. For training and evaluation the distinction also keeps noise out of your results.

### 11. Can you reproduce a run?

When an evaluation score moves, you need to know whether the model changed or the environment did. Look for pinned images, environments identified by a hash, a record of what each sandbox ran, and a way to replay a run on the same environment.

### 12. How does it fit your stack?

Check the SDKs for your languages, the command line tools, adapters for the agent frameworks you use, and where the service runs. If your security team needs it inside your own cloud, ask early, since that is usually a separate plan.

## How to run the test

A sales call answers the questions. A day of testing answers whether the answers hold. Take one real task from your workload and run it three ways on each candidate: once alone, then ten at a time, then at your peak width. Record the time to finish, the cost from the provider's own usage page and every failure with its cause. Compare cost per finished task, which folds the rate, the speed and the failures into one number you can defend.

## Where Promigence stands on these questions

Promigence was built around this list. Each sandbox is a full Linux environment of its own, ready for its first command in 207 ms at p50 through the CLI. Snapshots built with a verify command run that command when they are built, sandboxes pause and wake with their files intact and are not billed while paused, and two hundred sandboxes requested at once were all served at a 177 ms median with no retries. Each run is quoted and capped before it starts, and its report separates environment failures from task failures. An environment failure is not billed before the sandbox reaches you. Usage is billed per second at $0.0504 per vCPU-hour and $0.0162 per GiB-hour, a new account starts with free credit, and running it in your own cloud starts with a conversation with us. The [pricing page](https://www.promigence.ai/pricing) has the rates, and the [quickstart](https://www.promigence.ai/docs/quickstart) gets a first sandbox running.

## FAQ

### What should I look for in an AI agent sandbox?

Strong isolation between sandboxes, a full environment the agent can work in, fast checks inside a task, the ability to pause and copy a prepared environment, controls for the network and for secrets, and billing you can see and cap before a run starts.

### Does sandbox start time matter for AI agents?

It matters less than the time a whole task takes. A coding agent checks its work many times per task, so the speed of each check outweighs the start. Time one real task end to end when you compare.

### How do I compare AI sandbox prices?

Compare the cost per finished task on your own workload. That includes the rate, how long the task takes, idle time while the agent waits and the cost of failed environments, which a price per hour hides.

### Should failed sandboxes be billed?

A failure caused by the platform, such as a sandbox that never started, should be reported as the platform's failure. Whether a provider bills for those changes both the bill and the quality of evaluation results, so get the answer in writing.

## Sources

| Source | What it supports | Read |
|---|---|---|
| [Promigence home page](https://www.promigence.ai/) | 207 ms ready through the CLI; 200 at once at a 177 ms median | 25 Oct 2026 |
| [Promigence pricing](https://www.promigence.ai/pricing) | per-second rates, free credit, quoted and capped runs, Enterprise | 25 Oct 2026 |
| [Time to feedback](https://www.promigence.ai/blog/time-to-feedback-coding-agents) | why task time outweighs start time | 25 Oct 2026 |

