web-search
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWeb Search & Extraction
网页搜索与内容提取
Search the web and extract content via inference.sh CLI.
通过inference.sh CLI进行网页搜索与内容提取。
Quick Start
快速开始
bash
curl -fsSL https://cli.inference.sh | sh && infsh loginbash
curl -fsSL https://cli.inference.sh | sh && infsh loginSearch the web
Search the web
infsh app run tavily/search-assistant --input '{"query": "latest AI developments 2024"}'
undefinedinfsh app run tavily/search-assistant --input '{"query": "latest AI developments 2024"}'
undefinedAvailable Apps
可用应用
Tavily
Tavily
| App | App ID | Description |
|---|---|---|
| Search Assistant | | AI-powered search with answers |
| Extract | | Extract content from URLs |
| 应用 | 应用ID | 描述 |
|---|---|---|
| 搜索助手 | | 带答案的AI驱动搜索 |
| 提取工具 | | 从URL提取内容 |
Exa
Exa
| App | App ID | Description |
|---|---|---|
| Search | | Smart web search with AI |
| Answer | | Direct factual answers |
| Extract | | Extract and analyze web content |
| 应用 | 应用ID | 描述 |
|---|---|---|
| 搜索 | | AI驱动的智能网页搜索 |
| 答案生成 | | 直接返回事实性答案 |
| 提取工具 | | 提取并分析网页内容 |
Examples
示例
Tavily Search
Tavily 搜索
bash
infsh app run tavily/search-assistant --input '{
"query": "What are the best practices for building AI agents?"
}'Returns AI-generated answers with sources and images.
bash
infsh app run tavily/search-assistant --input '{
"query": "What are the best practices for building AI agents?"
}'返回带来源和图片的AI生成答案。
Tavily Extract
Tavily 提取
bash
infsh app run tavily/extract --input '{
"urls": ["https://example.com/article1", "https://example.com/article2"]
}'Extracts clean text and images from multiple URLs.
bash
infsh app run tavily/extract --input '{
"urls": ["https://example.com/article1", "https://example.com/article2"]
}'从多个URL提取干净的文本和图片。
Exa Search
Exa 搜索
bash
infsh app run exa/search --input '{
"query": "machine learning frameworks comparison"
}'Returns highly relevant links with context.
bash
infsh app run exa/search --input '{
"query": "machine learning frameworks comparison"
}'返回带上下文的高相关性链接。
Exa Answer
Exa 答案生成
bash
infsh app run exa/answer --input '{
"question": "What is the population of Tokyo?"
}'Returns direct factual answers.
bash
infsh app run exa/answer --input '{
"question": "What is the population of Tokyo?"
}'直接返回事实性答案。
Exa Extract
Exa 提取
bash
infsh app run exa/extract --input '{
"url": "https://example.com/research-paper"
}'Extracts and analyzes web page content.
bash
infsh app run exa/extract --input '{
"url": "https://example.com/research-paper"
}'提取并分析网页内容。
Workflow: Research + LLM
工作流:调研 + LLM
bash
undefinedbash
undefined1. Search for information
1. Search for information
infsh app run tavily/search-assistant --input '{
"query": "latest developments in quantum computing"
}' > search_results.json
infsh app run tavily/search-assistant --input '{
"query": "latest developments in quantum computing"
}' > search_results.json
2. Analyze with Claude
2. Analyze with Claude
infsh app run openrouter/claude-sonnet-45 --input '{
"prompt": "Based on this research, summarize the key trends: <search-results>"
}'
undefinedinfsh app run openrouter/claude-sonnet-45 --input '{
"prompt": "Based on this research, summarize the key trends: <search-results>"
}'
undefinedWorkflow: Extract + Summarize
工作流:提取 + 总结
bash
undefinedbash
undefined1. Extract content from URL
1. Extract content from URL
infsh app run tavily/extract --input '{
"urls": ["https://example.com/long-article"]
}' > content.json
infsh app run tavily/extract --input '{
"urls": ["https://example.com/long-article"]
}' > content.json
2. Summarize with LLM
2. Summarize with LLM
infsh app run openrouter/claude-haiku-45 --input '{
"prompt": "Summarize this article in 3 bullet points: <content>"
}'
undefinedinfsh app run openrouter/claude-haiku-45 --input '{
"prompt": "Summarize this article in 3 bullet points: <content>"
}'
undefinedUse Cases
适用场景
- Research: Gather information on any topic
- RAG: Retrieval-augmented generation
- Fact-checking: Verify claims with sources
- Content aggregation: Collect data from multiple sources
- Agents: Build research-capable AI agents
- 调研:收集任意主题的信息
- RAG:检索增强生成
- 事实核查:通过来源验证主张
- 内容聚合:从多个来源收集数据
- Agent开发:构建具备调研能力的AI Agent
Related Skills
相关技能
bash
undefinedbash
undefinedFull platform skill (all 150+ apps)
Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@inference-sh
npx skills add inference-sh/skills@inference-sh
LLM models (combine with search for RAG)
LLM models (combine with search for RAG)
npx skills add inference-sh/skills@llm-models
npx skills add inference-sh/skills@llm-models
Image generation
Image generation
npx skills add inference-sh/skills@ai-image-generation
Browse all apps: `infsh app list`npx skills add inference-sh/skills@ai-image-generation
浏览所有应用:`infsh app list`Documentation
文档
- Adding Tools to Agents - Equip agents with search
- Building a Research Agent - LLM + search integration guide
- Tool Integration Tax - Why pre-built tools matter
- 为Agent添加工具 - 为Agent赋予搜索能力
- 构建调研Agent - LLM + 搜索集成指南
- 工具集成成本 - 预构建工具的重要性