NeMo Relay Deep Agents Integration
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
The example below uses the NVIDIA LangChain provider. Install that provider extra too if you want to run the example as written:
uv
pip
Usage Example
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.