Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 2.54 KB

File metadata and controls

62 lines (41 loc) · 2.54 KB

Integrating Existing LangGraph Agents with NVIDIA NeMo Agent Toolkit

Complexity: 🟨 Intermediate

This example demonstrates how to integrate any existing LangGraph agent with NeMo Agent Toolkit using the langgraph_wrapper workflow type.

We use LangGraph's Deep Research agent as a comprehensive example—a sophisticated multi-agent system for conducting web research with planning, sub-agent coordination, and synthesis. The integration techniques shown here apply to any LangGraph agent.

What You'll Learn

The included Jupyter notebook (langgraph_deep_research.ipynb) provides a complete walkthrough:

  1. Running an existing LangGraph agent through NeMo Agent Toolkit without code changes
  2. Making agents configurable with different components (LLMs, tools, embedders)
  3. Adding Phoenix telemetry for observability
  4. Evaluating agent performance with automated metrics

Getting Started

Prerequisites

Ensure NeMo Agent Toolkit is installed. If not, follow the Installation Guide.

API Keys

  • NVIDIA Build API Key: Required for section 3.0
  • Tavily API Key: Required for web search functionality
  • Anthropic API Key (optional): Required only for Section 2.0, which runs the original Deep Research agent with its default Claude model. You can skip Section 2.0 and start directly from Section 3.0 if you don't have an Anthropic API key.

Launch the Notebook

From the repository root, run:

uv run jupyter notebook examples/frameworks/auto_wrapper/langchain_deep_research/langgraph_deep_research.ipynb

The notebook will guide you through:

  • Setting up API keys (NVIDIA Build, Tavily)
  • Installing dependencies automatically
  • Running the agent with various configurations
  • Adding telemetry and evaluation

All paths in the notebook are relative to the repository root, so make sure to launch from there.