Exa AI search -- neural and keyword search with content extraction
You want to use Exa for web_search
You need an EXA_API_KEY
You want neural search or content extraction
Exa Search
Exa Search
OpenClaw 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
Sign up at [exa.ai](https://exa.ai/) and generate an API key from your
dashboard.
Set `EXA_API_KEY` in the Gateway environment, or configure via:
```bash
openclaw configure --section web
```
Config
{plugins:{entries:{exa:{config:{webSearch:{apiKey:"exa-...",// optional if EXA_API_KEY is set
},},},},},tools:{web:{search:{provider:"exa",},},},}
Environment alternative: set EXA_API_KEY in the Gateway environment.
For a gateway install, put it in ~/.openclaw/.env.
Tool parameters
Parameter
Description
query
Search query (required)
count
Results to return (1-100)
type
Search mode: auto, neural, fast, deep, deep-reasoning, or instant
freshness
Time filter: day, week, month, or year
date_after
Results after this date (YYYY-MM-DD)
date_before
Results before this date (YYYY-MM-DD)
contents
Content extraction options (see below)
Content extraction
Exa can return extracted content alongside search results. Pass a contents
object to enable:
awaitweb_search({query:"transformer architecture explained",type:"neural",contents:{text:true,// full page text
highlights:{numSentences:3},// key sentences
summary:true,// AI summary
},});