Repository navigation
Description
Goal
Users can run execution-isolated environments on the compute backend of their choice through a single provider-neutral sandbox API — each provider pre-built, tested, documented, and validated on at least one real runtime.
Why this matters
Environments that execute agent artifacts shouldn't hard-wire a backend. Selecting a provider should be a YAML change, not a server rewrite. (Ties to the sandbox API foundations in #1337 and the unified-infra epic #1048.)
Acceptance Criteria (per provider)
- Provider class implementing
SandboxProvider, registered inregistry.py - YAML config + example, selectable via
sandbox_provider - Passing tests (skip-guarded if the backend/SDK isn't installed)
- README documenting setup + the isolation/security properties it gives
- Validated end-to-end on ≥1 runtime (rollouts collected)
Out of scope
- The sandbox API / handle contract itself (feat: Sandbox API Foundations #1337, epic: unified execution sandbox infra #1048)
- Cluster orchestration / deployment guides (k8s install, OpenShift catalogs)
- Legacy per-server subprocess isolation (tracked as tech debt below)
- Running the Gym control plane itself on Kubernetes/OpenShift (PR feat: Allow for the gym to run on Kubernetes #1231). That's "where Gym runs," not "where sandboxes run."
Providers
- OpenSandbox — landed in
main(runtimes: Kubernetes [EKS / GKE / OpenShift], local Docker) - ECS Fargate — feat(sandbox): ECS Fargate sandbox provider #1686 (PR feat(sandbox): ECS Fargate sandbox provider #1645)
- Daytona — feat(sandbox): Daytona sandbox provider #1687 (PR Add Daytona sandbox provider #1513)
- E2B — feat(sandbox): E2B sandbox provider #1953
- Apptainer — feat(sandbox): Apptainer sandbox provider #1688
- Enroot feat(sandbox): enroot sandbox provider #1881
- Local Docker — feat(sandbox): Local Docker sandbox provider #1695
- Local Process — feat(sandbox): Local process sandbox provider #1696
- OpenShell — feat(sandbox): OpenShell sandbox provider #1689
- Modal — feat(sandbox): Modal sandbox provider #1690
Tech debt
- Migrate legacy Apptainer/Singularity per-server execution (#928, #1182, #1507,
swerl_gen, swe_agents) onto the provider protocol — see epic: unified execution sandbox infra #1048
Reference Arch Design
Sub-issues
Collapse Sub-issuesSub-issues
Loading 9 sub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsQA WIP
Activity
feat(sandbox): local Docker sandbox provider (#1695) (#1906)