Skip to main content
Deno Deploy provides Linux microVMs for isolated code execution. Best for Deno and JavaScript workloads.

Setup

Authentication

Get your token from app.deno.com → Settings → Organization Tokens.
Or pass credentials directly:

Usage with deepagents

Standalone usage

Configuration

Available regions

Lifetime options

  • "session" (default): Sandbox shuts down when you close/dispose the client
  • Duration string: Keep sandbox alive for a specific time (e.g., "5m", "30s")

Accessing the Deno SDK

For advanced features, access the underlying Deno SDK:

Reconnecting to existing sandboxes

Reconnecting requires a duration-based lifetime (not "session"):

Factory functions

Error handling

Error codes

Limits and constraints

Environment variables