Skip to content

Support configurable sandbox runtimes in AX (gVisor, microVMs) #344

Closed

Description

@rakyll

Agent workloads have varying security, isolation, and startup latency requirements, particularly when executing untrusted code or running custom tools. Because Substrate supports multiple sandbox runtimes—including gVisor for lightweight syscall-intercepted sandboxing and microVMs (e.g., Firecracker) for hardware-assisted virtualization—AX needs a standardized way to configure and provision these isolation boundaries for tasks.

We should explore whether a dedicated Sandbox resource/CRD is appropriate, similar to how Workspace and Gateway are currently structured. A standalone Sandbox manifest would allow operators and users to define reusable isolation profiles (such as hypervisor settings, syscall filtering, and runtime choices) that tasks can reference by name, while also opening the possibility for inline overrides directly on Task.spec.

Key questions to resolve include how sandbox runtime parameters map through ax-controller to the Substrate gRPC control API, how microVM filesystem/workspace mounts interact with the runner, and what the default isolation runtime should be when none is specified.

Activity

  1. added
    devx
    on Oct 15, 2026
  2. siyuanfoundation commented on Oct 23, 2026

    @siyuanfoundation
    Collaborator

    /assign

  3. rakyll commented on Nov 2, 2026

    @rakyll
    MemberAuthor

    We should allow taking an actor template as an alternative to taking an image. We don't have to replicate the entire Substrate actor config in AX.

  4. rakyll commented on Nov 2, 2026

    @rakyll
    MemberAuthor

    Duplicate of #491.

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

    P1devxsubstrate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions