Skip to main content
TavilyTools enable an Agent to search the web using the Tavily API.

Prerequisites

The following example requires the tavily-python and openai libraries and an API key from Tavily.

Example

The following agent will run a search on Tavily for “language models” and print the response.
cookbook/91_tools/tavily_tools.py

Toolkit Params

Toolkit Functions

Developer Resources