Managing Sandboxes
A sandbox is the isolated environment where the agent runs code for a conversation or topic. Each sandbox has its own files and installed packages, and CubePlex keeps it around across container restarts — so the working files from a conversation are still there the next time you open it. The Sandboxes tab in your workspace settings is where you see every sandbox that belongs to you in this workspace and take action on one when something goes wrong.

Opening the Sandboxes tab
Go to your workspace and open Settings → Sandboxes. The list shows only sandboxes that belong to you in this workspace. To see every member's sandboxes, an org admin uses the admin-level sandbox observability view instead (see Sandbox administration).
What each row shows
Every active sandbox you own gets one row, regardless of whether its container is currently running:
- Status — a badge showing the sandbox's runtime state (see below).
- Scope label — which conversation or topic the sandbox belongs to:
- Your workspace sandbox — your personal sandbox, used by 1:1 conversations that aren't part of a topic.
- Group chat:
{title}— a standalone group conversation (not in a topic). - Topic:
{title}— a sandbox belonging to a topic. - (deleted) — the conversation or topic that owned this sandbox has been deleted. The sandbox row remains so you can clean it up.
- Last active — when the agent last ran code in it.
- Restart and Delete — the two actions (see below).
A sandbox with status Off (container stopped) still appears in the list. That is intentional: the sandbox's files are still on disk, and it will start back up the next time you send a message in its conversation. You do not need to restart it manually before chatting.
Restart
Restart stops the sandbox's container but keeps the sandbox row and all of its files. The status flips to Off, and the next time the agent needs to run code in that conversation a fresh container starts up on the same storage, with all your files intact.
Use Restart when the container is in a bad state — a hung process, a broken shell, or a runaway command you want to cut short — but you want to keep the working files.
Delete
Delete permanently removes the sandbox. The row is soft-deleted, the container is stopped, and the sandbox will not start again for that conversation or topic. The next time you send a message there, CubePlex provisions a brand-new sandbox with empty storage.
Delete cannot be undone. Stored files are left on disk for your operator to reclaim (CubePlex cannot delete the underlying storage directly). If you only want a fresh container while keeping your files, use Restart instead.
Sandbox statuses
The badge on each row reflects the sandbox's runtime state:
| Badge | Meaning |
|---|---|
| Running | The container is up and ready to execute code. |
| Starting | A container is being provisioned. This is transient — it becomes Running shortly. |
| Paused | The container is paused (idle for a long time). It resumes automatically on next use. |
| Pausing / Resuming | Transitional states while pausing or resuming. |
| Stopping | The container is being stopped after a Restart or Delete action. |
| Off | The container is stopped, but the sandbox row and its files are still around. It starts again on next use. |
| Failed | The last provisioning attempt failed. Use Restart to try again, or Delete to clear it. |
Storage isolation
Each sandbox gets its own isolated storage — files in one sandbox are never visible to another. This holds for the shared sandboxes in topics too: a topic with the Dedicated topic sandbox mode gets a fresh sandbox with its own storage, separate from the creator's personal sandbox and from every other topic. Files from the conversation you upgraded are not carried over into a dedicated topic sandbox.
When sandboxes appear and disappear
- A sandbox row is created the first time the agent runs code in a conversation or topic that doesn't already have one.
- The row stays in the list until you Delete it (or until its owning conversation/topic is deleted and you clean up the orphaned row).
- Stopping, pausing, or restarting a container does not remove the row — only Delete does.
Packages and Python environments
Everything under the sandbox's working directory (/workspace) lives on its persistent storage:
- Installed packages persist. When the agent runs a plain
pip installornpm install -g, the packages land on persistent storage and are still available in later conversations — nothing gets reinstalled on every chat. - Isolated environments work normally. If a project or skill needs its own Python environment (a conflicting dependency set, a different Python version), the agent can create one with
python -m venvoruv. Environments created under the working directory survive restarts and recreation like any other file. - Everything outside the working directory is temporary. System locations (
/tmp,/opt, …) are reset when the sandbox is recreated.
How the agent organizes files
The sandbox working directory is long-lived — files stay across conversations, like a second computer. To keep it browsable, the agent follows a standard layout:
projects/<name>/— one folder per deliverable or ongoing effort, named after its content (e.g.sales-report-2026q2), not per conversation. Later sessions on the same work continue in the same folder.WORKSPACE.md— an index at the root, one line per project. Skim it to see what's in the sandbox.tmp/— scratch space for throwaway files; contents may be cleared at any time.uploads/— files you attach in chat land here; the agent copies a file into a project folder when it becomes part of the work.
The agent will not silently overwrite an existing file (replacing one has to be an explicit decision), and it will not reorganize or delete your existing files unless you ask.
Tips
- Restart before Delete. If a sandbox is misbehaving but you want to keep its files, Restart it. Reach for Delete only when you genuinely want a clean slate.
- Clean up orphaned rows. If a row shows (deleted) as its scope, the conversation or topic that owned it is gone. Delete the row to stop paying for an idle container.
- You can only manage your own. Each member sees only their own sandboxes. To audit sandbox usage across the workspace, an org admin uses the admin observability view (see Sandbox administration).