You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow users to launch Ralph in isolated sandbox environments rather than directly on the local machine. This provides security isolation, reproducible environments, and protects the host system from autonomous code execution.
Problem Statement
Ralph currently executes Claude Code directly on the local machine, which has risks:
Code can modify/delete local files unexpectedly
Code can access sensitive data on the host
No isolation between different projects
Difficult to reproduce exact environments
Security concerns with autonomous code execution
First-Class Sandbox Providers
Three sandbox platforms are implemented as first-class backends:
Provider
Type
Best For
E2B
Cloud-hosted, ephemeral
AI-agent workloads, pay-per-use
Daytona
Self-hosted
Corporate environments, persistent workspaces
Cloudflare
Edge compute
Global distribution, Cloudflare ecosystem
Additional Backends
Other sandbox platforms (Gitpod, Codespaces, Modal, Replit, etc.) can be added as plugins via the generic sandbox interface (Phase 6.5).
Proposed CLI Interface
# Local Docker container
ralph --sandbox docker
# Cloud providers
ralph --sandbox e2b
ralph --sandbox daytona
ralph --sandbox cloudflare
# Common options
ralph --sandbox <type> --sync-strategy snapshot|realtime
ralph --sandbox <type> --ephemeral|--persist
ralph --sandbox <type> --max-duration 30m
Summary
Allow users to launch Ralph in isolated sandbox environments rather than directly on the local machine. This provides security isolation, reproducible environments, and protects the host system from autonomous code execution.
Problem Statement
Ralph currently executes Claude Code directly on the local machine, which has risks:
First-Class Sandbox Providers
Three sandbox platforms are implemented as first-class backends:
Additional Backends
Other sandbox platforms (Gitpod, Codespaces, Modal, Replit, etc.) can be added as plugins via the generic sandbox interface (Phase 6.5).
Proposed CLI Interface
Sub-Issues
Cross-cutting Concerns
All sandbox implementations must address:
Implementation Order
Recommended implementation sequence: