packages/ai-sandbox-vercel
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
@tanstack/ai-sandbox-vercel#
Vercel Sandbox provider for TanStack AI
Runs harness adapters inside isolated Vercel Sandbox microVMs through the uniform SandboxHandle.
Installation#
npm install @tanstack/ai-sandbox-vercel
# or
pnpm add @tanstack/ai-sandbox-vercel
# or
yarn add @tanstack/ai-sandbox-vercel
Usage#
import { vercelSandbox } from '@tanstack/ai-sandbox-vercel'
const vercel = vercelSandbox({ runtime: 'node24' })
Hand the provider to a sandboxed run the same way as any other; see the sandbox docs for the surrounding wiring.
- Auth / env: needs
VERCEL_TOKENplus a team and project. Harness credentials are injected as workspace secrets. - Snapshot / resume: persistent resume-by-id with a durable filesystem, plus exposed-port domains for previews.
- Bridge: it is a remote VM, so bridged tools need the tunnel in local dev.
Documentation#
- Sandbox overview: what a sandbox run is and how the pieces fit
- Providers: every provider side by side, with the capability matrix
- Harnesses and Harness auth: what runs inside, and how it signs in
License#
MIT