For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • About NVIDIA NeMo Relay
    • Overview
    • Architecture
    • Ecosystem
    • Concepts
    • Release Notes
  • Getting Started
    • Agent Runtime Primer
    • Prerequisites
    • Installation
    • Configuration / Setup
    • Quick Start
  • NVIDIA NeMo Relay CLI
    • About
    • Basic Usage
    • Claude Code
    • Codex
    • Cursor
    • Hermes Agent
  • Supported Integrations
    • About
    • OpenClaw Plugin Guide
    • LangChain Integration Guide
    • LangGraph Integration Guide
    • Deep Agents Integration Guide
  • Instrument Applications
    • About
    • Adding Scopes and Marks
    • Instrument a Tool Call
    • Instrument an LLM Call
    • Add Middleware
    • Code Examples
  • Observability Plugin
    • About
    • Configuration
    • Agent Trajectory Interchange Format (ATIF)
    • Agent Trajectory Observability Format (ATOF)
    • OpenTelemetry
    • OpenInference
  • Adaptive Plugin
    • About
    • Configuration
    • Adaptive Cache Governor (ACG)
    • Adaptive Hints
  • NeMo Guardrails Plugin
    • About
    • Configuration
  • Integrate into Frameworks
    • About
    • Adding Scopes
    • Wrap Tool Calls
    • Wrap LLM Calls
    • Handle Non-Serializable Data
    • Using Codecs
    • Provider Codecs
    • Provider Response Codecs
    • Code Examples
  • Build Plugins
    • About
    • Define a Plugin
    • Validate Plugin Configuration
    • Plugin Configuration Files
    • Register Plugin Behavior
    • Design Plugin Configuration
    • NeMo Guardrails Example Plugin
    • Code Examples
  • Contribute
    • About
    • Development Setup
    • Workflow and Reviews
    • Testing and Documentation
  • Reference
    • APIs
    • Performance
  • Resources
    • Support and FAQs
    • Glossary
    • Troubleshooting Guide
    • Community
    • Legal
NVIDIANVIDIA
Developer-friendly docs for your API
Privacy Policy | Your Privacy Choices | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2026, NVIDIA Corporation.

LogoLogo
On this page
  • Setup
  • Usage Example
  • Observability
Supported Integrations

NeMo Relay Deep Agents Integration

||View as Markdown|
Previous

NeMo Relay LangGraph Integration

Next

About

Use the nemo_relay.integrations.deepagents package to add NeMo Relay observability to Deep Agents applications through the LangChain and LangGraph integration surfaces that Deep Agents builds on.

Setup

Install the Deep Agents integration extra in your application environment.

uv
pip
$uv add "nemo-relay[deepagents]"

The example below uses the NVIDIA LangChain provider. Install that provider extra too if you want to run the example as written:

uv
pip
$uv add "nemo-relay[deepagents,langchain-nvidia]"

Usage Example

1import nemo_relay
2from deepagents import create_deep_agent
3from nemo_relay.integrations.deepagents import (
4 NemoRelayDeepAgentsCallbackHandler,
5 add_nemo_relay_integration,
6)
7
8agent = create_deep_agent(
9 **add_nemo_relay_integration(
10 model="nvidia:nvidia/nemotron-3-nano-30b-a3b",
11 tools=[],
12 skills=["/skills/research/"],
13 name="main-agent",
14 )
15)
16
17input_payload = {
18 "messages": [
19 {
20 "role": "user",
21 "content": "Research recent GPU news",
22 }
23 ]
24}
25
26with nemo_relay.scope.scope("deepagents-request", nemo_relay.ScopeType.Agent):
27 result = agent.invoke(
28 input_payload,
29 config={"callbacks": [NemoRelayDeepAgentsCallbackHandler()]},
30 )
31
32final_message = result["messages"][-1]
33print(f"Final response: {final_message.content}")

Observability

The integration composes the existing NeMo Relay LangChain and LangGraph hooks, then emits Deep Agents-specific marks for configured skills, subagents, and human-in-the-loop lifecycle events.

It captures:

  • LangChain model and tool calls through NeMo Relay managed execution.
  • LangGraph run scopes through callbacks.
  • Human-in-the-loop interrupt and resume marks.
  • Configured skills and subagent summaries at agent-run start.
  • In-process dictionary-style subagents with the same NeMo Relay middleware, so their model and tool calls are captured when Deep Agents invokes them.

Remote graphs or processes still need NeMo Relay instrumentation in that graph or process to capture their internal model and tool calls.

Refer to Observability for details on exporting NeMo Relay observability data to third-party systems.