tool( )





Pattern
Search - Exa AI (robust)
Search the web using Exa's semantic API and real-time crawling. Includes URL search, content extraction, Wikipedia, Reddit, and news search tools.
View the full pattern on desktop


Problems solved
- Search the web with an Exa tool in a basic agent flow
- Return structured search hits for the model to cite
- Demonstrate Exa search wiring with the AI SDK
Use cases
- Exa search onboarding demos
- Research lookup tools
- Citation-backed answer prototypes
- Semantic web search samples
AI SDK APIs
streamTextconvertToCoreMessagestool(useChat
Tags
aisearchexaweb-searchsemantic-searchresearchtoolsai-sdk
External services
openaiexa
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View the pattern on desktopRelated patterns


Search - Firecrawl (robust)
Search the web using Firecrawl's API and real-time crawling. Includes URL search, content extraction, Wikipedia, Reddit, and news search tools.
aisearch+6
View pattern β


Scrape - Cheerio (lightweight)
Scrape websites using Cheerio's fast HTML parser. Includes URL scraping, website crawling, and content extraction without external API costs.
aiscrape+8
View pattern β



