Vercel Sandbox
The compute primitive designed to safely run untrusted or user-generated code on Vercel.
Back to Knowledge BaseUsing Vercel Sandbox
Build a Claude Managed Agent with Vercel Sandbox
Build a Claude Managed Agent with Vercel Sandbox: each session runs in a fresh microVM with credential brokering and a webhook-driven control plane on Vercel.
How Vercel Sandbox duration and persistence work
Session duration and persistence are two separate controls in Vercel Sandbox. The timeout option keeps a single run alive for up to 24 hours, while snapshots and persistent sandboxes carry state across runs for long-running agents and pipelines.
The Complete Guide to Vercel Drives
Learn how Vercel Drives provide persistent storage for Vercel Sandboxes, and how to create, mount, list, and delete a drive with the Sandbox CLI and SDK.
Run Python code securely with AI SDK and Vercel Sandbox
Add an executeCode tool to your AI SDK agent with the ai-sdk-tool-code-execution package to run Python 3.13 inside an isolated Vercel Sandbox.
Investigate GitHub issues with HarnessAgent and Vercel Sandbox
Use HarnessAgent to run coding agent harness like Claude Code or Codex against untrusted code inside Vercel Sandbox. Reproduce GitHub issues with agent harness and generate report for the maintainer.
Building an agent with OpenAI Agents SDK and Vercel Sandbox
Learn how to build an agent with with OpenAI Agents SDK and Vercel Sandbox
Running OpenClaw in Vercel Sandbox
This guide walks you through setting up OpenClaw inside a Vercel Sandbox and configuring the WhatsApp channel.
Running OpenCode securely with the Vercel Sandbox
Run OpenCode in an isolated Vercel Sandbox MicroVM with controlled egress, using the SDK to restrict network access so the AI agent can only reach approved LLM endpoints.
Safely running AI generated code in your Next.js application
How to execute untrusted, AI‑generated code from a Next.js app using Vercel Sandbox, an isolated, ephemeral environment.
Build an agent with eve
Draft content in your voice from Slack with eve
Deploy the eve content agent template, a Slack bot that drafts blog posts, LinkedIn posts, release notes, and newsletters in your house voice from Notion, using Vercel Connect, Vercel Blob, and AI Gateway.
Build your first Slack agent with eve
Deploy the eve Slack agent template: a starter Slack bot built on the eve framework with an example tool and skill.
All Vercel Sandbox Guides
- How Vercel Sandbox duration and persistence work
- The Complete Guide to Vercel Drives
- Run Python code securely with AI SDK and Vercel Sandbox
- Investigate GitHub issues with
HarnessAgentand Vercel Sandbox - Draft content in your voice from Slack with eve
- Building an agent with OpenAI Agents SDK and Vercel Sandbox
- Build a Claude Managed Agent with Vercel Sandbox