# Brave Search for AI agents. One API key, ready-made tools.

> Search the web, news, images and videos from Brave's independent index, reached with your Agent200 API key.

- Page: https://www.agent200.com/tools/brave-search/
- Category: Search and data
- Authentication: Agent200 API key
- Identifier in code: `brave_search`
- Create an API key: https://agent200.com/platform/apikeys/
- Updated: 2026-11-15

## Instructions for AI agents

Connector: Brave Search, through Agent200. In code: "brave_search".
What it does: Search the web, news, images and videos from Brave's independent index, reached with your Agent200 API key.
Page: https://www.agent200.com/tools/brave-search/

1. Get an Agent200 API key. If the developer has none, send them to https://agent200.com/platform/apikeys/ and ask them to choose "Create an API key". Read the key from the AGENT200_API_KEY environment variable. Never ask for it in chat, and never write it into code, prompts or logs.
2. Agent200 reaches Brave Search with the project's Agent200 API key. No separate Brave Search key is needed.
3. Read tools: brave_search_query_web, brave_search_query_news, brave_search_query_images, brave_search_query_videos, brave_search_get_suggestions. Name "brave_search" in the tools of a request; the model decides which tool to call.
4. Stay within the project's settings. If a tool is turned off or a call is refused, tell the user. Do not work around it.
5. Before a write, confirm with the user, unless they asked for that exact change.
6. For setup with a specific framework, follow its guide:
   https://www.agent200.com/tools/brave-search/framework/claude/
   https://www.agent200.com/tools/brave-search/framework/chatgpt/
   https://www.agent200.com/tools/brave-search/framework/claude-code/
   https://www.agent200.com/tools/brave-search/framework/muse/
   https://www.agent200.com/tools/brave-search/framework/grok-bot/
   https://www.agent200.com/tools/brave-search/framework/openai-dots/
   https://www.agent200.com/tools/brave-search/framework/claude-duet/
   https://www.agent200.com/tools/brave-search/framework/hermes-agent/
   https://www.agent200.com/tools/brave-search/framework/openclaw/

The code on the connector page is a conceptual example of the SDK. SDK reference: https://docs.igpt.ai/

## About

With the Brave Search connector, your agent searches the web, news, images and videos from an independent index, and gets query suggestions as it goes. It is reached with your project's Agent200 API key, so there is no separate Brave Search key to collect, store or rotate.

Brave Search is a privacy-focused search engine that runs on its own independent index of the web.

## Brave Search tools

- **Search the web** (`brave_search_query_web`, read): Get ranked web results with titles, snippets and URLs.
- **Search news** (`brave_search_query_news`, read): Find recent news articles, filtered by freshness.
- **Search images** (`brave_search_query_images`, read): Find images that match a query.
- **Search videos** (`brave_search_query_videos`, read): Find videos that match a query.
- **Suggest queries** (`brave_search_get_suggestions`, read): Get autocomplete suggestions for a partial query.

## Limits you can set

**Turn single tools on or off.** Allow `brave_search_query_web` and `brave_search_query_news`, and switch off the image and video tools if your agent works with text only.

**Restrict what the agent reaches.** Choose the endpoints a project may use. A call outside them is refused.

## Get started

### Step 1: Set up the SDK

Add the Agent200 SDK to the codebase you already have and authenticate with your API key. The key covers every connector enabled for the project.

File `agent.js`:

```js
// One Agent200 API key covers every connector enabled for the project.
const agent200 = new Agent200({
  apiKey: process.env.AGENT200_API_KEY,
});
```

(Conceptual example of the Agent200 SDK.)

### Step 2: Run with the Brave Search tools

Name the model and the tools. The model decides which Brave Search tools to call, and Agent200 executes them with your Agent200 API key.

File `run.js`:

```js
const result = await agent200
  .user("user_123")
  .run({
    model: "openai/gpt-5.6-sol",
    input: "What are people saying about the new iPhone this week",
    tools: ["brave_search"],
  });

console.log(result.output);
```

(Conceptual example of the Agent200 SDK.)

## Example requests

- "What are people saying about the new iPhone this week"
- "Find the official docs for the Stripe webhooks API"
- "Show me recent news about our competitor"
- "Find a video walkthrough of setting up Kubernetes locally"

## Guides: Brave Search with your AI framework

- [Brave Search + Claude](https://www.agent200.com/tools/brave-search/framework/claude.md): Connect Brave Search to Claude through Agent200's MCP server: no separate key, ready-made tools and one API key.
- [Brave Search + ChatGPT](https://www.agent200.com/tools/brave-search/framework/chatgpt.md): ChatGPT cannot send an API key to a custom MCP server, so this guide builds Brave Search into your own agent with OpenAI's models and the Agent200 SDK.
- [Brave Search + Claude Code](https://www.agent200.com/tools/brave-search/framework/claude-code.md): Have Claude Code build a Brave Search agent with the Agent200 SDK: no separate key, ready-made tools and one API key.
- [Brave Search + Muse](https://www.agent200.com/tools/brave-search/framework/muse.md): Connect Brave Search to Muse through Agent200's MCP server: no separate key, ready-made tools and one API key.
- [Brave Search + Grok Bot](https://www.agent200.com/tools/brave-search/framework/grok-bot.md): Connect Brave Search to Grok Bot through Agent200's MCP server: no separate key, ready-made tools and one API key.
- [Brave Search + OpenAI Dots](https://www.agent200.com/tools/brave-search/framework/openai-dots.md): Dots cannot send an API key to a custom MCP server, so this guide builds an always-on Brave Search agent with OpenAI's models and the Agent200 SDK.
- [Brave Search + Claude Duet](https://www.agent200.com/tools/brave-search/framework/claude-duet.md): Connect Brave Search to Claude Duet through Agent200's MCP server: no separate key, ready-made tools and one API key.
- [Brave Search + Hermes Agent](https://www.agent200.com/tools/brave-search/framework/hermes-agent.md): Connect Brave Search to Hermes Agent through Agent200's MCP server: no separate key, ready-made tools and one API key.
- [Brave Search + OpenClaw](https://www.agent200.com/tools/brave-search/framework/openclaw.md): Connect Brave Search to OpenClaw through Agent200's MCP server: no separate key, ready-made tools and one API key.

## FAQ

### Do I need my own Brave Search API key?

No. Your Agent200 API key reaches Brave Search, so there is no separate provider key to collect, store or rotate.

### Can I limit what my agent can do in Brave Search?

Yes. You choose which services, endpoints and authorization scopes are allowed in your Agent200 configuration, and the agent works only within them.

## Related connectors

- [Tavily](https://www.agent200.com/tools/tavily.md): Web search built for agents, reached with your Agent200 API key.
- [Exa](https://www.agent200.com/tools/exa.md): Search the web by meaning, read page contents and find similar pages, reached with your Agent200 API key.
- [Firecrawl](https://www.agent200.com/tools/firecrawl.md): Scrape pages into Markdown, crawl and map sites, and extract structured data, reached with your Agent200 API key.
- [Perplexity](https://www.agent200.com/tools/perplexity.md): Get web-grounded answers with cited sources, or ranked search results, reached with your Agent200 API key.

---

Agent200: https://www.agent200.com/ · API keys: https://agent200.com/platform/apikeys/ · Docs: https://docs.igpt.ai/
