explainx.ai0k
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • Prime Sandboxes checkpoints at a glance
  • What a checkpoint is, and is not
  • How to use it from the CLI
  • How to use it from the Python SDK
  • Why branching matters for agents and RL
  • What people are asking
  • A worked example: branch a repair task
  • What it costs in practice
  • What is claimed and what is confirmed
  • Which sandbox approach for which job
  • Security note
  • Related reading
← Back to blog

explainx / blog

Prime Sandboxes Filesystem Checkpoints: Fork Agent Rollouts From Any State

Prime Intellect, Agent Sandboxes, Agentic RL, Developer Tools, AI Agents

Part of AI Tools and Apps

Prime Intellect added filesystem checkpoints and fork to Prime Sandboxes. How prime sandbox fork works, what it saves, what it costs, and its limits.

Oct 15, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
Prime Sandboxes Filesystem Checkpoints: Fork Agent Rollouts From Any State

Prime Intellect has added filesystem checkpointing to Prime Sandboxes. A Prime Intellect-linked post on X summarized the feature as the ability to "fork new rollouts from any intermediate state, then checkpoint inside a branch and fork again to dig deeper." The company's sandbox documentation confirms the feature and spells out how it works, what it saves and what it costs.

If you run coding agents or agentic reinforcement learning (RL), the pitch is simple: stop replaying the first 40 steps of a trajectory every time you want to try a different 41st step.

Prime Sandboxes checkpoints at a glance

