Install Hermes Plugins
Hermes plugins extend the Hermes runtime inside a NemoClaw-managed sandbox.
They are different from NemoClaw skills and from OpenClaw plugins, so install them through the Hermes plugin path instead of skill install.
How Hermes Loads Plugins
NemoClaw sets HERMES_HOME to /sandbox/.hermes when it starts the Hermes gateway.
Hermes plugin directories live under /sandbox/.hermes/plugins/<plugin-name>.
NemoClaw uses the same mechanism for its built-in Hermes integration, which the sandbox image bakes into /sandbox/.hermes/plugins/nemoclaw.
The built-in NemoClaw Hermes plugin provides sandbox status tools, skill reload support, managed-tool broker patches, and runtime grounding for the OpenShell sandbox.
Do not replace or remove /sandbox/.hermes/plugins/nemoclaw when you add your own plugin.
Choose an Install Path
The supported path for custom Hermes plugins is to bake the plugin into a custom sandbox image and onboard from that Dockerfile. Use this path when the plugin adds Python code, runtime hooks, or dependencies that Hermes must see at gateway startup.
nemohermes <name> skill install <path> is only for SKILL.md agent skills.
It uploads skill instructions and refreshes skill discovery, but it does not install Hermes runtime plugins.
When you change plugin code or dependencies, update the custom image and rebuild the sandbox so the plugin remains reproducible. When you change a supported startup-only setting with a NemoClaw host command, restart the Hermes gateway from the host:
The command reloads supported startup-only state through NemoClaw’s authenticated lifecycle controller.
Use nemohermes <name> config set or nemohermes inference set for supported configuration changes so NemoClaw updates managed config metadata together.
For the controller topology, trust boundary, health proof, and fail-closed behavior, refer to Understand Gateway Lifecycle Control.
Prepare a Build Directory
Put the custom Dockerfile and every file it needs to COPY in one directory.
nemohermes onboard --from <Dockerfile> sends the Dockerfile’s parent directory as the Docker build context.
Add a .dockerignore next to the Dockerfile to keep local caches, generated artifacts, model files, or other unneeded paths out of the staged context.
NemoClaw still excludes credential-like paths such as .env*, .ssh/, .aws/, .npmrc, secrets/, *.pem, and *.key, even if .dockerignore tries to include them.
NemoClaw sends user-supplied --from contexts to the OpenShell gateway builder and reserves its host-side local BuildKit prebuild for contexts that NemoClaw generates itself.
On a local Docker-driver gateway, a Local BuildKit build skipped notice is expected and the custom image build continues through the gateway.
If you start from the stock NemoClaw Hermes Dockerfile, keep the NemoClaw Hermes image contract intact.
The image must still include the generated Hermes config, NemoClaw Hermes plugin, blueprint files, nemoclaw-start entrypoint, root-only gateway control helper, root-only managed controller, and shared supervisor library.
A custom --from Dockerfile replaces the normal NemoClaw Hermes Dockerfile.
Starting from ghcr.io/nvidia/nemoclaw/hermes-sandbox-base:latest alone is not enough.
Your Dockerfile must also preserve the NemoClaw Hermes layers from agents/hermes/Dockerfile.
If gateway restart or recover reports privileged control unavailable for an older custom image, update the Dockerfile to the current Hermes image contract and rebuild it with nemohermes <name> rebuild --yes.
The current contract supports a direct root entrypoint and the OpenShell-managed topology where OpenShell is PID 1 and launches nemoclaw-start as nonroot.
An arbitrary nonroot entrypoint that does not match the supported OpenShell-managed process shape cannot use lifecycle control.
Kubernetes and other deployments without a matching direct container fail closed and do not fall back to ordinary openshell sandbox exec or an in-sandbox manual relaunch.
Install the Plugin in the Image
Add your plugin after the Dockerfile has created /sandbox/.hermes.
The example below shows the layer that copies a plugin directory into the Hermes plugin tree.
Keep plugin code and dependency files inside the build directory. Avoid copying host credentials, local caches, or broad home-directory contents into the image.
Create the Sandbox
Run onboarding with the custom Dockerfile and an explicit sandbox name.
NemoClaw requires a name for --from builds so a custom image cannot silently replace the default sandbox.
For non-interactive onboarding, set the same values through environment variables.
If you resume an interrupted onboarding run, use the same Dockerfile path that started the session. NemoClaw records the custom Dockerfile path and rejects a resume that points at a different image source.
Network Access
Hermes plugins still run inside the OpenShell sandbox boundary. If a plugin calls an external API at runtime, add a policy preset for the required hostnames and binaries before you recreate the sandbox.
Hermes uses Python for plugin execution, so policy entries usually need to allow the Hermes Python runtime, such as /opt/hermes/.venv/bin/python, in addition to any command-line wrapper your plugin starts.
For package downloads during sandbox runtime, use the pypi preset or a custom preset that allows the package hosts you need.
Refer to Network Policies for policy concepts. Refer to Customize Network Policy for custom preset workflows.
Common Mistakes
The following places commonly mix Hermes plugin installation with other NemoClaw extension paths.
- Do not use
skill installfor Hermes runtime plugins. - Do not install Hermes plugins into
/sandbox/.openclaw/extensions; that path is for OpenClaw plugins. - Do not remove
/sandbox/.hermes/plugins/nemoclaw; NemoClaw depends on that plugin for managed Hermes behavior. - Do not put the Dockerfile in a broad directory unless you intend to send that whole directory as the Docker build context.
- Do not rely on
.dockerignoreto include credential-like paths; NemoClaw excludes those from staged custom build contexts for safety. - Do not assume OpenShell policy allows Python package downloads during runtime by default.
Next Steps
- Review NemoHermes Command Reference for
nemohermes onboard --fromdetails. - Review Customize Network Policy if the plugin needs runtime network egress.
- Review Understand Runtime Changes before changing shields or mutability settings for a plugin-enabled sandbox.