> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tavily integrations

> Integrate with Tavily using LangChain Python.

[Tavily](https://tavily.com) 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.

The `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 Python:

<CodeGroup>
  ```bash pip theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
  pip install langchain-tavily
  ```

  ```bash uv theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
  uv add langchain-tavily
  ```
</CodeGroup>

[Set up a Tavily API key](https://app.tavily.com) and set it as an environment variable named `TAVILY_API_KEY`:

```bash theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
export TAVILY_API_KEY="your-api-key"
```

## Tools

### TavilySearch

A search tool that returns real-time, LLM-ready results from Tavily's Search API.

See a [usage example](/oss/python/integrations/tools/tavily_search).

```python theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
from langchain_tavily import TavilySearch
```

### TavilyExtract

A tool that returns the cleaned, parsed content of one or more URLs.

See a [usage example](/oss/python/integrations/tools/tavily_extract).

```python theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
from langchain_tavily import TavilyExtract
```

### 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](/oss/python/integrations/tools/tavily_crawl).

```python theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
from langchain_tavily import TavilyCrawl
```

### TavilyMap

A tool that discovers the URL structure of a site without extracting page content.

See a [usage example](/oss/python/integrations/tools/tavily_map).

```python theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
from langchain_tavily import TavilyMap
```

## Components reference

| Class                                                                                                   | Abstraction | Import path                                  | Description                                                             |
| ------------------------------------------------------------------------------------------------------- | ----------- | -------------------------------------------- | ----------------------------------------------------------------------- |
| [`TavilySearch`](https://reference.langchain.com/python/langchain-tavily/tavily_search/TavilySearch)    | Tool        | `from langchain_tavily import TavilySearch`  | Returns search results from the Tavily Search API.                      |
| [`TavilyExtract`](https://reference.langchain.com/python/langchain-tavily/tavily_extract/TavilyExtract) | Tool        | `from langchain_tavily import TavilyExtract` | Extracts cleaned content from one or more URLs.                         |
| [`TavilyCrawl`](https://reference.langchain.com/python/langchain-tavily/tavily_crawl/TavilyCrawl)       | Tool        | `from langchain_tavily import TavilyCrawl`   | Crawls a site starting from a base URL with depth and breadth controls. |
| [`TavilyMap`](https://reference.langchain.com/python/langchain-tavily/tavily_map/TavilyMap)             | Tool        | `from langchain_tavily import TavilyMap`     | Discovers the URL structure of a site without extracting page content.  |

***

<div className="source-links">
  <Callout icon="terminal-2">
    [Connect these docs](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
  </Callout>

  <Callout icon="edit">
    [Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/oss/python/integrations/providers/tavily.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
  </Callout>
</div>
