Tavily’s Search API is a search engine built specifically for AI agents (LLMs), delivering real-time, accurate, and factual results at speed.Documentation Index
Fetch the complete documentation index at: https://nvd-54.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
概述
This will help you getting started withTavilySearchAPIRetriever retrieval. For detailed documentation of all TavilySearchAPIRetriever features and configurations head to the API reference.
集成详情
| Retriever | Source | Package |
|---|---|---|
TavilySearchAPIRetriever | Information on the web. | @langchain/community |
设置
You will need to populate aTAVILY_API_KEY environment variable with your Tavily API key or pass it into the constructor as apiKey. Obtain a key by signing up on their website.
If you want to get automated tracing from individual queries, you can also set your LangSmith API key by uncommenting below:
安装
This retriever lives in the@langchain/community package:
实例化
Now we can instantiate our retriever:kwargs object.
用法
API 参考
有关所有TavilySearchAPIRetriever 功能和配置的详细文档,请前往 API 参考。
将这些文档连接到 Claude、VSCode 等工具,通过 MCP 获取实时答案。

