Skip to content

feat(sandbox): Local process sandbox provider #1696

Open

Description

@cwing-nvidia

Add a lightweight, ~zero-dependency Gym sandbox provider backed by subprocess / multiprocessing for local code/math execution. Useful for CI, dev, and locked-down/airgapped machines without Docker.

Priority: P1

  • Underlying tech: subprocess / multiprocessing
  • Runtime / compute backend: local host process
  • Existing work: none yet (mirrors today's ad-hoc patterns in math_with_code, newton_bench, code_gen)
  • ⚠️ Not a security boundary: weak/no isolation — the README must document this prominently so users do not run untrusted agent code expecting isolation.

Parent epic

#1685

Acceptance Criteria

  • Provider class implementing SandboxProvider, registered in registry.py
  • YAML config + example, selectable via sandbox_provider
  • Passing tests (skip-guarded if the backend/SDK is not installed)
  • README documenting setup + the isolation/security properties it gives
  • Validated end-to-end on at least one runtime (rollouts collected)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions