Vercel
Run agents in hosted Vercel sandboxes with your own credentials.
| Provider | vercel |
|---|---|
| Default image | vercel-universal |
| Website | Vercel |
Image Profiles
Set imageProfileId to choose an environment.
| Profile | Environment |
|---|---|
vercel-universal | Ubuntu 26.04, Node 24, Python 3.14, uv, and common agent tools |
vercel-node22 | Ubuntu 26.04 with Node 22 |
vercel-node24 | Ubuntu 26.04 with Node 24 |
vercel-node26 | Ubuntu 26.04 with Node 26 |
vercel-python | Ubuntu 26.04 with Python 3.14 and uv |
vercel-ubuntu | Ubuntu 26.04 with platform agent tools |
vercel-arch | Arch Linux with platform agent tools |
Authentication
Platform — Coming Soon
Platform authentication is not yet available.
BYOK — Available
Use auth.mode: byok with your Vercel team ID, project ID, and access token.
Store the token as a Stitch secret and reference it with
tokenSecretName.
sandboxes:
- key: workspace
name: Workspace
provider: vercel
auth:
mode: byok
teamId: REPLACE_WITH_YOUR_TEAM_ID
projectId: REPLACE_WITH_YOUR_PROJECT_ID
tokenSecretName: VERCEL_TOKEN
imageProfileId: vercel-universal
resources:
vcpus: 4
timeoutMs: 1800000Resources and Timeout
| Setting | Allowed values | Default |
|---|---|---|
resources.vcpus | 1, or an even number from 2 to 32 | Set by Vercel when omitted |
timeoutMs | A positive number of milliseconds, up to 24 hours | 10 minutes (600000) |
Your Vercel plan may have a lower timeout limit. The Hobby plan allows up to 45 minutes.
Setup
Setup defaults to mode: none. To run a script, set setup.mode: script, choose
shell: sh or shell: bash, and provide script and timeoutMs.
The setup timeout must not exceed one hour or the sandbox timeout.
Ubuntu profiles support sudo apt-get. The Arch profile supports sudo pacman.
For example, configure a sandbox to install dependencies before the agent runs:
sandboxes:
- key: workspace
name: Workspace
provider: vercel
auth:
mode: byok
teamId: REPLACE_WITH_YOUR_TEAM_ID
projectId: REPLACE_WITH_YOUR_PROJECT_ID
tokenSecretName: VERCEL_TOKEN
setup:
mode: script
shell: bash
script: npm ci
timeoutMs: 300000This gives dependency installation up to 5 minutes. Use npm ci for repositories with
a package-lock.json file.