Exa JS Web Search SDK for AI Applications
exa-js is the official JavaScript SDK for Exa, a web search API built for AI workflows. It gives agents a concrete way to search the web, retrieve page contents, and generate sourced answers from code instead of stitching raw HTTP calls by hand.
Installation
Use the upstream install or setup path that matches your environment:
- npm install exa-js
Basic usage or getting-started notes:
bash
ts
import Exa from "exa-js";
Extracted from upstream docs: https://raw.githubusercontent.com/exa-labs/exa-js/HEAD/README.md