web_search provider. Once selected, every OpenClaw agent can use Exa search modes, date filters, and content extraction through the built-in web tool.
Set up Exa
1
Install the Exa plugin
2
Get an Exa API key
Get your Exa API key
Create a key in the dashboard. New accounts start with free credits.
3
Store the key
For a gateway installation, add the key to Restart the gateway after changing its environment.
~/.openclaw/.env:~/.openclaw/.env
4
Select Exa for web search
Run:Choose Exa as the web search provider. OpenClaw stores the provider selection in its configuration and reads the credential from
EXA_API_KEY.Configure manually
You can select Exa directly in OpenClaw’s JSON5 configuration:Prefer
EXA_API_KEY or an OpenClaw SecretRef over committing an API key to a configuration file.What agents can request
OpenClaw exposes Exa throughweb_search.
If
contents is omitted, OpenClaw requests highlights by default. The agent can ask for a different content shape when it needs complete pages or summaries:
tools.web.search.cacheTtlMinutes or set it to 0 when every request must be fresh.
Troubleshooting
OpenClaw does not show Exa as a provider
OpenClaw does not show Exa as a provider
Install
@openclaw/exa-plugin, restart the gateway, and run openclaw configure --section web again.OpenClaw reports a missing Exa key
OpenClaw reports a missing Exa key
Check that
EXA_API_KEY is available to the gateway process, not only your interactive shell. For a gateway install, place it in ~/.openclaw/.env and restart the gateway.Search results appear stale
Search results appear stale
OpenClaw caches results independently of Exa. Lower
tools.web.search.cacheTtlMinutes or set it to 0, then use Exa content freshness options when requesting page contents.Resources
OpenClaw Exa provider
Review the current plugin configuration and tool parameters.
Exa Search
Compare Exa search modes and response formats.
Content freshness
Control indexed and live-retrieved page contents.