Clarify execd documentation and the protocol boundary for independent implementations

Author: rkosterCreated Sep 28, 2026Updated Sep 28, 2026

Context

The execd architecture page says execd is “the only process clients ever talk to.” But the AIO Sandbox example creates a sandbox through OpenSandbox, resolves its port 8080 endpoint, and uses AioSandboxClient to speak the image’s own shell/file/browser API. The single-host networking documentation likewise describes access to arbitrary sandbox service ports.

These examples seem compatible with a narrower claim: execd implements OpenSandbox’s in-sandbox execution API, while clients can also talk to workload-specific services through resolved endpoints. As written, “the only process clients ever talk to” obscures that distinction.

This matters for independent implementations such as Cloud Foundry. In the AAIF project-proposal discussion, the intended direction is described as both an independently implementable protocol and a reference implementation, including native lifecycle/exec implementations on other runtimes. We would like to understand the current interoperability boundary while v1 normative semantics, capability negotiation and conformance testing are being developed.

Questions / requested clarification

  • Which of the published contracts under specs/ make up the current lifecycle interface, and which additional contracts must be implemented to support the existing sandbox SDKs’ command/file/code operations? Is an implementation of the execd HTTP contract sufficient, regardless of whether it runs the execd binary?
  • How should workload-specific APIs such as AIO Sandbox’s be distinguished from OpenSandbox’s execution API in the docs? Is endpoint resolution intended to remain agnostic to what protocol a workload serves on a port?
  • Which operations are currently backend-dependent or optional (for example pause/resume, snapshots, egress policy/credential vault, PTY and Jupyter-backed code execution), and how should unsupported operations be communicated before capability negotiation exists?
  • For SDK compatibility specifically, the Python SandboxSync create flow resolves execd (44772) and, except for template-origin sandboxes, egress (18080) endpoints even when a custom workload health check is supplied. Are these endpoint requirements intended as part of a portable compatibility baseline, or current SDK/reference-implementation assumptions?

Suggested outcome

Update the execd page’s absolute wording and add a short explanation of the boundary between the published lifecycle/exec contracts, the reference implementation’s daemons/bootstrap/networking, and user workload APIs. Document the present-day SDK endpoint expectations and any existing backend limitations so independent implementers can choose a meaningful initial compatibility target. This issue does not require the planned v1 capability or conformance work to be completed first.

Source: opensandbox-group/OpenSandbox