table · 2 cols
QuestionAnswer (per Prime's docs)
What is saved?The sandbox filesystem only
Processes and memory?Not saved; forks start with fresh processes
Fastest way to branch?prime sandbox fork sbx_123 --name experiment-branch --yes
Keep one for later?prime sandbox checkpoint create, then checkpoint restore
When is it usable?Once its state is DURABLE
Storage price$0.10 per GiB per month, billed hourly
One-time chargeOne day of storage when the checkpoint becomes DURABLE
Sandbox rates$0.02 per vCPU hour, $0.0125 per GiB memory hour, $0.0002 per GiB disk hour, valid through December 22, 2026
NeedsVM sandboxes (the docs list checkpoints under VM sandboxes)

What a checkpoint is, and is not

Prime Sandboxes are disposable, isolated microVMs for AI-assisted coding, benchmarking and quick experiments, according to the docs. VM sandboxes boot a Docker or OCI image as the root filesystem of a hardware-isolated microVM and "were built with agentic RL in mind", with fast startup for thousands of concurrent sandboxes.

A checkpoint saves a sandbox's filesystem so you can start new sandboxes from it later, or fork a running one to branch your work. The docs are explicit about the boundary: "Checkpoints capture files only, not running processes or memory." That is a meaningful difference from a full VM snapshot. If your environment depends on a running database, a warmed-up interpreter or a loaded model in RAM, the fork will have the files but you must restart the processes.

A checkpoint is usable once it reaches the DURABLE state, and from then on it outlives its source sandbox. Until then the source must stay alive: deleting it early, or letting it hit its timeout, loses the checkpoint.

How to use it from the CLI

Using the prime CLI from Prime Intellect's open-source repository, the quickest path is fork, which checkpoints, waits for the save, and starts a new sandbox from it:

bash
prime sandbox fork sbx_123 --name experiment-branch --yes

The fork inherits the source's CPU, memory and timeout unless you override them with --cpu-cores, --memory-gb or --timeout-minutes, and --wait-timeout caps how long it waits for the checkpoint.

To keep a checkpoint and restore it later, the docs give three steps:

bash
prime sandbox checkpoint create sbx_123
prime sandbox checkpoint list sbx_123 --checkpoint-id <id>
prime sandbox checkpoint restore <id> --name restored-workspace --yes

Poll the list until the state is DURABLE, then restore. Restore accepts the same resource flags plus --team-id.

How to use it from the Python SDK

The prime_sandboxes package exposes the same flow. The documented async pattern is:

python
checkpoint = await sandboxes.checkpoint(sandbox_id)
await sandboxes.wait_for_checkpoint(checkpoint.id, timeout_seconds=300)
restored = await sandboxes.create(
    CreateSandboxRequest(name="restored-workspace", checkpoint_id=checkpoint.id)
)
await sandboxes.wait_for_creation(restored.id)

When restoring, omit docker_image and disk_size_gb; both come from the checkpoint. wait_for_checkpoint raises RuntimeError on failure and TimeoutError if the wait runs out, and a timeout does not mean failure, so check with get_checkpoint before deleting the source. Use list_checkpoints(sandbox_id) to inspect them. Every method has a synchronous twin on SandboxClient.

Why branching matters for agents and RL

Agent trajectories are long and expensive. A coding agent might spend minutes cloning a repo, installing dependencies and reading files before it reaches the interesting decision. With checkpoints you can pay for that setup once, then fork many sandboxes from the same state and let each try a different action. This is the pattern behind tree-search style rollouts, best-of-N at a decision point, and debugging a failed run by re-running only its last few steps.

The X post describes layering: fork from an intermediate state, checkpoint inside the branch, and fork again. The docs do not describe a limit on depth, so treat that as a workflow the primitives allow, not a guaranteed feature. The platform limits that do apply are per-account: 1,024 active sandboxes, 4,096 vCPUs and 32,768 GiB of total storage by default, with creation limits of 102,400 per hour.

Prime's platform has been moving quickly around this use case. We covered the Prime Inference launch, the acquisition of Moondream, and how DeepSeek's DSEC sandbox ran 380,000 concurrent sandboxes on Prime. Checkpointing fits that story: cheaper exploration at scale.

A bookmark between two sections of a folded ribbon, showing a saved sandbox checkpoint that can be resumedA bookmark between two sections of a folded ribbon, showing a saved sandbox checkpoint that can be resumed

Weekly digest3.6k readers

Catch up on AI

Curated AI updates on agents, skills, and MCP — delivered to your inbox. Unsubscribe anytime.

What people are asking

Is this the same as a VM snapshot? No. Full VM snapshots (as offered by some other sandbox vendors) capture memory and process state so a fork resumes mid-execution. Prime's checkpoint captures files only. That makes checkpoints smaller and cheaper to store, and it avoids restoring stale network connections, but it means you must re-launch servers and re-load anything held in memory.

Do forks share a disk with the original? The docs describe a fork as a copy: the new sandbox starts with the same files as the source and then diverges. Changes in the fork do not appear in the source and vice versa. Treat each fork as an independent sandbox for billing and limits, since each counts toward your active sandbox total.

Can I use this without writing RL code? Yes. A developer running a coding agent can checkpoint after the environment is set up, then fork a sandbox to try a risky refactor and throw it away if it fails. That is the same idea as a git branch, but for the whole filesystem including untracked build output.

What happens to GPU workloads? The docs say GPU sandboxes are VM-only and still listed as coming soon, requiring an explicit grant, so checkpointing GPU state is not part of what has been documented.

Where does this sit in the Prime stack? Sandboxes sit alongside Hosted Training, Environments Hub, Traces and Prime Inference in the company's docs index, so checkpoints are most useful when your rollouts are generated inside Prime environments and scored by verifiers you define.

A worked example: branch a repair task

Suppose you run a coding agent on a repo that takes six minutes to clone and install. The workflow with checkpoints looks like this.

  1. Create a VM sandbox from a Python image, clone the repo and install dependencies.
  2. Run prime sandbox checkpoint create once the environment is ready and wait for DURABLE.
  3. Restore the checkpoint into several sandboxes, each given a different prompt or model.
  4. Score each result with your test suite and keep the best branch; delete the rest.
  5. Delete the base checkpoint when finished to stop storage billing.

The six-minute setup is paid once rather than for every attempt. The same shape works for evaluation harnesses, where you want many models to start from an identical filesystem.

What it costs in practice

Storage is the cost to watch. At $0.10 per GiB per month, billed hourly, a 5 GiB checkpoint costs about $0.50 a month, or roughly 0.07 cents an hour, plus an upload charge equal to one day of storage when it turns DURABLE. A 100 GiB checkpoint is about $10 a month. The running sandbox itself is billed separately: the docs give 1 vCPU, 2 GiB RAM and 5 GiB disk as about $0.046 per hour, with those launch rates valid through December 22, 2026, after which prices may change.

The practical advice: keep checkpoints small by excluding build caches, delete checkpoints you no longer branch from, and prefer one shared base checkpoint over many near-duplicates.

What is claimed and what is confirmed

  • Confirmed in the docs: filesystem checkpoint, restore and fork exist for VM sandboxes, with the CLI and SDK commands above, the DURABLE state, the files-only limit and the pricing.
  • From the X post only: the "checkpoint inside a branch and fork again" framing. It is consistent with the primitives but is not spelled out as a feature in the docs we read.
  • Not stated: how long a fork takes, how large checkpoints can be beyond the disk limit of 128 GiB per sandbox, and any retention limit. We did not run it ourselves, so latency claims are untested.

Which sandbox approach for which job

table · 3 cols
NeedReasonable choiceWhy
Branch many rollouts from a setup statePrime fork or checkpoint restoreFiles-only snapshot, cheap storage
Preserve live processes or memoryA runtime with memory snapshotsPrime checkpoints do not save them
Isolate agent code from your hostAny microVM sandboxSee our guide to agent sandbox isolation
Local, throwaway runsGit worktrees plus containersNo hosted cost

Security note

Forking copies the filesystem, which can include secrets that were written to disk. Prime says secrets passed as encrypted sandbox secrets are injected as environment variables and never appear in logs or API responses, but a file you write them to is part of the checkpoint. Restrict network egress with the allow and deny lists, and review what a checkpoint contains before sharing it with teammates. For policy enforcement on what agents are allowed to do inside a sandbox, AgentBeam, from the explainx.ai team, stops AI agents before they take dangerous actions. Sandbox escapes are also real: see the Vercel KVM zero-day coverage.

Pricing and features are as documented on October 15, 2026; launch rates are listed as valid through December 22, 2026.

Related reading

  • Prime Inference launch
  • Prime Intellect acquires Moondream
  • DeepSeek DSEC and 380,000 concurrent Prime Sandboxes
  • Google Cloud agent sandboxes: five isolation things
  • Vercel KVM zero-day and agent sandboxes
  • Tencent CubeSandbox v0.7
Spotted something out of date? Let us know.
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Oct 15, 2026

Capsem: An Open-Source VM Sandbox for Claude Code, Gemini CLI and Codex

Capsem is an Apache-2.0 Rust project that boots each AI coding agent session in a fresh, air-gapped Linux VM and forces all traffic through an inspecting proxy. explainx.ai reads the README and site, flags the contradictions, and shows how to evaluate it.

Oct 15, 2026

Claude Code Desktop for Parallel Agents: Sidebar, Worktrees and Nested Sessions

Anthropic is pitching the Claude Code desktop app as a workbench for many agents at once. Here is what the docs confirm about parallel sessions, Git worktree isolation, the status sidebar and cross-session messaging, and what we could not confirm.

Oct 14, 2026

CLI-Anything: Turn Any Software Into an Agent-Ready CLI

CLI-Anything, from the HKUDS lab, uses a coding agent to analyze a program's source and generate a full command-line interface with JSON output, tests and a skill file. A community registry called CLI-Hub shares the results. Here is how it works, what to try, and what to be careful about.