Installation
Installation
Section titled “Installation”ComputeSDK provides a unified abstraction layer for executing code in secure, isolated sandboxed environments across multiple cloud providers.
Core SDK
Section titled “Core SDK”Install the core ComputeSDK package:
npm install computesdk
Provider Packages
Section titled “Provider Packages”ComputeSDK is modular - install only the providers you need:
# E2B provider - Full development environment
npm install @computesdk/e2b
# Vercel provider - Scalable serverless execution
npm install @computesdk/vercel
# Daytona provider - Development workspaces
npm install @computesdk/daytona
# Frontend integration (optional)
npm install @computesdk/ui
Provider Setup
Section titled “Provider Setup”E2B - Full Development Environment
Section titled “E2B - Full Development Environment”E2B provides full filesystem and terminal support with data science libraries:
export E2B_API_KEY=e2b_your_api_key_here
Vercel - Scalable Serverless Execution
Section titled “Vercel - Scalable Serverless Execution”Vercel provides reliable execution with up to 45 minutes runtime:
# Method 1: OIDC Token (Recommended)
vercel env pull # Downloads VERCEL_OIDC_TOKEN
# Method 2: Traditional
export VERCEL_TOKEN=your_vercel_token_here
export VERCEL_TEAM_ID=your_team_id_here
export VERCEL_PROJECT_ID=your_project_id_here
Daytona - Development Workspaces
Section titled “Daytona - Development Workspaces”Daytona provides development workspace environments:
export DAYTONA_API_KEY=your_daytona_api_key_here