mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
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. |
||
|---|---|---|
| .. | ||
| claude.sh | ||
| codex.sh | ||
| cursor.sh | ||
| hermes.sh | ||
| junie.sh | ||
| kilocode.sh | ||
| openclaw.sh | ||
| opencode.sh | ||
| pi.sh | ||
| README.md | ||
| t3code.sh | ||
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_KEYfrom 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.