NeMo Relay AI Agent

by NVIDIA• 224•• Scanned•Claim this listing•Request removal
Developer Toolsagentsaiatifatofclaude code

Multi-language agent runtime and library for execution scope management, lifecycle events, and middleware on tool and LLM calls.

NeMo Relay is an open-source ai agent by NVIDIA, written mainly in Rust, with 224 GitHub stars and the Apache-2.0 license. Its code was last updated Nov 1, 2026. The latest PyPI release is nemo-relay 0.11.1, published Nov 4, 2026, with 1,994,733 downloads last week.

<!-- SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: Apache-2.0 -->

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.

Refer to Concepts for the deeper model.

Support Status

Python, Node.js, and Rust are fully supported; Rust is the source of truth for runtime behavior. Go and the C FFI are experimental and source-first.

Coding AgentObservabilitySecurityOptimization
Claude Code✅✅Partial
Codex✅✅Partial
Hermes Agent (built in)✅✅Partial
OpenClaw✅Partial–
pi (PoC)Partial✅–
FrameworkObservabilitySecurityOptimization
LangChain✅✅✅
LangGraph✅✅✅
Deep Agents✅✅✅
Google ADK✅✅✅

Refer to the Support Matrix for minimum versions, platforms, and current limitations.

Documentation

Full documentation lives at docs.nvidia.com/nemo/relay.

TaskStart With
Understand the runtime modelOverview and Agent Runtime Primer
Install packagesInstallation
Configure plugin filesPlugin Configuration Files
Tune performance with adaptive behaviorAdaptive
Debug trace incidentsTroubleshooting Guide
Look up APIsAPIs
See what changedRelease Notes

Community and Support

Contributing

Contributions are welcome. For source builds, tests, and the contribution workflow, refer to CONTRIBUTING.md and Development Setup.

License

NVIDIA NeMo Relay is licensed under the Apache License 2.0.

NeMo Relay alternatives

View more →

Similar ai agents in Developer Tools, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
NeMo Relay (this page)
NVIDIA
224Apache-2.0Nov 1, 2026Scanned, no flagged issues
Deepseek Harness
deepseek-ai
268kMITOct 30, 2026Scanned, no flagged issues
Ponytail
DietrichGebert
182kMITOct 29, 2026Scanned, no flagged issues
Orca
stablyai
112kMITNov 1, 2026Scanned, no flagged issues
Deer Flow
bytedance
85kMITNov 1, 2026Scanned, no flagged issues
Ruflo
ruvnet
80kMITNov 1, 2026Scanned, no flagged issues