Web Search

通过 Tavily 和 Exa 实现 AI 驱动的网络搜索与内容提取,支持研究、RAG 等场景。

已扫描
适合谁
研究人员、内容创作者
不适合谁
无网络环境用户、需要本地离线处理敏感数据者
国内可用性
需网络配置。可能需要网络配置或第三方服务可访问。
安装难度
新手友好(★☆☆)。基于终端操作、依赖、API Key 和本地环境要求的初步判断。

安装与下载

openclaw skills install @okaris/web-search-2

Skill 说明

命令、参数、文件名以原文为准

Web Search & Extraction

通过 [inference.sh](https://inference.sh) CLI 搜索网络并提取内容。

![Web Search & Extraction](https://cloud.inference.sh/app/files/u/4mg21r6ta37mpaz6ktzwtt8krr/01kgndqjxd780zm2j3rmada6y8.jpeg)

快速开始

curl -fsSL https://cli.inference.sh | sh && infsh login

# 搜索网络
infsh app run tavily/search-assistant --input '{"query": "latest AI developments 2024"}'

安装说明:[安装脚本](https://cli.inference.sh) 仅检测您的操作系统和架构,从 dist.inference.sh 下载匹配的二进制文件,并验证其 SHA-256 校验值。无需提升权限或后台进程。[手动安装与校验方式](https://dist.inference.sh/cli/checksums.txt) 可用。

可用应用

Tavily

应用应用 ID描述
搜索助手tavily/search-assistant基于 AI 的搜索,提供答案
提取工具tavily/extract从 URL 中提取内容

Exa

应用应用 ID描述
搜索exa/search带 AI 的智能网页搜索
回答exa/answer直接获取事实性答案
提取exa/extract提取并分析网页内容

使用示例

Tavily 搜索

infsh app run tavily/search-assistant --input '{
  "query": "What are the best practices for building AI agents?"
}'

返回由 AI 生成的答案,包含来源和图片。

Tavily 提取

infsh app run tavily/extract --input '{
  "urls": ["https://example.com/article1", "https://example.com/article2"]
}'

从多个 URL 中提取干净文本和图片。

Exa 搜索

infsh app run exa/search --input '{
  "query": "machine learning frameworks comparison"
}'

返回高度相关的链接及其上下文信息。

Exa 回答

infsh app run exa/answer --input '{
  "question": "What is the population of Tokyo?"
}'

返回直接的事实性答案。

Exa 提取

infsh app run exa/extract --input '{
  "url": "https://example.com/research-paper"
}'

提取并分析网页内容。

工作流:研究 + 大语言模型

# 1. 搜索信息
infsh app run tavily/search-assistant --input '{
  "query": "latest developments in quantum computing"
}' > search_results.json

# 2. 使用 Claude 分析
infsh app run openrouter/claude-sonnet-45 --input '{
  "prompt": "Based on this research, summarize the key trends: <search-results>"
}'

工作流:提取 + 总结

# 1. 从 URL 提取内容
infsh app run tavily/extract --input '{
  "urls": ["https://example.com/long-article"]
}' > content.json

# 2. 使用 LLM 总结
infsh app run openrouter/claude-haiku-45 --input '{
  "prompt": "Summarize this article in 3 bullet points: <content>"
}'

典型应用场景

  • 研究:收集任意主题的信息
  • RAG:检索增强生成
  • 事实核查:通过来源验证说法
  • 内容聚合:从多个来源收集数据
  • 智能体构建:打造具备研究能力的 AI 智能体

相关技能

# 完整平台技能(包含 150+ 个应用)
npx skills add inference-sh/skills@inference-sh

# 大语言模型(可与搜索结合用于 RAG)
npx skills add inference-sh/skills@llm-models

# 图像生成
npx skills add inference-sh/skills@ai-image-generation

浏览所有应用:infsh app list

文档资料

  • [为智能体添加工具](https://inference.sh/docs/agents/adding-tools) - 为智能体配备搜索功能
  • [构建研究型智能体](https://inference.sh/blog/guides/research-agent) - LLM 与搜索集成指南
  • [工具集成成本](https://inference.sh/blog/tools/integration-tax) - 为何预构建工具至关重要
O
@okaris

已收录 9 个 Skill

相关推荐