Quick answer
An isolated cloud sandbox for coding agents is a short-lived remote machine where one agent clones your code, runs commands and tests, and pushes a branch, separate from your laptop and from every other agent. You can build this yourself on a sandbox SDK, which gives you machines and leaves the rest to you, or use a complete platform. On Nori, each session gets its own machine from your organization's fleet, checkpoints save the work after every turn, and teams start agents from Slack, the web or a schedule.
What an isolated coding agent sandbox is
A coding agent needs a real computer. It reads files, installs packages, runs the test suite and calls git. On a laptop it does this with the engineer's own files, keys and network. A sandbox moves that work to a separate machine with its own filesystem, so a bad command or a leaked prompt reaches only that machine.
An ephemeral sandbox lives for one task. It starts from a known image, does the work, pushes the result to your Git remote and goes away. The next task starts clean.
Three questions decide whether a sandbox is isolated enough for your team:
- Between tasks. Does each task get its own machine, or do tasks share one?
- Between customers. On a hosted service, is your organization's data and control path separate from other customers?
- Between credentials. Does each sandbox get only the keys it needs, or every key the team has?
Tradeoffs of remote ephemeral sandboxes for AI coding agents
Moving agents off laptops and into short-lived cloud machines changes what is easy and what takes work.
| Area | What you gain | What you have to handle |
|---|---|---|
| Safety | A mistake or a bad dependency stays on a throwaway machine | Getting the right credentials onto each machine, and no more |
| Parallel work | Many agents run at once without slowing anyone's laptop | Capacity: how many machines run at once, and what waits |
| Clean state | Every task starts from the same image | Setup time: repositories, toolchains and dependencies on every start |
| Durability | Nothing important lives only on a laptop | Saving work before the machine goes away, and resuming it later |
| Team access | Work is visible and shareable | A way for people to start, watch and steer the agent |
The right-hand column is where most of the engineering goes. A sandbox alone answers the first row. The other rows are the product around it.
Build on a sandbox SDK or use a complete platform
Sandbox services such as E2B, Daytona and Northflank sandboxes give you isolated cloud machines through an SDK or API. Docker Sandboxes run coding agents in isolated environments on your own machine or on Docker-managed cloud compute. These are good building blocks when you are building a product that runs code, or when your platform team wants to own every layer.
To turn sandboxes into a coding agent service for your engineering team, you also build:
- An image with your repositories, toolchains and agent harnesses, kept up to date.
- Git and GitHub access with short-lived tokens per task.
- Model credentials per person or per team, including Claude and ChatGPT subscriptions.
- A way to start work: a Slack bot, a web chat, a scheduler, webhooks.
- Transcripts, checkpoints and resume when a machine ends.
- A queue and capacity limits, access rules, and an admin view of what is running.
| Local sandbox on each laptop | Sandbox SDK your team builds on | Cloud coding agent platform | |
|---|---|---|---|
| Isolation | From the laptop's files | Per machine you create | Per session, managed for you |
| Who builds the workflow | Each engineer | Your platform team | Included |
| Start from Slack or a schedule | No | Once you build it | Yes |
| Uses laptop CPU and memory | Yes | No | No |
| Best fit | One engineer trying agents safely | A product that runs code, or full control of every layer | An engineering team that wants agents working now |
Build when the sandbox is part of what you sell, or when you need a layer no platform offers. Use a platform when the goal is your engineers getting work done with agents this quarter.
How Nori isolates every coding agent session
Nori is a cloud coding agent platform for engineering teams. Engineers start Claude Code, Codex, Cursor, Gemini (through Antigravity), OpenCode, Pi or Jiro from Slack, Discord, the web, the CLI, a schedule or a webhook. Each run is a session with its own machine.
- One machine per session. One claimed machine serves one active session from your organization's fleet. On hosted Nori that is a managed gVisor sandbox by default, with a VM sandbox option. In your own AWS account, each session gets a private EC2 instance.
- Wiped before reuse. When a session ends and its machine is released, the machine is wiped before it serves anyone else.
- Isolated between customers. Each hosted organization has its own single-tenant control plane and data store at its own address. Machines are managed inside that organization's boundary.
- Scoped credentials. Credentials belong to the organization, one person or one custom agent. GitHub access uses short-lived, installation-scoped tokens per session. Cloud access can use 15-minute OIDC tokens instead of stored keys.
- Checkpoints. After every turn, Nori saves each Git repository in the workspace, including branches, staged changes and untracked files. A reply resumes the session on a fresh machine with its work.
- Your own subscriptions. Claude Code and Codex are preinstalled. They run on your Claude or ChatGPT subscription, or on API keys and your LLM gateway.
- Your own perimeter. Nori Enterprise deploys the full stack on-prem or in your own AWS or Azure account, with SAML, SCIM and OIDC sign-in. Integration services come with the deploy, and source licensing is available on request.
For the full security model, see Nori security.
Example: one Slack request, one isolated machine
An engineer at a 40-engineer fintech writes this in #eng-payments:
@nori in the payments repo, upgrade the TLS library to the patched
version, run the integration tests, and open a PR. Do not merge.
| Step | What Nori does |
|---|---|
| Access check | Checks Slack inbound access and the engineer's membership |
| Machine | Claims one machine from the organization's fleet for this thread, with the workspace repositories and setup script already applied |
| Credentials | Delivers organization credentials and the engineer's personal ones, and a short-lived GitHub token |
| Agent | Starts Claude Code on the engineer's Claude subscription |
| Work | The agent changes the code, runs the tests and pushes a branch; branch protection decides what merges |
| Checkpoint | Saves the repository state after the turn |
| Release | The engineer sends !done; the machine is released and wiped |
Two other engineers can send their own requests at the same time. Each gets a separate thread and a separate machine. To run several agents on one repository, see running coding agents in parallel.
Choosing ephemeral environments for autonomous coding agents
For agents that run with nobody watching, such as nightly upgrades or alert triage, check three more things.
- Setup is done before the run starts. Repositories and toolchains should be on the machine already. On Nori, the org setup script runs when a machine is provisioned, before anyone claims it. See preinstalling your toolchain.
- Unattended runs get narrower credentials. On Nori, scheduled and webhook runs get organization and custom-agent credentials. Only a personal automation also gets its author's.
- Every run leaves a record. Automations keep run history, and every session keeps its transcript.
For recurring jobs, see scheduled coding agents.
Frequently asked questions
What are the best tools for running Claude Code and Codex in isolated cloud sandboxes?
There are two kinds. Sandbox services such as E2B, Daytona, Northflank and Docker Sandboxes give you isolated machines to build on. A cloud coding agent platform such as Nori gives each Claude Code or Codex session its own isolated machine and adds Slack, web chat, schedules, checkpoints and team access on top.
Are cloud coding agent sandboxes isolated between customers?
On Nori, yes. Each hosted organization has its own single-tenant control plane and data store, one machine serves one session, and a released machine is wiped before it serves anyone else. Nori Enterprise can also run the whole stack in your own cloud or data center.
Should I build on a sandbox SDK or buy a complete coding agent platform?
Build on a sandbox SDK when running code is part of your own product or you need to own every layer. Buy a platform when you want engineers using agents soon, because the image, credentials, chat surfaces, scheduling, transcripts and resume are already done.
What happens to the work when an ephemeral sandbox ends?
On Nori, checkpoints save each Git repository in the workspace after every turn, including uncommitted and untracked files. A reply resumes the session on a fresh machine. Work that must last should still be pushed as a branch or pull request.
Can I use my own Claude or ChatGPT subscription in the sandbox?
Yes. Claude Code runs on a Claude subscription, an Anthropic API key or a setup token. Codex runs on a ChatGPT subscription or an OpenAI API key. Nori never charges for model tokens.
Can the sandboxes run in our own cloud?
Yes. Nori Enterprise deploys the full stack on-prem or in your own AWS or Azure account. In a bring-your-own-cloud AWS deployment, each session runs on a private EC2 instance in your account.
Sources
Read on December 4, 2026.