Skip to main content

Overview

NVIDIA NeMo Agent Toolkit is an open-source framework for building, profiling, and optimizing AI agents and workflows. It provides framework-agnostic architecture, YAML-based configuration, built-in MCP support, and unified monitoring across multi-agent systems.

Hosted MCP

1

Get your API token

  1. Go to Bright Data user settings
  2. Copy your API token (it looks like: 2dceb1aa0***************************)
2

Install NeMo Agent Toolkit

pip install nvidia-nat[mcp]
3

Create workflow configuration

Create a file named brightdata-mcp-config.yml:
function_groups:
  brightdata_web:
    _type: mcp_client
    server:
      transport: streamable-http
      url: "https://mcp.brightdata.com/mcp?token=<YOUR_BRIGHTDATA_API_TOKEN>"
    tool_call_timeout: 120  # Increase timeout for web requests
    auth_flow_timeout: 300
    reconnect_enabled: true
    reconnect_max_attempts: 3


llms:
  nim_llm:
    _type: nim
    model_name: "meta/llama-3.1-8b-instruct"
    temperature: 0.0
    api_key: "${env:NVIDIA_API_KEY}"

workflow:
  _type: react_agent
  tool_names:
    - brightdata_web
  llm_name: nim_llm
  max_iterations: 10
  verbose: true
Replace YOUR_BRIGHTDATA_API_TOKEN with your actual token from Step 1.
4

Set up environment variables

# Set your NVIDIA API key (for NIM or NGC)
export NVIDIA_API_KEY="your-nvidia-api-key"
5

Verify MCP connection

Test the connection to Bright Data’s MCP server:
nat mcp client ping --url "https://mcp.brightdata.com/mcp?token=YOUR_BRIGHTDATA_API_TOKEN"
Expected output:
Successfully connected to MCP server
Server version: 1.0
Available tools: 15
6

List available tools

Inspect the tools provided by Bright Data MCP:
nat mcp client tool list --url "https://mcp.brightdata.com/mcp?token=YOUR_TOKEN"
7

Run your first agent

Execute the workflow with a query:
nat run --config_file brightdata-mcp-config.yml \
  --input "Search for the latest NVIDIA GPU releases and extract their specifications"
The agent will use Bright Data’s web scraping tools to search and extract information.
8

Monitor usage

  1. View your API usage at My Zones in your Bright Data dashboard
  2. Your free tier includes 5,000 requests per month
  3. Monitor tool calls in logs with: nat run --config_file brightdata-mcp-config.yml

Resources