Skip to content

feat(sandbox): validated fast-start sandbox path for bursty agent workloads #5873

Open

Description

@NVIDIA-AI-Labs

User Story

An NVIDIA AI lab partner uses OpenShell for running bursty agent workloads that need sandboxes to become available on demand, and wants a validated fast-start sandbox path so that sandbox provisioning is no longer the dominant source of startup latency.

Problem Statement

The partner reports that sandboxes provisioned through their existing Daytona-based setup take minutes to become available. For bursty agent workflows, where sandboxes are created and torn down frequently, this startup time is a significant bottleneck.

OpenShell's experimental Firecracker driver is a possible alternative, but its compatibility with the partner's Daytona-based configuration and the achievable end-to-end startup gains have not been validated. Specific OpenShell versions, platforms and driver configuration details were not provided.

Impact / Why This Matters

Startup latency measured in minutes makes OpenShell impractical for bursty, short-lived agent sandboxes: time-to-first-work is dominated by provisioning rather than by the agent itself. Without a validated fast-start path, users with this workload shape have no supported configuration to adopt and must either accept the latency or keep sandboxes warm.

Proposed Design

  • Profile the current sandbox provisioning path to identify which stages contribute to the multi-minute startup time.
  • Assess compatibility of the experimental Firecracker driver with a Daytona-based sandbox configuration and document any gaps or required changes.
  • Measure representative cold-start and cached-image start times for the Firecracker path and compare them against the current provisioning path.
  • Based on the results, document a recommended fast-start sandbox configuration for bursty agent workloads, including its limitations.

Acceptance Criteria

  • Sandbox provisioning is profiled and the stages responsible for the multi-minute startup time are identified and documented.
  • Firecracker driver compatibility with a Daytona-based sandbox configuration is validated, with any incompatibilities documented.
  • Cold-start and cached-image start times are measured for both the current path and the Firecracker path, using a reproducible benchmark method.
  • A fast-start sandbox configuration is documented with its supported platforms, prerequisites and known limitations.
  • Bursty agent workloads can obtain a sandbox with startup latency substantially below the current multi-minute baseline, with the improvement demonstrated by the benchmark above.

Alternatives Considered

  • Continue using the current Daytona-based provisioning path unchanged, accepting multi-minute sandbox startup times.
  • No other alternatives were provided.

Reported to NVIDIA by an AI lab partner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:triage-neededOpened without agent diagnostics and needs triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions