Skip to content

Evaluate kubernetes-sigs/agent-sandbox for step isolation and sandboxing #17

Done

Description

@slauger

Context

kubernetes-sigs/agent-sandbox is a Kubernetes SIG project that defines a declarative API for isolated, stateful, singleton workloads aimed at AI agent runtimes (Sandbox, plus extensions such as SandboxTemplate, SandboxClaim and SandboxWarmPool).

A search of this repository shows no reference to it so far. A lot of the sandboxing design (isolation backends such as gVisor/Kata, lifecycle, warm pools, stable identity, persistent storage, pause/resume) has already been worked out there. We should not reinvent it, but map it into our APIs.

Tasks

  • Review the agent-sandbox API (CRDs, extensions, lifecycle, isolation options)
  • Compare with our step isolation model (AEP-0023) and the v1alpha3 Kubernetes resource model
  • Identify overlaps and gaps (e.g. sandbox templates vs. step runtime config, warm pools vs. step startup latency, claims vs. per-run allocation)
  • Decide on the integration approach: reference/delegate to Sandbox resources, align field names, or define an adapter
  • Update the affected AEP(s) and docs/decisions.md accordingly

Outcome

A short evaluation note plus concrete changes to the relevant AEP(s), so that AWP builds on agent-sandbox instead of defining its own sandbox primitives.

Activity

  1. weisser-dev commented on Nov 25, 2026

    @weisser-dev
    Member

    Resolved by #24 (decision D21) and #25 (AEP-0023, merged in a2c1293): AWP does not define its own sandbox primitives. A manifest asks for an isolation class (agents[].isolation, AEP-0023), the platform maps it to a mechanism like RuntimeClass or StorageClass (docs/runtime-feedback.md); agent-sandbox is named as prior art and one way to implement it (spec/v1alpha3 section 1.2, AEP-0023 prior art). Field-level alignment with Sandbox/SandboxTemplate is left to the open questions of AEP-0023.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions