Skip to content
Agent Orchestration
MCP

nemo-relay

Ships with nemo-relay: NVIDIA NeMo Relay is a library that wraps your agents' model and tool calls so you can observe, control, and tune them, without rewriting the agent stack you already have. See…

From plugin
nemo-relay
25311 skills1 MCP

Claude Code

> /plugin marketplace add NVIDIA/NeMo-Relay
> /plugin install nemo-relay-plugin@nemo-relay

Security report

Info

Not enough data

  • Known flaws

    Not published

  • Signed build

    Not published

  • Maintained

    Nov 20, 2026

    Last push

  • Licence

    Apache-2.0

  • Runs as

    Local process

    On your machine

  • Deprecated

    Not published

Signals from public registries, not an audit. Checked Nov 22, 2026.

nemo-relay README

NVIDIA NeMo Relay

License GitHub Release Codecov PyPI npm node Crates.io Crates.io Crates.io Ask DeepWiki

NVIDIA NeMo Relay is a library that wraps your agents' model and tool calls so you can observe, control, and tune them, without rewriting the agent stack you already have.

  • See every agent run. Capture model calls, tool calls, turns, and subagents from Hermes Agent, Claude Code, Codex, OpenClaw, LangChain, Google ADK, or your own code as one event stream, then export it as raw events, trajectories, OpenTelemetry, or OpenInference.
  • Enforce policy at the call. Middleware and guardrails can block, sanitize, redact, or rewrite a tool or model call before it runs, not after the fact.
  • Keep the stack you have. Relay attaches to supported agents and frameworks through the Relay CLI or maintained integrations, and to your own code through SDKs for Python, Node.js, and Rust.
  • Extend it with plugins. Turn on built-in observability, PII redaction, model pricing, resource metrics, and adaptive tuning from one plugins.toml file, or build your own exporters, middleware, and policies as custom plugins.
  • Tune cost and latency. Model pricing estimates the cost of each call, and adaptive plugins tune caching and request hints from observed behavior.

Note NeMo Relay is beta software. APIs and behavior may change with each release. Review the Release Notes and Migration Guides before upgrading.

Quick Start

Put Relay in front of a supported coding agent you already use:

curl -fsSL https://raw.githubusercontent.com/NVIDIA/NeMo-Relay/main/install.sh | sh
nemo-relay claude    # or: nemo-relay codex

On Windows, install with irm https://raw.githubusercontent.com/NVIDIA/NeMo-Relay/main/install.ps1 | iex.

On first run, Relay walks you through setup in your terminal. After that, each run launches the agent with Relay attached and removes it when the agent exits. To record and inspect a complete run, follow the Claude Code or Codex quick start.

For other harnesses and frameworks, check our quick starts.

Learn by Example

How Relay Fits

An agent request touches many components: an entry point starts work, a model is called, tools run, and subagents branch off. Relay gives all of them one shared runtime contract for scopes, policy, plugins, and lifecycle events, instead of asking every layer to invent its own wrappers and trace vocabulary.

flowchart LR
    Sources["Application Code<br/>Agent Harness<br/>Agent Framework"]
    subgraph Runtime[NeMo Relay Middleware]
        direction TB
        Scopes[Scopes]
        Middleware[Middleware]
        Plugins[Plugins]
        Events[Lifecycle Events]
    end
    Consumers[Subscribers / Exporters]
    subgraph Outputs[Outputs and Destinations]
        ATOF[ATOF JSONL]
        ATIF[ATIF Trajectories]
        OTEL[OpenTelemetry]
        OI[OpenInference]
    end
    Sources -->|managed calls, hooks, or routed traffic| Runtime
    Runtime --> Consumers
    Consumers --> ATOF
    Consumers --> ATIF
    Consumers --> OTEL
    Consumers --> OI

Relay is not a dashboard. Arize Phoenix, CoreWeave Weights & Biases, Langfuse, LangSmith, and other observability products store and explore agent runs; Relay sits inside the run and feeds them through the export path you configure. It also doesn't replace your agent framework, model provider, or guardrail authoring system. Check the Ecosystem guide for more details.

Choose Your Path

Pick the row closest to what you are trying to do.

