New

CodeSandbox is now part of Together AI! We have joined forces to launch CodeSandbox SDK and bring code interpretation to generative AI.

Learn more

Sandboxes
built for scale

Programmatically spin up isolated sandboxes for instant code execution in your AI agents and code playgrounds.

logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo

Secure code generation at scale

Settings

Powerful APIs

Use our APIs to create isolated development environments (sandboxes) that can run any type of code you need.

Lock

Secure & isolated

Every environment runs in isolation, so you can safely run untrusted code without it affecting your system.

Dns

Ready for scale

We can handle millions of concurrent VMs and make it easy to provision, manage and decommission VMs.

Cloud

Continuous context

Resume development within the same sandbox after periods of inactivity. With no loss thanks to our snapshots.

Sync

Quick start & auto resume

Our microVM infrastructure allows us to spin up entire VMs, clone them and restore snapshots within 2 seconds.

Schedule

Customizable hibernation

Gain total control over periods of inactivity before auto hibernation kicks in.

Built for AI agents and more

AI agents

Give agents a sandbox to resolve user prompts, or create autonomous agents running on sandboxes. You can run multiple agents in parallel without them interfering with each other. Using the forking mechanism, you can also A/B test different agents.

Development environments at scale

Create a sandbox for each developer or student, and run their code in the sandbox. This way, you can run multiple development environments in parallel without them interfering with each other.

Secure code interpretation & evals

Run code in a sandbox to interpret it. This way, you can run untrusted code without worrying about it affecting your system. You can also run popular evals on any piece of code.

CI/CD

Run tests inside a sandbox, and hibernate the sandbox when the tests are done. This way, you can quickly start the sandbox again when you need to run the tests again or evaluate the results.

Its dramatically improved my experience of sharing ideas.

Brian Vaughn
Brian VaughnSoftware Engineer, React Team

It feels much more like my local environment.

Jonnie Hallman
Jonnie HallmanDesigner Developer, Stripe

We found this technology to be the best on the market today to sustain a very high load of requests.

Robert Rizk
Robert RizkCo-Founder and COO of Blackbox AI

CodeSandbox SDK provides the critical dev environment infrastructure that brings our vision to life.

Ran Ma
Ran MaCo-Founder & CTO of Superblocks

Its dramatically improved my experience of sharing ideas.

Brian Vaughn
Brian VaughnSoftware Engineer, React Team

It feels much more like my local environment.

Jonnie Hallman
Jonnie HallmanDesigner Developer, Stripe

We found this technology to be the best on the market today to sustain a very high load of requests.

Robert Rizk
Robert RizkCo-Founder and COO of Blackbox AI

CodeSandbox SDK provides the critical dev environment infrastructure that brings our vision to life.

Ran Ma
Ran MaCo-Founder & CTO of Superblocks

It's a great experience and I miss some of its features when developing in VS Code.

Edwin Webb
Edwin WebbSenior Software Engineer

The new CodeSandbox is the first online editor I can see myself using to build a full project.

Matthew Phillips
Matthew PhillipsCo-creator of Astro

It's such a huge productivity boost.

Dominik
DominikFrontend Tech Lead at Adverity

It's a great experience and I miss some of its features when developing in VS Code.

Edwin Webb
Edwin WebbSenior Software Engineer

The new CodeSandbox is the first online editor I can see myself using to build a full project.

Matthew Phillips
Matthew PhillipsCo-creator of Astro

It's such a huge productivity boost.

Dominik
DominikFrontend Tech Lead at Adverity

0 million+

users

0+

repositories connected

0+

organizations

0.0 billion+

lines of code written

Join the future of building

Start for free
Accelerate your dev workflow.