---
title: Vercel Sandbox SDK
product: vercel
url: /docs/sandbox/sdk
canonical_url: "https://vercel.com/docs/sandbox/sdk"
last_updated: 2018-10-20
type: reference
prerequisites:
  - /docs/sandbox
related:
  - /docs/sandbox/sdk/javascript
  - /docs/sandbox/sdk/python
  - /docs/sandbox/sdk/cli
  - /docs/sandbox/concepts/authentication
  - /docs/sandbox/quickstart
summary: Use the Vercel Sandbox SDK for JavaScript, TypeScript, and Python, or the Sandbox CLI, to create and manage isolated Linux microVMs.
install_vercel_plugin: npx plugins add vercel/vercel-plugin
search_with_vercel_cli: npx vercel@latest docs search "<query>"
---

# Vercel Sandbox SDK

The Vercel Sandbox SDK lets you create and manage isolated Linux microVMs from your own code: run commands, work with files and drives, snapshot environments, and preserve state between sessions. The SDK is available for JavaScript and TypeScript, and for Python, alongside a CLI for working from the terminal:

- [JS SDK Reference](/docs/sandbox/sdk/javascript): The `@vercel/sandbox` package for JavaScript and TypeScript.
- [Python SDK Reference](/docs/sandbox/sdk/python): The `vercel-sandbox` package for Python 3.11 and newer, with asynchronous and synchronous APIs.
- [CLI Reference](/docs/sandbox/sdk/cli): The `sandbox` command for manual testing and debugging: create and connect to sandboxes, run commands and coding agents, and copy files from your terminal.

Both SDKs expose the same core capabilities, including sandbox creation and retrieval, command execution, filesystem access, drives, snapshots, network policies, and Linux users. They authenticate with a Vercel OIDC token by default, or with an access token where OIDC is unavailable. See [Authentication](/docs/sandbox/concepts/authentication). The CLI uses your saved Vercel credentials.

If you're new to Vercel Sandbox, start with the [Quickstart](/docs/sandbox/quickstart).

## Search the docs from your terminal

Search the Vercel docs and read pages as Markdown with the Vercel CLI. No login required.

```bash
# Find docs pages by keyword
npx vercel@latest docs search "environment variables"
npx vercel@latest docs search "function timeout"

# Print a docs page as Markdown, by path or URL
npx vercel@latest docs inspect <page>
```

---

[View full sitemap](/docs/sitemap)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
