Parallel Web Tools
Parallel provides best-in-class tools to search and extract context from the web. Results are compressed for optimal token efficiency at inference time.Installation
Environment Variables
Available Tools
| Tool | Description |
|---|---|
searchTool | Search the web with token-efficient results |
extractTool | Extract content from URLs |
Quick Start
Using with AI SDK Directly
Search Tool
Extract Tool
Token Efficiency
Parallel compresses web results for optimal token usage:- Semantic compression - Extracts relevant content based on search objective
- Token-dense excerpts - Returns compressed, information-rich snippets
- Smart truncation - Intelligently limits content length
Advanced Example
Response Format
Best Practices
- Use semantic objectives - Describe what you’re looking for
- Limit results - Fewer results = faster responses
- Combine with extract - Search first, then extract full content
- Trust compression - Results are optimized for LLM consumption
Related Tools
- Exa - Semantic web search
- Tavily - Web search and extraction
- Perplexity - Real-time search