GoalStart WithHow Relay Attaches
Observe Codex or Claude Code on your machineQuick start for Codex or Claude CodeThe Relay CLI connects to these supported agents' hooks and provider traffic. No application code changes.
Use Hermes AgentHermes Agent quick startRelay is built into Hermes Agent and reads standard Relay plugin configuration. No CLI or separate plugin needed.
Use OpenClawOpenClaw Plugin GuideThe nemo-relay-openclaw plugin maps OpenClaw hooks to Relay events and pre-tool guardrails.
Instrument LLM or tool calls your application ownsPython, Node.js, or Rust quick startDirect SDK instrumentation runs the full lifecycle and middleware sequence around your callbacks.
Use LangChain, LangGraph, Deep Agents, or Google ADKSupported IntegrationsMaintained integrations use public framework APIs.
Export traces, trajectories, or raw eventsObservabilityExporters consume one event stream and write ATOF, ATIF, OpenTelemetry, or OpenInference.
Run Relay as a shared, administrator-managed serviceDaemonA background daemon gives every user and coding agent one managed entry point, locally or on a remote Linux server.
Build a framework, host, or provider integrationIntegrate into FrameworksWrap the framework's tool and LLM call sites.
Package reusable exporters, middleware, or policyBuild PluginsShip language-binding, native, or gRPC worker plugins that turn on from configuration.
Develop or test this repositoryCONTRIBUTING.mdBuild from source.

Install

Install the component that matches where Relay attaches, then follow the quick start for your agent, framework, or language from the table above.

# CLI for supported coding agents (Claude Code, Codex)
curl -fsSL https://raw.githubusercontent.com/NVIDIA/NeMo-Relay/main/install.sh | sh

# Python 3.11+ (add extras for langchain, langgraph, deepagents, google-adk)
uv add nemo-relay

# Node.js 24.13.1+
npm install nemo-relay-node

# Rust
cargo add nemo-relay

On Windows, install the CLI with the PowerShell installer. Refer to Installation for platforms, version pinning, and integration packages, or to Quick Starts for a first run in a few minutes.

Set Up With Your Coding Agent

Relay publishes agent skills that let Claude Code, Codex, Cursor, and other compatible coding agents install Relay, pick the right integration path, and debug missing events for you:

npx skills add nvidia/skills \
  --skill nemo-relay-install \
  --skill nemo-relay-get-started \
  --agent claude-code

Then ask your agent to get you started with NeMo Relay. Change --agent to codex, cursor, or another supported target. The full skill set covers instrumentation, plugins, and troubleshooting; refer to skills/ for the list.

Coding agents can also read the docs directly through llms.txt or the docs MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

How It Works

Relay builds on a small set of runtime concepts:

  • Scopes give runs, turns, tools, LLM calls, and subagents clear parent-child relationships, automatic cleanup, and request isolation.
  • Marks record point-in-time events, such as session starts, compaction, or skill loads.
  • Managed LLM and tool calls apply the same lifecycle and middleware rules around every callback.
  • Middleware blocks, sanitizes, transforms, routes, retries, or replaces execution where policy requires it.
  • Plugins turn on observability, guardrail, PII redaction, adaptive, model pricing, and exporter behavior from configuration.
  • Events and subscribers deliver every output from the same runtime activity.

Every output comes from one canonical event stream:

OutputUse It For
ATOF JSONLThe raw, canonical lifecycle event stream. Start here when debugging.
ATIF trajectoriesReplay, analysis, and evaluation of completed runs.
OpenTelemetryTraces, logs, and metrics for OTLP-compatible backends.
OpenInferenceOpenInference-compatible tracing tools.

How much Relay can do depends on where the real call happens:

If…UseWhat Relay Can Do
The call can be routed through RelayManaged executionRun middleware, then invoke the real function. Full observe and control.
The framework keeps control but emits before/after notificationsLifecycle hooksTranslate hooks into Relay events. Observe, but not execute or rewrite.
A supported coding agent sends model requests itselfGatewayThe Relay CLI routes that agent's provider traffic to record LLM calls. Use it only with the supported coding agents.
@nvidia
Ships withnemo-relay
25311 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
253
Star history of NVIDIA/NeMo-Relay on GitHub, a chart by star-history.com

More MCP servers from other plugins.

orca-component-fixtures

orca-component-fixture…

MCP

Ships with orca: Orca lets you run a fleet of coding agents (e.g. Claude Code, Codex) with your own subscription. Available on…

orca3d128k
@stablyai@stablyaiInstall MCP
paperclip

paperclip

MCP

Ships with paperclip: Open-source orchestration for teams of AI agents. If OpenClaw is an employee, Paperclip is the company.…

paperclip4d114k
@paperclipai@paperclipaiInstall MCP
ruflo

ruflo

MCP

Ships with claude-flow: 📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves A 14-chapter guide: from…

@ruvnet@ruvnetInstall MCP
t

t

MCP

Ships with oh-my-claudecode: For Codex users: Check out oh-my-codex — the same orchestration experience for OpenAI Codex CLI.…

Questions about nemo-relay.

Which coding agents can use nemo-relay?
nemo-relay works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
How do I add nemo-relay to Claude Code?
Run these in order, one at a time. 1. In Claude Code: /plugin marketplace add NVIDIA/NeMo-Relay 2. In Claude Code: /plugin install nemo-relay-plugin@nemo-relay