Skip to content
Sandboxes · Live on E2B Cloud

Room to work.
Limits you set.

Code, desktop and browser sandboxes for agents, each reaching only the sites you allow.

Why Sandboxes

Agents need a computer. Not yours.

On your own machines, one bad step can reach everything they can.

What happens

A sandbox for every run.

  1. 01 StartCode, desktop or browser, from the API or SDK.
  2. 02 Set accessChoose the sites it may reach. The rest stay blocked.
  3. 03 RunThe agent works inside, reaching only what you allowed.
  4. 04 Step inTake over a browser sandbox when the agent is stuck.
Use cases

Compute for agents, under your rules.

Each run gets its own sandbox, and code written for E2B runs unchanged.

Run

Chart last week's signups from this CSV

Sample data

Signups rose through the week and dipped on Saturday [1]. The chart was drawn in a code sandbox [2] that could reach only pypi.org [3].

  1. [1] sandbox: signups.csv
  2. [2] sandbox: run log
  3. [3] sandbox: allowed sites
At work

A person can step in. Through a viewer link that works once.

Sample data

Start a code sandbox and clean the March export

Sandbox: march-export
KindCode execution
Started byMaya, from the SDK
Runs onE2B Cloud
Can reachpypi.org only
Today

Sandboxes, plainly.

Live on E2B Cloud; sandboxes in your own infrastructure are not offered.

  • ShippedCode sandboxes
  • ShippedDesktop sandboxes
  • ShippedLocked-down browsers
  • ShippedSites you allow
  • ShippedOne-time viewer links
  • ShippedE2B compatible
  • ShippedAPI and SDK
  • Built, switched offTitan stop pauses sandbox
The stack

Where Sandboxes sits.

One stack, from the agent to the ground it runs on.

All products
FAQ

Questions.

What teams ask about Sandboxes first.

Where do sandboxes run?

On E2B Cloud. Sandboxes in your own infrastructure are not offered today.

Does code written for E2B work?

Yes. Sandboxes are E2B compatible, so your code runs as it is.

Can a sandbox reach the internet?

Only the sites you allow for it. Everything else is blocked.

Can a person step in?

Yes. A one-time viewer link lets a person take over a browser sandbox.

Agents do the work.
You hold the keys.

Titan is in private preview with early teams. Tell us which agents you run, and we set up a pilot together.