Skip to main content
Sandboxes are isolated cloud development environments. Each sandbox has its own filesystem, terminal access, and optional Claude AI integration.

Providers

Yolocode supports two sandbox providers:
E2B provides cloud code interpreter sandboxes. Supports both cloud-hosted and self-hosted deployments.Templates:
  • yolocode — Full Yolocode environment with Claude integration (port 7031 for API)
  • default — Minimal sandbox with Claude SSE server on port 9999
Auto-pause: 1 hour (cloud), 24 hours (self-hosted)

Lifecycle

Creating a sandbox

When you create a sandbox, Yolocode:
  1. Generates a human-readable display name using Claude AI
  2. Sets up Claude credentials (JWT or OAuth) inside the sandbox
  3. Clones your GitHub repo if specified
  4. Injects any environment variables from repositorySetup

Pausing and resuming

Pause sandboxes to save costs when you’re not using them:
For Daytona, use archive instead of pause.

Listing sandboxes

Filter by state:

Access control

  • Only the sandbox creator can manage it
  • userOwnsVM() checks that your GitHub user ID matches the sandbox’s userId metadata
  • Sandbox metadata stores: userId, userLogin, displayName, githubRepo

Ports

E2B

Daytona