Install NeMo Relay
Choose the package or executable from the user's desired outcome. Stop after
installation and basic availability checks. Do not configure runtime behavior,
write plugins.toml, create scopes, register middleware, or build a first app
example from this skill.
Keep installation separate from first-use instrumentation.
Choose The Install Path
If the user asks to install NeMo Relay but does not identify a target or
desired outcome, ask one short clarifying question before giving commands:
Which install path do you want: CLI for coding-agent/local gateway use,
language package for a Python/Node.js/Rust app, or framework integration for
LangChain, LangGraph, Deep Agents, OpenClaw, or Hermes?
Do not ask when the user already names a CLI, language, framework, harness,
source checkout, or target project file such as pyproject.toml, package.json,
or Cargo.toml.
Use this order from least to most application-specific:
- CLI for a generic "try Relay" request, a temporary coding-agent run, the
local gateway, or explicit persistent host-plugin setup. Read
CLI Installation.
- Maintained integration when the user already uses OpenClaw, Hermes,
LangChain, LangGraph, or Deep Agents. Read
Maintained Integration Installation.
- Language package when a Python, Node.js, or Rust application directly
owns its tool or model call sites. Read
Language Package Installation.
- Source checkout only for contributors or unpublished changes. Follow the
repository development guide instead of published package commands.
For "try Relay" requests, default to the CLI and temporary transparent run.
Do not make persistent host-plugin installation the default.
Protect Codex Desktop Continuity
Before persistent Codex installation, determine whether the user is operating
from Codex Desktop. Persistent nemo-relay install codex changes the active
Codex provider and can make the current or older Desktop threads appear missing
after restart because of an upstream provider-filtering bug. The threads are
not deleted.
For Codex Desktop users:
- Recommend temporary transparent run first.
- If the user still wants persistent installation, read the Codex Desktop
section in CLI Installation.
- Preview the install and proposed recovery-note location.
- Obtain confirmation before writing either the recovery note or global Codex
configuration.
- Render
assets/codex-desktop-recovery.md as
NEMO_RELAY_CODEX_DESKTOP_RECOVERY.md in the user's workspace root before
running the persistent installer.
- Do not restart Codex Desktop until the user has the recovery-file path.
Do not directly inspect, copy, delete, edit, or rewrite Codex session files,
private application configuration, or SQLite state to work around the
visibility bug. Supported nemo-relay install, uninstall, and doctor commands
may manage the Relay-generated provider and hook configuration.
Install And Verify
- Inspect the target manifest, environment, operating system, architecture,
and existing installation before changing anything.
- Load only the reference for the selected path.
- Preserve the project's existing package manager and virtual environment.
- Use the latest compatible release unless the user or project requires an
exact version.
- Show the exact install command before running a remote installer or changing
a project manifest.
- Run only the selected path's basic availability check.
- Report what was installed, where it was installed, and the verification
result. Then stop.
The primary documented language paths are Rust, Python, and Node.js. Treat Go
and raw FFI as source-first advanced surfaces, not normal package installs.
Do not treat a first scope, subscriber, gateway, plugin config, or LLM call as
installation verification.
Use Doctor For CLI Readiness And Configuration Issues
Know about nemo-relay doctor, but use it in the right scope:
- Run
nemo-relay doctor when the user installed the CLI and reports config,
gateway, agent-readiness, plugin, exporter, or model-pricing issues.
- Use
nemo-relay doctor --json when structured output will help an agent
inspect checks programmatically.
- Use
nemo-relay doctor --plugin claude-code, nemo-relay doctor --plugin codex, or nemo-relay doctor --plugin all only for persistent host-plugin
installations.
- Do not require plugin doctor for transparent runs. Transparent-run setup does
not require persistent host-plugin state.
- Do not use doctor as proof that a Python, Node.js, or Rust package dependency
was installed. Verify those with the language package manager/import checks.
When doctor reports failures, summarize the failed checks and the specific
remediation it suggests. Do not loop back to reinstalling every package unless
the failed check points to a broken or missing install.
Hand Off After Install
Choose the next workflow from the user's immediate outcome:
- Use
nemo-relay-get-started for a first working scope, tool call, LLM call,
or trial plugin setup.
- Use the NeMo Relay CLI documentation or host-specific setup for a local CLI
host-plugin workflow, not application runtime setup.
- Use the matching plugin or instrumentation skill for runtime configuration,
plugin files, observability, or adaptive behavior.
Common Mistakes
Avoid these installation-scope mistakes:
- Using repository development setup when the user only needs a published
package.
- Installing the CLI when the user needs an application binding, or installing a
binding when the user only needs the local
nemo-relay executable.
- Treating persistent host-plugin installation as the default way to try Relay,
instead of starting with temporary transparent run.
- Pinning old versions unless the user or project explicitly requires that
version.
- Continuing into
plugins.toml, middleware registration, scopes, or quick-start
examples before the install step has been verified.
Public Docs To Reference
Use these public entry points to confirm current installation guidance:
1---2name: nemo-relay-install3description: Use this skill when choosing or running NeMo Relay installation for the CLI, Python, Node.js, Rust, OpenClaw, Hermes, or maintained framework integrations before runtime configuration or quick-start setup.4license: Apache-2.05---67# Install NeMo Relay89Choose the package or executable from the user's desired outcome. Stop after10installation and basic availability checks. Do not configure runtime behavior,11write `plugins.toml`, create scopes, register middleware, or build a first app12example from this skill.13Keep installation separate from first-use instrumentation.1415## Choose The Install Path1617If the user asks to install NeMo Relay but does not identify a target or18desired outcome, ask one short clarifying question before giving commands:1920> Which install path do you want: CLI for coding-agent/local gateway use,21> language package for a Python/Node.js/Rust app, or framework integration for22> LangChain, LangGraph, Deep Agents, OpenClaw, or Hermes?2324Do not ask when the user already names a CLI, language, framework, harness,25source checkout, or target project file such as `pyproject.toml`, `package.json`,26or `Cargo.toml`.2728Use this order from least to most application-specific:29301. **CLI** for a generic "try Relay" request, a temporary coding-agent run, the31 local gateway, or explicit persistent host-plugin setup. Read32 [CLI Installation](references/cli-install.md).332. **Maintained integration** when the user already uses OpenClaw, Hermes,34 LangChain, LangGraph, or Deep Agents. Read35 [Maintained Integration Installation](references/maintained-integrations.md).363. **Language package** when a Python, Node.js, or Rust application directly37 owns its tool or model call sites. Read38 [Language Package Installation](references/language-packages.md).394. **Source checkout** only for contributors or unpublished changes. Follow the40 repository development guide instead of published package commands.4142For "try Relay" requests, default to the CLI and temporary transparent run.43Do not make persistent host-plugin installation the default.4445## Protect Codex Desktop Continuity4647Before persistent Codex installation, determine whether the user is operating48from Codex Desktop. Persistent `nemo-relay install codex` changes the active49Codex provider and can make the current or older Desktop threads appear missing50after restart because of an upstream provider-filtering bug. The threads are51not deleted.5253For Codex Desktop users:54551. Recommend temporary transparent run first.562. If the user still wants persistent installation, read the Codex Desktop57 section in [CLI Installation](references/cli-install.md).583. Preview the install and proposed recovery-note location.594. Obtain confirmation before writing either the recovery note or global Codex60 configuration.615. Render `assets/codex-desktop-recovery.md` as62 `NEMO_RELAY_CODEX_DESKTOP_RECOVERY.md` in the user's workspace root before63 running the persistent installer.646. Do not restart Codex Desktop until the user has the recovery-file path.6566Do not directly inspect, copy, delete, edit, or rewrite Codex session files,67private application configuration, or SQLite state to work around the68visibility bug. Supported `nemo-relay` install, uninstall, and doctor commands69may manage the Relay-generated provider and hook configuration.7071## Install And Verify72731. Inspect the target manifest, environment, operating system, architecture,74 and existing installation before changing anything.752. Load only the reference for the selected path.763. Preserve the project's existing package manager and virtual environment.774. Use the latest compatible release unless the user or project requires an78 exact version.795. Show the exact install command before running a remote installer or changing80 a project manifest.816. Run only the selected path's basic availability check.827. Report what was installed, where it was installed, and the verification83 result. Then stop.8485The primary documented language paths are Rust, Python, and Node.js. Treat Go86and raw FFI as source-first advanced surfaces, not normal package installs.87Do not treat a first scope, subscriber, gateway, plugin config, or LLM call as88installation verification.8990## Use Doctor For CLI Readiness And Configuration Issues9192Know about `nemo-relay doctor`, but use it in the right scope:9394- Run `nemo-relay doctor` when the user installed the CLI and reports config,95 gateway, agent-readiness, plugin, exporter, or model-pricing issues.96- Use `nemo-relay doctor --json` when structured output will help an agent97 inspect checks programmatically.98- Use `nemo-relay doctor --plugin claude-code`, `nemo-relay doctor --plugin99 codex`, or `nemo-relay doctor --plugin all` only for persistent host-plugin100 installations.101- Do not require plugin doctor for transparent runs. Transparent-run setup does102 not require persistent host-plugin state.103- Do not use doctor as proof that a Python, Node.js, or Rust package dependency104 was installed. Verify those with the language package manager/import checks.105106When doctor reports failures, summarize the failed checks and the specific107remediation it suggests. Do not loop back to reinstalling every package unless108the failed check points to a broken or missing install.109110## Hand Off After Install111112Choose the next workflow from the user's immediate outcome:113114- Use `nemo-relay-get-started` for a first working scope, tool call, LLM call,115 or trial plugin setup.116- Use the NeMo Relay CLI documentation or host-specific setup for a local CLI117 host-plugin workflow, not application runtime setup.118- Use the matching plugin or instrumentation skill for runtime configuration,119 plugin files, observability, or adaptive behavior.120121## Common Mistakes122123Avoid these installation-scope mistakes:124125- Using repository development setup when the user only needs a published126 package.127- Installing the CLI when the user needs an application binding, or installing a128 binding when the user only needs the local `nemo-relay` executable.129- Treating persistent host-plugin installation as the default way to try Relay,130 instead of starting with temporary transparent run.131- Pinning old versions unless the user or project explicitly requires that132 version.133- Continuing into `plugins.toml`, middleware registration, scopes, or quick-start134 examples before the install step has been verified.135136## Public Docs To Reference137138Use these public entry points to confirm current installation guidance:139140- [Installation](https://docs.nvidia.com/nemo/relay/getting-started/installation)141- [Prerequisites](https://docs.nvidia.com/nemo/relay/getting-started/prerequisites)142- [CLI transparent run](https://docs.nvidia.com/nemo/relay/dev/nemo-relay-cli/basic-usage#transparent-run)143- [Configuration and setup handoff](https://docs.nvidia.com/nemo/relay/getting-started/configuration)