Skip to main content

Tavily integration for NVIDIA NeMo Agent Toolkit

Project description

nemo-agent-toolkit-tavily

Tavily integration for NVIDIA NeMo Agent Toolkit. Provides web search, URL extraction, site crawling, URL discovery, and deep research tools — framework-agnostic and auto-discovered by NAT at runtime.

Install

pip install nemo-agent-toolkit-tavily
# or
uv add nemo-agent-toolkit-tavily

NAT auto-discovers the plugin via importlib.metadata.entry_points(). No additional NAT configuration required.

Compatibility

This package supports NVIDIA NeMo Agent Toolkit >=1.8,<2.0.

Configuration

TavilyToolsGroupConfig

Field Type Default Description
api_key str (secret) "" Tavily API key. Falls back to TAVILY_API_KEY env var.
research_timeout_seconds float | None 900.0 HTTP timeout for the research SSE stream. None disables the client-side cap.
research_include_trace bool False Include intermediate tool_call events from the research stream in the output (under trace). Useful for debugging.

Tool selection

Use include and exclude on the function group to control which tools reach the agent:

function_groups:
  tavily:
    _type: tavily
    include: [search, extract]   # only expose search + extract
function_groups:
  tavily:
    _type: tavily
    exclude: [crawl, map]        # expose everything except crawl + map

Available Tools

Tool Description
tavily__search Search the web for up-to-date information
tavily__extract Extract clean text/markdown from URLs
tavily__crawl Crawl a website with configurable depth/breadth
tavily__map Discover URLs on a domain without extracting content
tavily__research Deep multi-source research with citations (30–120s)

Minimal Workflow

function_groups:
  tavily:
    _type: tavily

llms:
  my_llm:
    _type: litellm
    model_name: anthropic/claude-sonnet-4-6

workflow:
  _type: react_agent
  llm_name: my_llm
  tool_names:
    - tavily   # auto-expands to tavily__search, __extract, __crawl, __map, __research
export TAVILY_API_KEY=tvly-...
export ANTHROPIC_API_KEY=...

uv run nat run --config_file config.yml --input "What is the weather in San Francisco?"

Bug Routing

Development

git clone https://github.com/tavily-ai/NeMo-Agent-Toolkit-tavily.git
cd NeMo-Agent-Toolkit-tavily
uv sync --extra test
uv run pytest tests/ -v

License

Apache 2.0 — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nemo_agent_toolkit_tavily-0.2.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nemo_agent_toolkit_tavily-0.2.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file nemo_agent_toolkit_tavily-0.2.0.tar.gz.

File metadata

  • Download URL: nemo_agent_toolkit_tavily-0.2.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nemo_agent_toolkit_tavily-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e8fd1d4267418de6467181945554f9ad29ed71420f703787c160a21216c2ac81
MD5 0ed93eb453f9b1a4345c90b08cf93753
BLAKE2b-256 1ca41c98180b6edc314f07c3b108847c38a6b9a4647e256beac2167231e81ff3

See more details on using hashes here.

File details

Details for the file nemo_agent_toolkit_tavily-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: nemo_agent_toolkit_tavily-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nemo_agent_toolkit_tavily-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccdb865b28bbdedce0f03b2970ae2c77304e51af8e263a37a40730dfafff4568
MD5 375f2077ad1c85da9bc62dea6b4854f0
BLAKE2b-256 1fc799240556cba22282eb59d6b0ce0ee50054d4b34abf6b1ab53c3086733919

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page