Web Search





Pattern
@exalabs webSearch Tool
Search with Exa AI SDK's webSearch tool and Anthropic Claude Sonnet 4.5. Uses @exalabs/ai-sdk for seamless integration.
IntermediateNov 2025View the full pattern on desktop


Problems solved
- Call Exa's zero-config webSearch tool from @exalabs/ai-sdk
- Stream Claude responses with automatic source attribution
- Avoid hand-rolled Exa client wiring for basic search
Use cases
- Quick-start Exa search agents
- Citation-backed research chats
- Content discovery prototypes
- Provider-packaged tool demos
AI SDK APIs
streamTextstepCountIsconvertToModelMessagestool(
Tags
aiwebsearchexasearch-toolresearchcontent-discoverysemantic-searchlive-crawlingai-sdk-integrationanthropicclaudetype-safe
Requirements
- Node.js
- 24+
- Memory
- 512MB
- Other
- Exa API key
- Anthropic API key
External services
exaanthropic
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View the pattern on desktopRelated patterns


Exa Web Search Tool
Search with Exa's semantic API and real-time crawling. Includes live content extraction and relevance scoring.
aiwebsearch+8
View pattern β


Claude Web Search Tool
Search the web with Claude AI. Includes result filtering, multiple search types, and language support.
aiwebsearch+7
View pattern β



