Exa Web Search Tool
Exa is a powerful semantic web search API that provides intelligent search capabilities for AI agents. It supports neural search, content filtering, and real-time web crawling.Installation
Environment Variables
Quick Start
1
Simple Usage
2
With Configuration
Adjust agent instructions, tool options, and provider settings for production — see the Configuration section below.
Configuration Options
Search Types
Category Filters
company- Company websitesresearch paper- Academic papersnews- News articlespdf- PDF documentsgithub- GitHub repositoriespersonal site- Personal websiteslinkedin profile- LinkedIn profilesfinancial report- Financial documents
Advanced Example
Using with AI SDK Directly
Response Format
Best Practices
Guidelines
Guidelines
- Use appropriate search type -
autoworks well for most cases - Filter by category - Narrow results for specific content types
- Set date ranges - Get recent or historical content as needed
- Use livecrawl - Get fresh content when needed
- Limit results - Start with fewer results and increase if needed
Error Handling
Related Tools
- Tavily Search - Alternative web search
- Perplexity Search - Real-time search with filtering
- Firecrawl - Web scraping and crawling

