Skip to main content
AgentsUse

Search and Retrieval APIs

Use Brave Search API with Haystack

The recorded connection between Brave Search API and Haystack is Official adapter package (brave-search-haystack (BraveWebSearch)). This page records the connection and links the evidence behind it.

Official adapter packageChecked 2026-10-29Source-verified

Pairing facts

Connection type
Official adapter package
Package or path
brave-search-haystack (BraveWebSearch)
Tool job
Search and Retrieval APIs
Tool review state
Source-verified. Checked 2026-10-29.

Why this pairing

An independent search index exposed as APIs for web, news, images, video, places, and LLM-ready context for agent grounding.

Best for: Agents that want an independent search index rather than a resold one, retrieval pipelines that use LLM Context to ground answers, and local and place lookups alongside general web search.

Not ideal for: Fetching and cleaning arbitrary URLs, which is a reader tool job, and deep research synthesis you do not want to write yourself.

Configuration

Configuration
pip install brave-search-haystack

Source: https://github.com/deepset-ai/haystack-integrations/blob/HEAD/integrations/brave.md. Examples use placeholders only.

Evidence

Official Haystack integrations page describes Brave Search with Haystack, provides BraveWebSearch, says it searches using the Brave Search API, needs a Brave Search API key, and installs with pip install brave-search-haystack. Haystack WebSearch docs list BraveWebSearch.

https://github.com/deepset-ai/haystack-integrations/blob/HEAD/integrations/brave.md

Scope

Compatibility means the cited page documents the pairing. It does not mean AgentsUse benchmarked the combination or that every version behaves the same. Pin versions, start with a small job, and review the first outputs before widening access.

Watch for

  • Discovery only: pair with a fetch or extraction tool to read chosen pages.
  • Some result enrichments, like extra snippets and full local search, require Pro-level plans.

Keep reading