NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

Publish release tags for the Hermes managed image (ghcr.io/nvidia/nemoclaw/hermes-sandbox) like openclaw-sandbox

Open zac-wang-nv opened this issue 2 months ago • 4 comments

Problem Statement

NemoClaw publishes the complete managed image for OpenClaw (ghcr.io/nvidia/nemoclaw/openclaw-sandbox:<release>), so a downstream project can build a custom sandbox the way the docs describe (Install OpenClaw Plugins) without vendoring the NemoClaw checkout: FROM the published image, add a plugin, nemoclaw onboard --from Dockerfile.

For Hermes only the intermediate image is published (ghcr.io/nvidia/nemoclaw/hermes-sandbox-base). The complete image the managed-images workflow builds from agents/hermes/Dockerfile (ghcr.io/nvidia/nemoclaw/hermes-sandbox) has no tag on GHCR (checked v0.0.114, v0.0.113, v0.0.110, latest). The docs say not to use a sandbox-base alone as a final image, and agents/hermes/Dockerfile copies from a dozen repository-root paths, so a downstream Hermes image today has to reproduce that Dockerfile with a version-matched NemoClaw checkout as build context.

Concrete case: NVIDIA VSS (NVIDIA-AI-Blueprints/video-search-and-summarization, PR #2024) ships an OpenClaw sandbox image under agent-harness/openclaw/ that extends openclaw-sandbox with the VSS skills and a plugin; its Hermes sandbox still has to be provisioned at run time (nemoclaw <sandbox> skill install, upload) because there is no hermes-sandbox image to extend.

Desired Behavior

ghcr.io/nvidia/nemoclaw/hermes-sandbox:<release> (and a digest) is published for every release alongside openclaw-sandbox, from the same managed-images lane that already defines it, with the same platform coverage.

Before: a downstream Hermes Dockerfile must start from hermes-sandbox-base (unsupported as a final image) or from a NemoClaw checkout. After: FROM ghcr.io/nvidia/nemoclaw/hermes-sandbox@sha256:… AS nemoclaw-runtime, add skills/plugins, nemoclaw onboard --agent hermes --from Dockerfile, exactly like the OpenClaw path.

Scope and Exclusions

Includes: publishing the already-built complete Hermes image and documenting the custom-image workflow for Hermes (the Hermes counterpart of Install OpenClaw Plugins). Excludes: any change to agents/hermes/Dockerfile itself, to the Hermes runtime, or to the plugin/skill install commands. If hermes-sandbox is intentionally unpublished (e.g. size, licensing of a bundled component), the ask reduces to documenting that and the supported downstream path.

Ongoing Ownership

NemoClaw managed-images owners (the lane already builds this artifact). Downstream consumer: the VSS blueprint team (NVIDIA-AI-Blueprints/video-search-and-summarization), who will maintain agent-harness/hermes/ on top of it.

Placement and Support Expectations

Core NemoClaw: this is the existing managed-image publication extended to one more agent that the workflow already builds. Support expectation is the same as for openclaw-sandbox: per-release tag plus digest, release notes noting the pinned Hermes version.

Validation Plan

  • docker manifest inspect ghcr.io/nvidia/nemoclaw/hermes-sandbox:<release> resolves for the release that ships the change, for the same platforms as openclaw-sandbox.
  • nemoclaw onboard --non-interactive --agent hermes --name <sb> --from <Dockerfile> with a Dockerfile that is only FROM ghcr.io/nvidia/nemoclaw/hermes-sandbox@<digest> plus USER sandbox reaches a healthy sandbox (nemohermes <sb> status, dashboard reachable).
  • The existing Hermes e2e lane (managed-image-activation-e2e) passes against the published tag rather than a locally rebuilt image.

Compatibility Requirements

Same matrix as openclaw-sandbox: linux/amd64 (and arm64 where the Hermes lane builds it), NemoClaw releases from the one that ships this change onward, OpenShell Docker and Kubernetes drivers.

Security or Privacy Impact

None new: the image is already built and validated by the release workflow; this only publishes it. Downstream images that extend it inherit the managed startup, config hash verification and gateway health check instead of re-implementing them from sandbox-base, which is a reduction in downstream drift.

Implementation Idea

managed-images.yaml already declares repository: ghcr.io/nvidia/nemoclaw/hermes-sandbox for the Hermes lane. Enable the push (and digest publication step used for openclaw-sandbox) for that lane on release tags.

Category

Feature

Checklist

  • [x] I searched existing issues and this is not a duplicate
  • [x] I described the problem and desired behavior

zac-wang-nv avatar Sep 08 '26 19:09 zac-wang-nv

Correction, and closing: the complete Hermes image is published. ghcr.io/nvidia/nemoclaw/hermes-sandbox carries release tags from v0.0.117 onward (v0.0.117 … v0.0.121 at the time of writing), alongside the per-run cohort digests. My probe stopped at v0.0.116, which is why I concluded it was missing; openclaw-sandbox happens to be tagged further back (v0.0.114), which made the two look different.

What remains true, for anyone landing here: a downstream Hermes image can now be built the same way as the OpenClaw one — FROM ghcr.io/nvidia/nemoclaw/hermes-sandbox@<digest of a release tag> plus the agent's skills, then nemoclaw onboard --agent hermes --from Dockerfile — as long as the CLI release, base image and image contents are the same NemoClaw release. A Hermes counterpart of the Install OpenClaw Plugins page would still help, but that is a docs request, not this one. Closing as not-a-gap.

zac-wang-nv avatar Sep 09 '26 14:09 zac-wang-nv

Reopening — my previous comment was wrong, and I want the record straight.

Checked against the registry directly (GET https://ghcr.io/v2/nvidia/nemoclaw/<image>/tags/list):

image tags release tags (v0.0.*)
nvidia/nemoclaw/openclaw-sandbox 740 v0.0.114 … v0.0.121
nvidia/nemoclaw/hermes-sandbox 369 none — only cohort-ghrun-<run>-<n> and buildcache-*

So hermes-sandbox is published, and each cohort push is a complete managed image (ENTRYPOINT nemoclaw-start, io.nvidia.nemoclaw.agent=hermes, org.opencontainers.image.version=v0.0.121-13-g…, linux/amd64 + arm64). What it lacks, and openclaw-sandbox has, is a release alias. A downstream Dockerfile has no stable name to FROM: the only choices are a cohort tag from an arbitrary main run, or a digest that has to be recovered from wherever the CLI's release-to-digest catalog lives.

Revised ask, smaller than the original:

  1. Tag the hermes-sandbox cohort that a release selects with that release's v0.0.N, as already happens for openclaw-sandbox (the release identity is already resolved in managed-images.yaml, steps.release).
  2. Or, if release aliases are intentionally withheld for Hermes, document how to look up the digest a given NemoClaw release pins for hermes-sandbox, so a downstream --from Dockerfile can pin it.

Everything else in the original description stands. Apologies for the noise.

zac-wang-nv avatar Sep 09 '26 14:09 zac-wang-nv

For anyone needing the lookup today (ask 2 above), it is derivable from the OpenClaw release image: openclaw-sandbox:v0.0.121 carries io.nvidia.nemoclaw.managed-image.cohort=ghrun-34317219002-1, and hermes-sandbox:cohort-ghrun-34317219002-1 exists (digest sha256:6bd0906eb8b949b6759d9397bc0945f56c34d65a7d8a5459678d9694b18d5485, labeled v0.0.121). Same for v0.0.114 → ghrun-… → the matching Hermes cohort. So the publication cohort is the join key; a release alias on hermes-sandbox would just make it one step instead of two.

zac-wang-nv avatar Sep 09 '26 14:09 zac-wang-nv

Product decision: Accept.

  • Reason: NemoClaw already builds, validates, attests, and publishes the complete Hermes managed image. A release alias closes the remaining discovery gap for supported downstream custom images.
  • Placement: Keep the change in the core managed-image publication workflow and the existing Hermes sandbox documentation.
  • Accountable owner and lifecycle: NemoClaw managed-image and release maintainers own the Hermes alias with the existing OpenClaw release pointers. Each release must bind the alias to the qualified cohort. Consumers must resolve and pin its digest and keep the CLI and image on the same NemoClaw release.
  • Compatibility and security: Preserve the existing amd64 and arm64 cohort, provenance, exact-byte verification, and anonymous pull checks. Deep Agents Code remains cohort-only. Validation completes before pointer writes. GHCR writes across image repositories are not atomic; a failed publication reports partial state, and rerunning the same release job reconciles aliases to the same cohort.
  • Validation: Require focused publication tests, trusted same-repository PR CI and review, then inspect the first shipped Hermes release manifest and run managed-image activation against the published release.

ericksoa avatar Sep 09 '26 16:09 ericksoa