بنقرة واحدة
sandbox-session
// Prepare reusable Daytona sandbox sessions for isolated evals, debugging, or manual command execution.
// Prepare reusable Daytona sandbox sessions for isolated evals, debugging, or manual command execution.
Use when working with Daytona SDK - uploadFile(Buffer, path), pnpm setup, CodeLanguage options
Daytona sandbox security. Use for token handling, credential boundaries, and full paths in SSH.
Manage Daytona sandboxes for isolated evals, smoke tests, and command execution.
Generate sandbox-scoped task prompts for any LLM or tool runner working inside Daytona sandboxes.
Troubleshoot Daytona sandbox runs, SSH access, snapshots, credentials, and command execution failures.
Use for reusable Daytona sandbox workflows, SSH access, git setup, and isolated command execution.
| name | sandbox-session |
| description | Prepare reusable Daytona sandbox sessions for isolated evals, debugging, or manual command execution. |
Use this when a one-shot ralph-town run -- <command> is not enough
and you need to keep a sandbox around for debugging or repeated
commands.
# Verify the reusable snapshot first
ralph-town sandbox preflight
# Create a sandbox
ralph-town sandbox create --snapshot ralph-town-dev --json
# Get SSH access
ralph-town sandbox ssh <sandbox-id> --show-secrets
# Connect
ssh <token>@ssh.app.daytona.io
# Delete when done
ralph-town sandbox delete <sandbox-id>
Prefer sandbox-scoped credentials when a remote process needs access to GitHub or model APIs:
ralph-town sandbox create \
--snapshot ralph-town-dev \
--env "SANDBOX_GH_TOKEN=$SANDBOX_GH_TOKEN" \
--env "SANDBOX_ANTHROPIC_API_KEY=$SANDBOX_ANTHROPIC_API_KEY"
Ralph-Town forwards these into the sandbox as the names common tools expect:
SANDBOX_GH_TOKEN -> GH_TOKENSANDBOX_ANTHROPIC_API_KEY -> ANTHROPIC_API_KEYGITHUB_PAT is only a deprecated compatibility alias for
SANDBOX_GH_TOKEN.
ralph-town run -- <command> for disposable single commands.