DEV Community

InstantClaw
InstantClaw

Posted on • Originally published at instantclaw.co on

Enable Web Search for Your OpenClaw Agent

Enable Web Search for Your OpenClaw Agent

Give your agent access to up-to-date information. No more relying on training data alone.

Overview

Web search lets your OpenClaw agent answer questions about the real world—news, weather, stocks, facts—instead of relying only on its training data. OpenClaw supports several providers: Brave, Perplexity, Gemini, Grok, and Kimi. Pick one and add your API key.

01. Choose a provider and get an API key

OpenClaw supports these web search providers:

Brave: choose "Data for Search" (not "Data for AI"). Gemini uses GEMINI_API_KEY, Grok uses XAI_API_KEY, Kimi uses KIMI_API_KEY or MOONSHOT_API_KEY.

02. Send the prompt to your agent

Open your Telegram or Slack chat with your OpenClaw agent and send one of these:

Brave:

Configure web search using Brave. My Brave Search API key is: [paste your key here]

Enter fullscreen mode Exit fullscreen mode

Perplexity:

Configure web search using Perplexity. My Perplexity API key is: [paste your key here]

Enter fullscreen mode Exit fullscreen mode

Gemini:

Configure web search using Gemini. My Gemini API key is: [paste your key here]

Enter fullscreen mode Exit fullscreen mode

Grok:

Configure web search using Grok. My XAI API key is: [paste your key here]

Enter fullscreen mode Exit fullscreen mode

Kimi:

Configure web search using Kimi. My Kimi API key is: [paste your key here]

Enter fullscreen mode Exit fullscreen mode

Fallback (if the agent doesn't understand): Use config to set tools.web.search with provider [brave|perplexity|gemini|grok|kimi] and my API key [your key]. Enable web search.

Pro tip

You can copy this entire tutorial and send it to your agent. Your agent will walk you through the setup step by step.


Source: InstantClaw · View online

Top comments (0)