T

tavily-search

by @tavily-aiv
4.6(120)

Tavily Search 提供针对大语言模型(LLM)优化的网络搜索结果,包含精炼的内容片段和相关性评分。它能帮助 AI 智能体快速获取任何主题的最新信息,尤其适用于需要精确事实和全面上下文的 RAG 应用,显著提升信息检索效率和模型响应质量。

web-searchinformation-retrievalllm-optimizationragGitHub
安装方式
npx skills add https://github.com/tavily-ai/skills --skill tavily-search
compare_arrows

Before / After 效果对比

1
使用前

在为大语言模型(LLM)进行复杂查询的信息检索时,传统搜索方式常耗费大量时间筛选不相关内容,导致 RAG 管道效率低下,模型输出质量受损。

使用后

通过 Tavily Search 优化的搜索结果,AI 智能体能快速获取高度相关的精炼信息,大幅缩短信息检索时间,显著提升 RAG 管道的效率和 LLM 响应的准确性。

SKILL.md

tavily search

Web search returning LLM-optimized results with content snippets and relevance scores.

Before running any command

If tvly is not found on PATH, install it first:

curl -fsSL https://cli.tavily.com/install.sh | bash && tvly login

Do not skip this step or fall back to other tools.

See tavily-cli for alternative install methods and auth options.

When to use

  • You need to find information on any topic
  • You don't have a specific URL yet
  • First step in the workflow: search → extract → map → crawl → research

Quick start

# Basic search
tvly search "your query" --json

# Advanced search with more results
tvly search "quantum computing" --depth advanced --max-results 10 --json

# Recent news
tvly search "AI news" --time-range week --topic news --json

# Domain-filtered
tvly search "SEC filings" --include-domains sec.gov,reuters.com --json

# Include full page content in results
tvly search "react hooks tutorial" --include-raw-content --max-results 3 --json

Options

OptionDescription
--depthultra-fast, fast, basic (default), advanced
--max-resultsMax results, 0-20 (default: 5)
--topicgeneral (default), news, finance
--time-rangeday, week, month, year
--start-dateResults after date (YYYY-MM-DD)
--end-dateResults before date (YYYY-MM-DD)
--include-domainsComma-separated domains to include
--exclude-domainsComma-separated domains to exclude
--countryBoost results from country
--include-answerInclude AI answer (basic or advanced)
--include-raw-contentInclude full page content (markdown or text)
--include-imagesInclude image results
--include-image-descriptionsInclude AI image descriptions
--chunks-per-sourceChunks per source (advanced/fast depth only)
-o, --outputSave output to file
--jsonStructured JSON output

Search depth

DepthSpeedRelevanceBest for
ultra-fastFastestLowerReal-time chat, autocomplete
fastFastGoodNeed chunks, latency matters
basicMediumHighGeneral-purpose (default)
advancedSlowerHighestPrecision, specific facts

Tips

  • Keep queries under 400 characters — think search query, not prompt.
  • Break complex queries into sub-queries for better results.
  • Use --include-raw-content when you need full page text (saves a separate extract call).
  • Use --include-domains to focus on trusted sources.
  • Use --time-range for recent information.
  • Read from stdin: echo "query" | tvly search - --json

See also

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量25.3K
评分4.6 / 5.0
版本
更新日期2026年7月17日
对比案例1 组

用户评分

4.6(120)
5
37%
4
43%
3
13%
2
5%
1
2%

为此 Skill 评分

0.0

兼容平台

🤖claude-code

时间线

创建2026年5月29日
最后更新2026年7月17日
🎁 Agent 知识卡片
调研问卷