Vercel AI SDK

OutdatedAudit Done
typescriptexa-labs/ai-sdk
View Session

Health

Outdated

Benchmark

31/100

SDK Version

No SDK dependency

Latest: 2.12.1

Audit Status

Audit Done

Started May 11, 2026

Approval

Not requested

Latest Audit Result

The Vercel AI SDK integration package is @exalabs/ai-sdk v2.0.1, but current_sdk_version for exa-js is null because package.json/package-lock contain no exa-js dependency; src/index.ts raw-fetches https://api.exa.ai/search. Latest exa-js on npm is 2.12.1. The integration implements only /search and passes through basic search config plus text/highlights/summary/livecrawl/livecrawlTimeout/subpages/subpageTarget/extras and common filters. It does not implement /contents, /answer, answer streaming, search streaming, or /research; /findSimilar is deprecated per Exa guidance, so its absence is not treated as missing. It also still uses or types deprecated/sunset API features and omits current search/content controls.

Health: outdated
Latest SDK: 2.12.1

Missing Features (8)

  • DEPRECATED: startCrawlDate/endCrawlDate are hard-removed per the Exa changelog (May 1 2026 sunset) but are still exposed in ExaSearchConfig and sent in /search requests.
  • DEPRECATED: highlightScores in ExaSearchResult references a response field removed per the Exa changelog.
  • DEPRECATED: resolvedSearchType in ExaApiResponse references a response field removed per the Exa changelog.
  • DEPRECATED: HighlightsOptions still exposes numSentences and highlightsPerUrl; current guidance is to use maxCharacters instead.
  • Invalid declared category values: pdf, github, and linkedin profile are not valid current /search category enum values and can silently no-op.
  • Missing current category value: people is valid in the current /search API but absent from ExaSearchConfig.
  • Missing current search types: instant, deep-lite, and deep-reasoning are accepted by current exa-js/API docs but not supported by the integration type union.
  • sdk:exa-js (integration uses raw fetch to https://api.exa.ai/search instead of the official exa-js SDK; no exa-js dependency in package.json or package-lock.json).

Marked outdated since May 11, 2026

Missing Features (18)

  • DEPRECATED: startCrawlDate/endCrawlDate are hard-removed per the Exa changelog (May 1 2026 sunset) but are still exposed in ExaSearchConfig and sent in /search requests.
  • DEPRECATED: highlightScores in ExaSearchResult references a response field removed per the Exa changelog.
  • DEPRECATED: resolvedSearchType in ExaApiResponse references a response field removed per the Exa changelog.
  • DEPRECATED: HighlightsOptions still exposes numSentences and highlightsPerUrl; current guidance is to use maxCharacters instead.
  • Invalid declared category values: pdf, github, and linkedin profile are not valid current /search category enum values and can silently no-op.
  • Missing current category value: people is valid in the current /search API but absent from ExaSearchConfig.
  • Missing current search types: instant, deep-lite, and deep-reasoning are accepted by current exa-js/API docs but not supported by the integration type union.
  • sdk:exa-js (integration uses raw fetch to https://api.exa.ai/search instead of the official exa-js SDK; no exa-js dependency in package.json or package-lock.json).
  • Add contents.maxAgeHours as the normative freshness control and reduce emphasis on legacy livecrawl defaults.
  • Add systemPrompt and outputSchema support for synthesized/structured search output.
  • Add stream/streamSearch support for search streaming.
  • Add additionalQueries for deep search variants.
  • Add moderation to search options.
  • Add text options verbosity, includeSections, and excludeSections for advanced extraction control.
  • Add filterEmptyResults to content options if the integration wants parity with current exa-js ContentsOptions.
  • Remove startCrawlDate/endCrawlDate from request options and stop sending them.
  • Remove highlightScores and resolvedSearchType from response types.
  • Replace invalid category values with current documented categories and add people.