Tavily AI Search
AI-optimized web search using Tavily Search API. Use when you need comprehensive web research, current events lookup, domain-specific search, or AI-generated answer summaries. Tavily is optimized for LLM consumption with clean structured results, answer generation, and raw content extraction. Best for research tasks, news queries, fact-checking, and gathering authoritative sources.
Rank
62
Safety
84
Downloads
37k
Updated
May 16, 2026
Version
1.0.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 36.7K downloads reported by the source. Last updated 5/16/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed May 16, 2026
- Protocol compatibility
- OpenClawcompatibility · observed May 16, 2026
- Adoption signal
- 36.7K downloadsadoption · observed May 16, 2026
- Latest release
- 1.0.0release · observed Jan 24, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install publishers:bert-builder:tavily- Install using `clawhub skill install publishers:bert-builder:tavily` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/bert-builder/tavily before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-bert-builder-tavily-2/snapshot"
Documentation
CLAWHUB
16,200 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: tavily
description: AI-optimized web search using Tavily Search API. Use when you need comprehensive web research, current events lookup, domain-specific search, or AI-generated answer summaries. Tavily is optimized for LLM consumption with clean structured results, answer generation, and raw content extraction. Best for research tasks, news queries, fact-checking, and gathering authoritative sources.
---
# Tavily AI Search
## Overview
Tavily is a search engine specifically optimized for Large Language Models and AI applications. Unlike traditional search APIs, Tavily provides AI-ready results with optional answer generation, clean content extraction, and domain filtering capabilities.
**Key capabilities:**
- AI-generated answer summaries from search results
- Clean, structured results optimized for LLM processing
- Fast (`basic`) and comprehensive (`advanced`) search modes
- Domain filtering (include/exclude specific sources)
- News-focused search for current events
- Image search with relevant visual content
- Raw content extraction for deeper analysis
## Architecture
```mermaid
graph TB
A[User Query] --> B{Search Mode}
B -->|basic| C[Fast Search<br/>1-2s response]
B -->|advanced| D[Comprehensive Search<br/>5-10s response]
C --> E[Tavily API]
D --> E
E --> F{Topic Filter}
F -->|general| G[Broad Web Search]
F -->|news| H[News Sources<br/>Last 7 days]
G --> I[Domain Filtering]
H --> I
I --> J{Include Domains?}
J -->|yes| K[Filter to Specific Domains]
J -->|no| L{Exclude Domains?}
K --> M[Search Results]
L -->|yes| N[Remove Unwanted Domains]
L -->|no| M
N --> M
M --> O{Response Options}
O --> P[AI Answer<br/>Summary]
O --> Q[Structured Results<br/>Title, URL, Content, Score]
O --> R[Images<br/>if requested]
O --> S[Raw HTML Content<br/>if requested]
P --> T[Return to Agent]
Q --> T
R --> T
S --> T
style E fill:#4A90E2
style P fill:#7ED321
style Q fill:#7ED321
style R fill:#F5A623
style S fill:#F5A623
```
## Quick Start
### Basic Search
```bash
# Simple query with AI answer
scripts/tavily_search.py "What is quantum computing?"
# Multiple results
scripts/tavily_search.py "Python best practices" --max-results 10
```
### Advanced Search
```bash
# Comprehensive research mode
scripts/tavily_search.py "Climate change solutions" --depth advanced
# News-focused search
scripts/tavily_search.py "AI developments 2026" --topic news
```
### Domain Filtering
```bash
# Search only trusted domains
scripts/tavily_search.py "Python tutorials" \
--include-domains python.org docs.python.org realpython.com
# Exclude low-quality sources
scripts/tavily_search.py "How to code" \
--exclude-domains w3schools.com geeksforgeeks.org
```
### With Images
```bash
# Include relevant images
scripts/tavily_search.py "Eiffel Tower architecture" --images
```
## Search Modes
### Basic vs Advanced_meta.json
{
"ownerId": "kn7dak197zp1gy590j60ct8r7h7zte7t",
"slug": "tavily",
"version": "1.0.0",
"publishedAt": 1769287990264
}references/api-reference.md
# Tavily API Reference
## Overview
Tavily is a search engine optimized for Large Language Models (LLMs) and AI applications. It provides:
- **AI-optimized results**: Results specifically formatted for LLM consumption
- **Answer generation**: Optional AI-generated summaries from search results
- **Raw content extraction**: Clean, parsed HTML content from sources
- **Domain filtering**: Include or exclude specific domains
- **Image search**: Relevant images for visual context
- **Topic specialization**: General or news-focused search
## API Key Setup
1. Visit https://tavily.com and sign up
2. Generate an API key from your dashboard
3. Store the key securely:
- **Recommended**: Add to Clawdbot config under `skills.entries.tavily.apiKey`
- **Alternative**: Set `TAVILY_API_KEY` environment variable
## Search Parameters
### Required
- `query` (string): The search query
### Optional
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `search_depth` | string | `"basic"` | `"basic"` (fast, ~1-2s) or `"advanced"` (comprehensive, ~5-10s) |
| `topic` | string | `"general"` | `"general"` or `"news"` (current events, last 7 days) |
| `max_results` | int | 5 | Number of results (1-10) |
| `include_answer` | bool | true | Include AI-generated answer summary |
| `include_raw_content` | bool | false | Include cleaned HTML content of sources |
| `include_images` | bool | false | Include relevant images |
| `include_domains` | list[str] | null | Only search these domains |
| `exclude_domains` | list[str] | null | Exclude these domains |
## Response Format
```json
{
"success": true,
"query": "What is quantum computing?",
"answer": "Quantum computing is a type of computing that uses...",
"results": [
{
"title": "Quantum Computing Explained",
"url": "https://example.com/quantum",
"content": "Quantum computing leverages...",
"score": 0.95,
"raw_content": null
}
],
"images": ["https://example.com/image.jpg"],
"response_time": "1.67",
"usage": {
"credits": 1
}
}
```
## Use Cases & Best Practices
### When to Use Tavily
1. **Research tasks**: Comprehensive information gathering
2. **Current events**: News-focused queries with `topic="news"`
3. **Domain-specific search**: Use `include_domains` for trusted sources
4. **Visual content**: Enable `include_images` for visual context
5. **LLM consumption**: Results are pre-formatted for AI processing
### Search Depth Comparison
| Depth | Speed | Results Quality | Use Case |
|-------|-------|-----------------|----------|
| `basic` | 1-2s | Good | Quick lookups, simple facts |
| `advanced` | 5-10s | Excellent | Research, complex topics, comprehensive analysis |
**Recommendation**: Start with `basic`, use `advanced` for research tasks.
### Domain Filtering
**Include domains** (allowlist):
```python
include_domains=["python.org", "github.com", "stackoverflow.com"]
```
Only search these specific domains - usefulactivepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"label": "Vendor",
"value": "Clawhub",
"category": "vendor",
"href": "https://clawhub.ai/bert-builder/tavily",
"sourceUrl": "https://clawhub.ai/bert-builder/tavily",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-05-16T06:12:10.068Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "protocols",
"label": "Protocol compatibility",
"value": "OpenClaw",
"category": "compatibility",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-bert-builder-tavily-2/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-bert-builder-tavily-2/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-05-16T06:12:10.068Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "traction",
"label": "Adoption signal",
"value": "36.7K downloads",
"category": "adoption",
"href": "https://clawhub.ai/bert-builder/tavily",
"sourceUrl": "https://clawhub.ai/bert-builder/tavily",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-05-16T06:12:10.068Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "latest_release",
"label": "Latest release",
"value": "1.0.0",
"category": "release",
"href": "https://clawhub.ai/bert-builder/tavily",
"sourceUrl": "https://clawhub.ai/bert-builder/tavily",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-01-24T20:53:10.264Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-bert-builder-tavily-2/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-bert-builder-tavily-2/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "Initial release: AI-optimized web search with basic/advanced modes, domain filtering, news search, image search, and AI answer generation.",
"href": "https://clawhub.ai/bert-builder/tavily",
"sourceUrl": "https://clawhub.ai/bert-builder/tavily",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-01-24T20:53:10.264Z",
"isPublic": true,
"metadata": {}
}
]
}Record generated Oct 9, 2026.
