spawn/sh/daytona/README.md
A 57174a0f15
Some checks are pending
CLI Release / Build and release CLI (push) Waiting to run
Lint / ShellCheck (push) Waiting to run
Lint / Biome Lint (push) Waiting to run
Lint / macOS Compatibility (push) Waiting to run
feat(agent): add T3 Code agent (web GUI for Claude/Codex) (#3322)
All CI green. Rebased from #3321, added Daytona support, resolved conflicts. Security reviewed: no injection vectors — all env var values come from hardcoded config, shell scripts follow existing patterns.
2026-04-18 01:14:37 -07:00

2.5 KiB

Daytona

Daytona managed sandboxes via the Daytona SDK. Daytona

Uses Daytona's sandbox lifecycle, filesystem, process, SSH access, and signed preview APIs. Requires DAYTONA_API_KEY from https://app.daytona.io/dashboard/keys.

Agents

Claude Code

bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/claude.sh)

OpenClaw

bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/openclaw.sh)

Codex CLI

bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/codex.sh)

OpenCode

bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/opencode.sh)

Kilo Code

bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/kilocode.sh)

Hermes Agent

bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/hermes.sh)

Junie

bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/junie.sh)

Cursor CLI

bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/cursor.sh)

Pi

bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/pi.sh)

T3 Code

bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/t3code.sh)

Non-Interactive Mode

DAYTONA_SANDBOX_NAME=dev-mk1 \
DAYTONA_API_KEY=your-api-key \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/claude.sh)

Environment Variables

Variable Description Default
DAYTONA_API_KEY Daytona API key (prompted)
DAYTONA_SANDBOX_NAME Sandbox name (prompted)
DAYTONA_IMAGE Base sandbox image daytonaio/sandbox:latest
DAYTONA_SANDBOX_SIZE Spawn preset (user-default, org-default) user-default
DAYTONA_CPU vCPU override 1 when partially overridden
DAYTONA_MEMORY Memory override in GiB 1 when partially overridden
DAYTONA_DISK Disk override in GiB 3 when partially overridden
OPENROUTER_API_KEY OpenRouter API key (OAuth or prompted)

If you leave all sandbox sizing variables unset, Spawn defers to Daytona's platform defaults: 1 vCPU, 1 GiB RAM, and 3 GiB disk. Set DAYTONA_SANDBOX_SIZE=org-default to request Daytona's documented organization per-sandbox limit: 4 vCPU, 8 GiB RAM, and 10 GiB disk.

Signed preview URLs are generated on demand for web dashboards. SSH access tokens are minted only when you connect and are never stored in Spawn history.