langchain-exa
An integration package connecting Exa and LangChain
What it is and what it does
langchain-exa is a LangChain integration package that connects the Exa web search API to LangChain applications. It allows developers to add web search capabilities to AI agents and language model workflows, retrieving clean, structured content from web pages without needing to parse HTML or manage raw search results themselves.
The package wraps Exa's search functionality into LangChain's tool and integration patterns, making it straightforward to incorporate live web search into retrieval-augmented generation (RAG) pipelines, chatbots, or other AI systems. It depends on exa-py for API communication and langchain-core for integration patterns, and requires Python 3.10 or later.
Use it for:
- Add live web search to a LangChain agent so it can retrieve current information during reasoning tasks.
- Build a retrieval-augmented generation (RAG) system that supplements a language model with fresh web content.
- Create a chatbot that can search the web for answers to user questions in real time.
- Integrate web search into a multi-tool AI workflow where search results inform downstream processing.
- Prototype AI applications that need access to up-to-date web information without managing search infrastructure.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Exa's web search API with LangChain, enabling AI applications to search the web and retrieve clean, ready-to-use content from pages.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It fills a clear need for developers building LangChain applications that require web search. Install it if you are building a LangChain agent or RAG system and need to incorporate live web search results.
Install
langchain-exa on PyPI
pip
pip install langchain-exauv
uv add langchain-exapoetry
poetry add langchain-exaInstalling langchain-exa
Before you install
Low install friction with only two runtime dependencies (exa-py and langchain-core). The package is actively maintained with recent commits and has been in production-stable status since its first release in January 2024.
License in practice
MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install langchain-exa
from langchain_exa import ExaSearchResults
search = ExaSearchResults()
results = search.run("your search query")
Requires Python 3.10 or later (supports 3.10–3.14). An Exa API key is needed to authenticate requests to the Exa search service.
Verify before relying
- Exact API authentication mechanism and credential setup process
- Rate limits or quota constraints imposed by Exa service
- Performance characteristics (latency, result quality) compared to other web search integrations
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0.0,>=3.10.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — exa-py, langchain-core |
| Maintenance | actively maintained — 141 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 222,887/month — #9,257 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: langchain_exa-1.1.0-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
langchain-qdrantConnects LangChain applications to Qdrant…
permissive · top 5,000 on PyPI
valyuValyu provides a Python SDK for accessing web…
permissive · top 15,000 on PyPI
exa-pyA Python SDK for the Exa web search API that…
permissive · top 5,000 on PyPI
langchain-chromaConnects LangChain applications to Chroma, a…
permissive · top 5,000 on PyPI
langchain-deepseekIntegrates DeepSeek language models into…
permissive · top 5,000 on PyPI
langchain-openaiProvides LangChain integrations for OpenAI's…
permissive · top 1,000 on PyPI
metaphor-pythonPython SDK for the Exa web search API,…
permissive · top 15,000 on PyPI
langchain-google-communityConnects Google products and services to…
permissive · top 5,000 on PyPI
langchain-google-vertexaiConnects LangChain applications to Google…
permissive · top 1,000 on PyPI
langchain-google-calendar-toolsIntegrates Google Calendar with LangChain to…
unclear · top 15,000 on PyPI