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.
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
- Integration code bugs → this repo's issues
nvidia-nat-corebugs → NAT repo's issues
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nemo_agent_toolkit_tavily-0.1.0.tar.gz.
File metadata
- Download URL: nemo_agent_toolkit_tavily-0.1.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3e2a6c8a9b3941567641fbf58fe3342ccfca6e3d2ee79b9a994f16e86fcf241
|
|
| MD5 |
01f3c6c579be9feaae85ae1b77a31e78
|
|
| BLAKE2b-256 |
2d2dce53a0c0474f16dc1e27c26e3ab770418cd9fce4c61fef7a27956db49174
|
File details
Details for the file nemo_agent_toolkit_tavily-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nemo_agent_toolkit_tavily-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3205f19d6236f33d49009d30a02dcbc7bc23a59f1c36dde6697c77b7a094c461
|
|
| MD5 |
65bd1ccd122005c66e8d9b41607b32e6
|
|
| BLAKE2b-256 |
87c6da68977fe4fb195d5bc00a66d23cc0e920d740b3a068543df7a80aa29ea8
|