openclaw/docs/exa.md
Tanishq Jaiswal 3ef2705973 feat(web-search): add Exa as a web search provider
Add Exa AI as a third web search provider alongside Brave and Perplexity.
Exa is a search API built for AI agents with optional page text extraction.

Config:
- provider: "exa"
- exa.apiKey (or EXA_API_KEY env var)
- exa.contents (default: true) - include page text
- exa.maxChars (default: 1500) - chars per result
2026-01-27 22:23:50 +05:30

1012 B

summary read_when
Exa AI setup for web_search
You want to use Exa AI for web search
You need an EXA_API_KEY or setup details

Exa AI

Clawdbot can use Exa AI for the web_search tool. Exa is a search API built for AI agents.

Get an API key

  1. Create an account at https://exa.ai/
  2. Generate an API key at https://dashboard.exa.ai/api-keys
  3. Store the key in config (recommended) or set EXA_API_KEY in the Gateway environment.

Config example

{
  tools: {
    web: {
      search: {
        provider: "exa",
        exa: {
          apiKey: "your-exa-api-key"
        }
      }
    }
  }
}

Options

Option Description Default
contents Include page text in results; when false, only URLs and titles are returned true
maxChars Max characters of page text per result; higher values provide more context but use more tokens 1500

See Web tools for the full web_search configuration.