Skip to main content

Exa Search

Velaclaw supports Exa AI as a web_search provider. Exa offers neural, keyword, and hybrid search modes with built-in content extraction (highlights, text, summaries).

Get an API key

1

Create an account

Sign up at exa.ai and generate an API key from your dashboard.
2

Store the key

Set EXA_API_KEY in the Gateway environment, or configure via:

Config

Environment alternative: set EXA_API_KEY in the Gateway environment. For a gateway install, put it in ~/.velaclaw/.env.

Tool parameters

Content extraction

Exa can return extracted content alongside search results. Pass a contents object to enable:

Search modes

Notes

  • If no contents option is provided, Exa defaults to { highlights: true } so results include key sentence excerpts
  • Results preserve highlightScores and summary fields from the Exa API response when available
  • Result descriptions are resolved from highlights first, then summary, then full text — whichever is available
  • freshness and date_after/date_before cannot be combined — use one time-filter mode
  • Up to 100 results can be returned per query (subject to Exa search-type limits)
  • Results are cached for 15 minutes by default (configurable via cacheTtlMinutes)
  • Exa is an official API integration with structured JSON responses