Skip to main content

Exa Search

Exa's search integration exists in its own partner package. You can install it with:

%pip install -qU langchain-exa

In order to use the package, you will also need to set the EXA_API_KEY environment variable to your Exa API key.


You can use the ExaSearchRetriever in a standard retrieval pipeline. You can import it as follows

from langchain_exa import ExaSearchRetriever
API Reference:ExaSearchRetriever


You can use Exa as an agent tool as described in the Exa tool calling docs.

Was this page helpful?

You can also leave detailed feedback on GitHub.