LangChain

OutdatedAudit Done
View Session

Health

Outdated

Benchmark

33/100

SDK Version

1.9.0

Latest: 2.12.1

Audit Status

Audit Done

Started May 11, 2026

Approval

Not requested

Latest Audit Result

LangChain's Exa integration is outdated. Core declared search/text/highlights coverage exists via search_and_contents, and find-similar exists via find_similar_and_contents, but the package pins exa-py below 2.0 and locks 1.9.0 while PyPI latest is 2.12.1. It still uses deprecated/removed fields and params (highlight_scores, start_crawl_date/end_crawl_date, use_autoprompt, and /findSimilar). It does not expose answer, streaming search/answer, modern structured-output parameters, current search types, max_age_hours freshness, or the required x-exa-integration usage-tracking header. /research was not flagged missing because Exa's changelog sunsets that endpoint.

Health: outdated
Current SDK: 1.9.0
Latest SDK: 2.12.1

Missing Features (7)

  • exa-py pinned to >=1.0.8,<2.0.0 (uv.lock resolves 1.9.0) while latest is 2.12.1, blocking the 2.x SDK line.
  • DEPRECATED: highlight_scores field used in retrievers.py and asserted in tests, but the Exa changelog says highlightScores was removed on May 1, 2026.
  • DEPRECATED: start_crawl_date/end_crawl_date parameters are exposed and passed through by the retriever, search tool, and find-similar tool, but the Exa changelog says startCrawlDate/endCrawlDate were removed on May 1, 2026.
  • DEPRECATED: use_autoprompt is exposed in the retriever and search tool despite Exa guidance treating useAutoprompt as deprecated.
  • DEPRECATED: ExaFindSimilarResults uses /findSimilar through find_similar_and_contents; Exa guidance treats /findSimilar as deprecated and recommends /search instead.
  • Missing x-exa-integration header for Exa usage tracking.
  • Search type support is outdated: ExaSearchResults restricts type to auto/deep/fast and ExaSearchRetriever docs list only auto/deep/fast, missing instant, deep-lite, and deep-reasoning.

Marked outdated since May 11, 2026

Missing Features (15)

  • exa-py pinned to >=1.0.8,<2.0.0 (uv.lock resolves 1.9.0) while latest is 2.12.1, blocking the 2.x SDK line.
  • DEPRECATED: highlight_scores field used in retrievers.py and asserted in tests, but the Exa changelog says highlightScores was removed on May 1, 2026.
  • DEPRECATED: start_crawl_date/end_crawl_date parameters are exposed and passed through by the retriever, search tool, and find-similar tool, but the Exa changelog says startCrawlDate/endCrawlDate were removed on May 1, 2026.
  • DEPRECATED: use_autoprompt is exposed in the retriever and search tool despite Exa guidance treating useAutoprompt as deprecated.
  • DEPRECATED: ExaFindSimilarResults uses /findSimilar through find_similar_and_contents; Exa guidance treats /findSimilar as deprecated and recommends /search instead.
  • Missing x-exa-integration header for Exa usage tracking.
  • Search type support is outdated: ExaSearchResults restricts type to auto/deep/fast and ExaSearchRetriever docs list only auto/deep/fast, missing instant, deep-lite, and deep-reasoning.
  • Bump exa-py dependency to the modern 2.x SDK line.
  • Remove highlight_scores metadata handling and update integration tests that assert it.
  • Remove or deprecate start_crawl_date/end_crawl_date parameters.
  • Remove or deprecate use_autoprompt.
  • Replace livecrawl with max_age_hours as the normative freshness control.
  • Update search type hints/docs to include instant, deep-lite, and deep-reasoning.
  • Migrate search_and_contents usage to search(..., contents={...}) as the canonical v2 SDK pattern.
  • Add x-exa-integration: langchain to Exa client initialization.