Skip to main content
OpenClaw supports Exa as a native 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 ~/.openclaw/.env:
~/.openclaw/.env
Restart the gateway after changing its environment.
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:
To store the key in configuration instead of the gateway environment:
Prefer EXA_API_KEY or an OpenClaw SecretRef over committing an API key to a configuration file.

What agents can request

OpenClaw exposes Exa through web_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:
OpenClaw caches web search results for 15 minutes by default. Change tools.web.search.cacheTtlMinutes or set it to 0 when every request must be fresh.

Troubleshooting

Install @openclaw/exa-plugin, restart the gateway, and run openclaw configure --section web again.
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.
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.
Last modified on September 15, 2026