CodeSandbox: Instant Cloud Development Environments
CodeSandbox is now part of Together AI! We have joined forces to launch CodeSandbox SDK and bring code interpretation to generative AI.
Sandboxes builtforscale
Programmatically spin up isolated sandboxes for instant code execution in your AI agents and code playgrounds.
Start for free Try CodeSandbox SDKchevron_right
Secure code generation at scale
Powerful APIs
Use our APIs to create isolated development environments (sandboxes) that can run any type of code you need.
Secure & isolated
Every environment runs in isolation, so you can safely run untrusted code without it affecting your system.
Ready for scale
We can handle millions of concurrent VMs and make it easy to provision, manage and decommission VMs.
Continuous context
Resume development within the same sandbox after periods of inactivity. With no loss thanks to our snapshots.
Quick start & auto resume
Our microVM infrastructure allows us to spin up entire VMs, clone them and restore snapshots within 2 seconds.
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.
Template universe
Start with your favorite stack.
No templates found.
Its dramatically improved my experience of sharing ideas.
Brian Vaughn Software Engineer, React Team
It feels much more like my local environment.
Jonnie Hallman Designer Developer, Stripe
We found this technology to be the best on the market today to sustain a very high load of requests.
Robert Rizk Co-Founder and COO of Blackbox AI
CodeSandbox SDK provides the critical dev environment infrastructure that brings our vision to life.
Ran Ma Co-Founder & CTO of Superblocks
It's a great experience and I miss some of its features when developing in VS Code.
Edwin Webb Senior Software Engineer
The new CodeSandbox is the first online editor I can see myself using to build a full project.
Matthew Phillips Co-creator of Astro
It's such a huge productivity boost.
Dominik Frontend Tech Lead at Adverity
0 million+
users
0+
repositories connected
0+
organizations
0.0 billion+
lines of code written