Agent sandboxes are all the rage. A new sandbox startup is announced every couple of weeks. At Replit, we’ve been running sandboxes for nearly a decade. For years, we’ve run our custom sandbox infrastructure to make it easy for anyone to code online, and now Agents use these sandboxes to build applications without requiring any coding at all.
In the past few months, we finished rolling out a complete rewrite of our sandbox engine to improve security, capabilities, and portability across clouds. Our Bring Your Own Cloud offering brings Replit into customers’ AWS, Google Cloud, or Azure environments. As with most infrastructure work, we had to pull this off without anyone even noticing. We migrated hundreds of millions of projects smoothly, without data loss. In this post, we’ll dive into how we changed the isolation boundary, kept sandboxes fast, and made the new engine work at scale.





