Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

README.md

59 lines1.8 KB

TanStack AI

@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_TOKEN plus 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

License

MIT