Exa is a knowledge API for AI and developers.
Installation and Setup
Exa
integration exists in its own partner package. You can install it with:
EXA_API_KEY
environment variable to your Exa API key.
Retriever
You can use theExaSearchRetriever
in a standard retrieval pipeline. You can import it as follows.
See a usage example.
Tools
You can use Exa as an agent tool as described in the Exa tool calling docs. See a usage example.ExaFindSimilarResults
A tool that queries the Metaphor Search API and gets back JSON.ExaSearchResults
Exa Search tool.Exa Search Retriever
You can retrieve search results as followsAdvanced Features
You can use advanced features like text limits, summaries, and live crawling:Exa Search Results
You can run the ExaSearchResults module as followsExa Find Similar Results
You can run the ExaFindSimilarResults module as followsConfiguration Options
All Exa tools support the following common parameters:num_results
(1-100): Number of search results to returntype
: Search type - “neural”, “keyword”, or “auto”livecrawl
: Live crawling mode - “always”, “fallback”, or “never”summary
: Get AI-generated summaries (True/False or custom prompt dict)text_contents_options
: Dict to limit text length (e.g.{"max_characters": 2000}
)highlights
: Include highlighted text snippets (True/False)