Sandboxes
Create, wake, sleep and delete the Linux computers Mapier hosts for you, run agents on them, and open their ports
A sandbox is a Linux computer Mapier hosts for you. It runs the same runtime as your own machines, so its terminals and agents show in the same lists, and it keeps working while your laptop is closed. Pod Console itself is free; sandboxes are billed by your plan (Plans and billing).
Mapier hosts sandboxes and can read everything on them: terminals, files, agent sign-ins and API keys, and sessions you move or share to a sandbox. End-to-end encryption protects your own computers, not sandboxes.
Create a sandbox
Open the Sandboxes panel from the command palette and choose New sandbox. Give it a name, pick a size and a region, tick the agents to install, and tick that you have read what Mapier can see. The sandbox shows Creating…, then Running.
| What | A sandbox has |
|---|---|
| System | Ubuntu Linux, on x86_64 |
| Sizes | 1, 2, 4 or 8 vCPUs, with 2 GB of memory for each vCPU |
| Disk | 64 GB, whatever the size, kept while the sandbox sleeps |
| You | A user of your own, with its own home and no sudo |
| Network | The internet, but not private address ranges |
The sandbox's user and home stay for the sandbox's life. Your plan sets how many sandboxes you can have and how many can run at once.
You can also create a sandbox from the Move dialog, as you move a session to it.
Sleep and wake
| State | What it means |
|---|---|
| Running | Working, and billed |
| Asleep | Stopped. Its disk and home folder are kept, and compute is not billed |
| Deleted | Gone, with its disk. It cannot be undone |
A sandbox goes to sleep after 15 minutes with nothing busy, or when you choose Sleep. A sandbox that has run for nearly 24 hours without a break also goes to sleep. Only you wake it: choose Wake, or open it. Its disk, home folder and kept terminals come back, as fresh shells in their folders; programs that were running do not.
You change a sandbox's size while it is asleep.
Agents on a sandbox
Under Agents to install in New sandbox, tick the agents the sandbox should have, or open More agents for the rest of the catalogue. Later, open Manage agents on the sandbox.
Then sign in to each agent yourself in the sandbox's terminal, as the agent asks: for Claude Code, run claude, open the link it prints and paste the code back; for Codex, codex login --device-auth. Or choose the agent's API key option: the key goes straight to the sandbox, never through Mapier's servers, and a session you move to another machine starts there with it.
Repositories
Link your GitHub account from your account page first. Then, in the sandbox's Repositories:
- Start from a repository clones one onto the sandbox.
- Allow pushes to… lets
git pushon the sandbox reach a repository.
A push to any other repository is refused and shows as a request in the panel, with Allow and Ignore. The panel says whose name pushes from the sandbox appear under on GitHub: yours, or the Mapier Pod Console app's.
Previews
Previews lists the ports a program on the sandbox listens on. Open one to see it in your browser, as only you can. Preview traffic passes through Mapier's servers and can be read there. New preview addresses changes every preview address of the sandbox, so old ones stop working.
Delete a sandbox
Choose Delete… and type the sandbox's name. If your account has a second factor, confirm it; the desktop app cannot confirm one, so delete such a sandbox from the web console or the light dashboard.
From a terminal
On your own computer, mpod console sandboxes lists and controls your sandboxes:
mpod console sandboxes list
mpod console sandboxes get my-sandbox
mpod console sandboxes wake my-sandbox
mpod console sandboxes sleep my-sandboxmpod console sandboxes delete never deletes: deleting a sandbox needs a person, so it prints the sandbox's page in the console with the Delete confirm open. See the CLI reference.