# Vercel Sandbox Managed Images: Pin a Digest Before Comparing Agent Runs

Find out what the new default changes and keep your runtime fixed while you evaluate a model or an agent.

By Paras Madan | 2026-11-25


Vercel now uses Managed Images for all Sandbox runtimes. If you compare coding agents in Vercel Sandbox, pin the image by digest before comparing scores. Otherwise a nightly image refresh can change the operating system, dependencies or installed agent even when you haven't changed a line in the test.

In its [November 24 changelog](https://vercel.com/changelog/all-sandbox-runtimes-now-use-vercel-managed-images), Vercel says legacy runtimes such as `node22` now use the open-source managed images and get 64 GB of storage. The JavaScript Sandbox SDK v3 and later uses `vercel/sandbox/universal:latest` by default. The universal image includes Node.js, Python and coding tools such as Claude Code and Pi. A default that makes a demo easier to start is not the one I would use for a version-to-version evaluation.

## Use a digest for the base image and a lockfile for the rest

The [Sandbox image documentation](https://vercel.com/docs/sandbox/concepts/images) shows the `image` argument to `Sandbox.create()`. Pass the full registry image reference with `@sha256:` and the digest you validated, rather than copying the example placeholder or leaving a rolling tag such as `latest`. A versioned runtime tag can still move as Vercel publishes updates. A digest identifies one exact image.

Keep a repository revision and dependency lockfile with the result. Record the SDK and agent versions as well. A pinned base image won't freeze a dependency you fetch without a pinned version, a model alias being served remotely, or the test data mounted at runtime. Record those separately or your comparison can still drift.

## Prove a clean sandbox matches your baseline

Use a synthetic repository with a small, deterministic test suite. Write down the expected Node and Python versions and which terminal tools the task needs. Run a baseline on the current image, recording the exit status and one known output. Restore the same inputs into a fresh sandbox pinned to the chosen digest and make sure the same checks pass.

When a later comparison jumps, start with the simple cases. If the test process fails before the agent produces anything, check the runtime and installed packages before blaming the model. If both environments pass the fixed setup checks but the agent produces different results, run more than one trial before interpreting that gap. Separate tool availability and execution success from whether the agent solved the task.

## Keep patching on a schedule you control

The [managed image source](https://github.com/vercel/sandbox) is public, and Vercel says rolling managed images pick up operating-system patches and other updates through its nightly pipeline. A pinned reference deliberately does not advance. Use a staging check for a newer digest and promote it after your smoke tests pass, instead of treating the baseline as an image you can ignore forever.

If you restore a filesystem snapshot, record that too. The image docs say a new managed release does not update an existing snapshot. The point of the digest is to control when the environment changes and know what to investigate when the numbers move.

I'm Paras. I work with teams building AI and developer tools.

I help turn infrastructure updates into practical guides that make the changes and checks clear.

[Book a 30-minute call](https://cal.com/paras-madan/30min).
