mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-03 06:10:21 +00:00
* feat(daytona): re-add Daytona cloud provider * fix(daytona): tighten live provider behavior * fix(daytona): harden reconnect and dashboard flows * fix(daytona): use platform sandbox defaults * fix(daytona): add user and org defaults * fix(ux): stop echoing shell script on startup --------- Signed-off-by: Ahmed Abushagur <ahmed@abushagur.com> Co-authored-by: Ahmed Abushagur <ahmed@abushagur.com>
87 lines
2.4 KiB
Markdown
87 lines
2.4 KiB
Markdown
# Daytona
|
|
|
|
Daytona managed sandboxes via the Daytona SDK. [Daytona](https://www.daytona.io/)
|
|
|
|
> 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
|
|
bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/claude.sh)
|
|
```
|
|
|
|
#### OpenClaw
|
|
|
|
```bash
|
|
bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/openclaw.sh)
|
|
```
|
|
|
|
#### Codex CLI
|
|
|
|
```bash
|
|
bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/codex.sh)
|
|
```
|
|
|
|
#### OpenCode
|
|
|
|
```bash
|
|
bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/opencode.sh)
|
|
```
|
|
|
|
#### Kilo Code
|
|
|
|
```bash
|
|
bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/kilocode.sh)
|
|
```
|
|
|
|
#### Hermes Agent
|
|
|
|
```bash
|
|
bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/hermes.sh)
|
|
```
|
|
|
|
#### Junie
|
|
|
|
```bash
|
|
bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/junie.sh)
|
|
```
|
|
|
|
#### Cursor CLI
|
|
|
|
```bash
|
|
bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/cursor.sh)
|
|
```
|
|
|
|
#### Pi
|
|
|
|
```bash
|
|
bash <(curl -fsSL https://openrouter.ai/labs/spawn/daytona/pi.sh)
|
|
```
|
|
|
|
## Non-Interactive Mode
|
|
|
|
```bash
|
|
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.
|