Vercel Sandboxes are now generally available - Vercel

Vercel Sandboxes are now generally available, providing an ephemeral compute primitive for safely executing untrusted code.

It lets teams run AI agent-generated outputs, unverified user uploads, and third-party code without exposing production systems.

Each sandbox runs inside Firecracker microVMs, isolated from your infrastructure, so code running in a sandbox is blocked from accessing environment variables, database connections, and cloud resources.

Sandboxes are in production use by teams including v0, Blackbox AI and RooCode.

To bootstrap a simple Node.js application that creates a Vercel sandbox, use the code below:

import { Sandbox } from '@vercel/sandbox';
const sandbox = await Sandbox.create();
await sandbox.runCommand({
cmd: 'node',
args: ["-e", 'console.log("Hello from Vercel Sandbox!")'],
stdout: process.stdout,
});
await sandbox.stop();

Or get started with the CLI by opening an interactive shell:

npx sandbox create --connect

Explore the documentation to get started, and check out the open-source SDK and CLI.

AI 前线

cubic joins the Vercel Agents Marketplace - Vercel

2026-1-31 18:05:04

AI 前线

使用 Vercel Sandbox 运行不可信代码,现已正式发布 - Vercel

2026-1-31 18:05:08

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索