HomeTutorials › Tools: Background & Web
Tools: Background & Web

Web Search

#059 0:13 Part of the Rysh video series

Ask the agent to search the web -- web_search hits the Brave Search API, no approval needed.

Web Search — 0:13 walkthrough

What you'll see

  1. Launch rysh (with brave_api_key set); double-Esc to prompt mode.
  2. Prompt: "search the web for the latest Go release version."
  3. The web_search tool queries the Brave Search API and the agent summarizes results in the pane; read-only, no approval.
  4. Narrate: web_search is enabled only when brave_api_key (or RYSH_BRAVE_API_KEY) is configured.

Commands shown

rysh
search the web for the latest Go release version

Keys used

EnterEscape

Transcript

0:00Ask the agent to search the web -- web_search hits the Brave Search API, no approval needed.

0:03Start rysh. Make sure your Brave API key is set so web_search is enabled.

0:08Double-press Escape for prompt mode.

0:13Ask it to look something up. The web_search tool queries the Brave Search API and feeds the results back to the agent, which summarizes them right in the pane. It's read-only, so it runs without an approval prompt.

0:32Web search is off until you set brave_api_key in your config, or the RYSH_BRAVE_API_KEY environment variable -- then every pane can reach the web.

0:37The agent's reach extends past your machine -- straight to the web.

Key takeaway
web_search brings live internet results into any pane via the Brave Search API, enabled by brave_api_key, with no approval required.