Tavily is a search engine specifically designed for AI agents, providing search, extract, crawl, and map APIs so developers can connect their applications to real-time online information. Tavily’s primary mission is to deliver factual and reliable information from trusted sources, enhancing the accuracy and reliability of AI-generated content and reasoning. TheDocumentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
@langchain/tavily package exposes Tavily’s Search, Extract, Crawl, and Map endpoints as LangChain tools.
Installation and setup
Install the Tavily integration package for LangChain JavaScript:TAVILY_API_KEY:
Tools
TavilySearch
A search tool that returns real-time, LLM-ready results from Tavily’s Search API. See a usage example.TavilyExtract
A tool that returns the cleaned, parsed content of one or more URLs. See a usage example.TavilyCrawl
A tool that performs a structured web traversal from a base URL, with optional natural-language instructions and path/domain filters. See a usage example.TavilyMap
A tool that discovers the URL structure of a site without extracting page content. See a usage example.Components reference
| Class | Abstraction | Import path | Description |
|---|---|---|---|
TavilySearch | Tool | import { TavilySearch } from "@langchain/tavily" | Returns search results from the Tavily Search API. |
TavilyExtract | Tool | import { TavilyExtract } from "@langchain/tavily" | Extracts cleaned content from one or more URLs. |
TavilyCrawl | Tool | import { TavilyCrawl } from "@langchain/tavily" | Crawls a site starting from a base URL with depth and breadth controls. |
TavilyMap | Tool | import { TavilyMap } from "@langchain/tavily" | Discovers the URL structure of a site without extracting page content. |
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

