通过 inference.sh CLI 使用 Tavily 与 Exa 进行网页搜索和内容提取。支持的工具包括:Tavily 搜索、Tavily 提取、Exa 搜索、Exa 回答、Exa 提取。功能...
Search the web and extract content via inference.sh CLI.

bash
curl -fsSL https://cli.inference.sh | sh && infsh login
# Search the web
infsh app run tavily/search-assistant --input '{"query": "latest AI developments 2024"}'
Install note: The install script only detects your OS/architecture, downloads the matching binary from
dist.inference.sh, and verifies its SHA-256 checksum. No elevated permissions or background processes. Manual install & verification available.
AppApp IDDescriptionSearch Assistanttavily/search-assistantAI-powered search with answersExtracttavily/extractExtract content from URLs
AppApp IDDescriptionSearchexa/searchSmart web search with AIAnswerexa/answerDirect factual answersExtractexa/extractExtract and analyze web content
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/extract --input '{
"urls": ["https://example.com/article1", "https://example.com/article2"]
}'
Extracts clean text and images from multiple URLs.
bash
infsh app run exa/search --input '{
"query": "machine learning frameworks comparison"
}'
Returns highly relevant links with context.
bash
infsh app run exa/answer --input '{
"question": "What is the population of Tokyo?"
}'
Returns direct factual answers.
bash
infsh app run exa/extract --input '{
"url": "https://example.com/research-paper"
}'
Extracts and analyzes web page content.
bash
# 1. Search for information
infsh app run tavily/search-assistant --input '{
"query": "latest developments in quantum computing"
}' > search_results.json
# 2. Analyze with Claude
infsh app run openrouter/claude-sonnet-45 --input '{
"prompt": "Based on this research, summarize the key trends: <search-results>"
}'
bash
# 1. Extract content from URL
infsh app run tavily/extract --input '{
"urls": ["https://example.com/long-article"]
}' > content.json
# 2. Summarize with LLM
infsh app run openrouter/claude-haiku-45 --input '{
"prompt": "Summarize this article in 3 bullet points: <content>"
}'
bash
# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@inference-sh
# LLM models (combine with search for RAG)
npx skills add inference-sh/skills@llm-models
# Image generation
npx skills add inference-sh/skills@ai-image-generation
Browse all apps: infsh app list