Repository navigation
Providers
Home · Installation · Compatibility · Tools Reference · Architecture · Providers · Configuration · Reliability · Security · Self-Hosting · Monitor · Testing · Troubleshooting · Project Tracker
Nine search adapters plus Jina for page extraction. Every credential is optional.
| Provider | Kind | Credentials | Selectable | Fusion weight |
|---|---|---|---|---|
| Tavily | AI-oriented index | TAVILY_API_KEY |
yes | 1.0 |
| Brave Search | independent index | BRAVE_SEARCH_API_KEY |
yes | 1.0 |
| Mojeek | independent index | MOJEEK_API_KEY |
yes | 1.0 |
| Exa | neural retrieval | EXA_API_KEY |
yes | 1.0 |
| SearXNG | self-hosted metasearch | SEARXNG_BASE_URL |
yes | 1.0 |
| Open Web Search | aggregator | OPEN_WEB_SEARCH_URL |
yes | 1.0 |
| DuckDuckGo | HTML scraper | none | on by default | 1.0 |
| Startpage | HTML scraper | none | on by default | 1.0 |
| Parallel Search MCP | upstream MCP service | none | on by default | 1.0 |
All providers contribute to rank fusion with weight 1.0. An aggregator is discounted only when it resells an index another provider in the same run already owns — see Architecture for why a blanket provider weighting would break rank ordering.
Jina is not a provider and never appears in this table or in
SEARCH_PROVIDER_ORDER. It is only the web_open extraction fallback, described at the
end of this page.
| Goal | Choose |
|---|---|
| Fastest useful start | Tavily |
| Broad web coverage | Brave Search |
| Index diversity | Mojeek |
| Semantic / research retrieval | Exa |
| No vendor account at all | self-hosted SearXNG |
| Broad coverage in one call | Open Web Search, or mode=thorough
|
The default provider=auto order is Tavily, Brave, Mojeek, Exa, SearXNG, Open Web
Search, DuckDuckGo, Startpage, Parallel — configurable via SEARCH_PROVIDER_ORDER.
Selection prefers independent indexes, then other direct providers, then aggregators,
then the scrapers. Every provider is enabled by default, including the ones needing no
credential; a provider without a credential reports not_configured and the rest still serve
the query.
AI-oriented search with an optional synthesised answer.
- Preference: first choice when configured.
- Cost control:
search_depth=basic(1 credit) by default.advanced(2 credits) is used only inthoroughmode. -
recencymaps totime_range, andinclude_published_dateis requested alongside so the filter is verifiable. - Tavily has no
daysparameter; unknown fields are rejected, so it is never sent. - The answer field is surfaced in
warningswith attribution. -
published_dateis RFC 1123, not ISO 8601 (Tue, 24 Mar 2026 10:00:00 GMT). - The response DTO maps its multi-word fields with explicit
CodingKeys, so it must be decoded with default keys. Applying.convertFromSnakeCaserewrites the incoming key topublishedDatebefore those mappings are consulted, which silently yields nil. This was a real defect caught only by testing against the live API.
Broad web search against Brave's own crawler index, treated as a major independent source.
-
countis capped at 20 and rounded up, because Brave bills per request and a smaller page is not cheaper. - Up to three snippets are combined only when they add information.
-
text_decorations=falseso no highlight markup leaks into model context. -
An invalid token is reported as
422witherror.code: SUBSCRIPTION_TOKEN_INVALID, not401. A bare422means bad parameters. The adapter distinguishes the two by inspecting the error code. -
freshnessmapsday/week/month/yeartopd/pw/pm/py.
An independent crawler index, valuable for diversity rather than cost — its API is a paid product with a limited trial, not a durable free quota.
-
Authentication is an
api_keyquery parameter. TheX-Mojeek-Api-Keyheader is silently ignored and yields403. -
An invalid key returns HTTP 200 with an error string in
response.status, so the envelope is inspected rather than trusting the status code. -
fmtdefaults toxml, sofmt=jsonis always sent. - The snippet field is
desc. Domain filters usefi/fe; recency usessince(with the week window expressed as a date, sinceweekis not a valid value).
Neural/semantic retrieval with agent-oriented highlights, which are materially more token-efficient than full page text.
-
type=autonormally;deeponly inthoroughmode. - All content controls live inside
contents; the legacy top-leveltext,highlightsandsummarykeys are no longer part of the schema. - Highlights are requested by default and used as the snippet.
- A missing key returns
402; an invalid one returns401. Both are configuration problems, so neither trips the circuit breaker. - The current schema exposes no comparable relevance score, so only rank is carried.
Self-hosted metasearch — the best route when the requirement is no vendor account and no API key.
- No public-instance list is shipped; that would be an operational liability. The operator supplies their own base URL.
-
JSON output must be enabled. The shipped
settings.ymlenables onlyhtml, soformat=jsonreturns 403 until the operator addsjsontosearch.formats. This is classified as a configuration problem, so it does not trip a breaker. -
unresponsive_enginesis surfaced as warnings, which explains thin result sets. - Reported upstream engines feed the provenance metadata used by fusion.
An aggregator, not an index, and therefore discounted only when it resells an index another provider in the same run already owns. It reports per-result engines, so a resold page is folded into the index it came from — the same treatment SearXNG receives.
Contract unverified. No authoritative published specification could be found for a service of this name. The adapter is written defensively: the endpoint is operator-supplied via
OPEN_WEB_SEARCH_URL, several common key spellings are accepted, both an envelope and a bare top-level array are decoded, and an unrecognizable body fails cleanly rather than producing malformed results. It is active only when the URL is set.
A best-effort adapter over an undocumented public interface. Disabled by default.
- Enable with
SEARCH_ENABLE_SCRAPERS=true. -
A bot challenge is served as HTTP 202 with an
anomaly-modal, not403. - Result links are wrapped in
//duckduckgo.com/l/?uddg=<percent-encoded>and are unwrapped before use, so a model never receives a redirect wrapper. - Parsing is selector-first with a structural fallback, and fails cleanly when the markup changes.
- The engine is reachable or not depending entirely on where the process runs. From a clean egress it answered 10 of 10 queries; from a network that blocks it by DNS it never answers at all. DuckDuckGo also publishes no AAAA record, so IPv6 cannot route around the problem. See Self-Hosting for the measured per-egress table.
- It is more capable than SearXNG's own DuckDuckGo engine on the same connection: that engine drives DuckDuckGo with scripted form POSTs and is CAPTCHA-challenged even from an egress where this adapter returns results.
-
On a blocking network the failure looks like a TLS defect, and is not. The name is
answered with a block-page address, so the connection lands elsewhere and the certificate
check fails first. The first measurement of this was misleading, and the correction is the
useful part: the system resolver and
1.1.1.1,8.8.8.8and9.9.9.9all returned the same block-page address, which looks like independent agreement and is not — the ISP redirects UDP/53, so those queries never reached the resolver they named.dig @1.1.1.1 CH TXT id.servershows it:noc-dev(the ISP's Unbound) over UDP,cgk01(Cloudflare, Jakarta) over TCP. TCP/53, DoT and DoH return the real address, so this is fixable in place, and it is fixed here: the tailnet's DNS configuration now carrieshttps://cloudflare-dns.com/dns-queryas a global nameserver withuseWithExitNode: trueandoverrideLocalDNS: true, so MagicDNS — the resolver on every machine — reaches DuckDuckGo directly. All five machines return real results. See Self-Hosting for the four details that made it fiddly, including the macOS one that surprised us.HTTPClientnames the likely cause in the failure reason ("…which usually means the name is intercepted or blocked on this network"), because the bare wording reads like a bug here. -
The CAPTCHA is real but transient, and it is easy to mistake for a block. A burst of
probing returned "Unfortunately, bots use DuckDuckGo too… Select all squares containing a
duck" as HTTP 202 on
html.duckduckgo.com,lite.duckduckgo.comandduckduckgo.com/html, with a bot user-agent and a browser one alike, spaced 15 s apart — andapi.duckduckgo.comanswered the same way. A single polite request afterwards returned HTTP 200 with 12 real results. So the challenge is a rate/reputation response that clears, not a property of the connection. Rate limiting the provider (1.5 s minimum interval) is the mitigation; hammering it to find out is what provokes it. Treat one challenge as back-pressure, never as proof that the engine is dead.
A separate provider id over a Google-derived interface, kept because it draws on a different index. Disabled by default.
- Its source family is recorded as
google, so it is never counted as independent evidence alongside another Google-derived source. - It serves an Anubis proof-of-work challenge, so a plain HTTP client cannot retrieve results and it will normally report itself unavailable. This is a property of the site, not a defect.
- Result markup could not be verified, so parsing is a best-effort structural heuristic.
An optional upstream MCP service. Using it makes this process both an MCP server and an MCP client.
- Disabled by default; enable with
SEARCH_ENABLE_PARALLEL=true. - Default endpoint
https://search.parallel.ai/mcp, anonymous access. - Speaks JSON-RPC over Streamable HTTP directly, and completes the
initialize/notifications/initializedhandshake with anMcp-Session-Id. - Discovered tool is
web_search, which requiresobjectiveandsearch_queries. - Treated as an aggregator, so its vote never counts as independent evidence.
Jina is not a search provider and is not selectable. JinaSearchProvider and the
ProviderID.jina case no longer exist: the old adapter could never be selected — the
registry refused it, explicit selection threw, and the provider argument never offered
it. Jina now powers only the web_open extraction fallback when native extraction
yields too little text. JINA_API_KEY is optional and only raises the reader's rate
limit; it does not add a search route and does not affect provider selection or fusion.
| API | Reason |
|---|---|
| Google Custom Search JSON | Closed to new customers; scheduled to retire 2027-01-01 |
| Bing Search | Retired 2025-08-11 |
- Implement
SearchProviderinSources/WebSearchCore/Providers/:id,isConfigured,fusionWeightandsearch. (displayNamehas a default derived fromid.) There is no capability declaration to fill in:ProviderCapabilitieswas declared by every adapter, read by nothing, and claimed pagination three adapters never implemented, so it was removed rather than left as an unkept promise. - Build requests through the shared
HTTPClient, and validate responses throughHTTPStatusMapperso error classification stays consistent. - Normalize every result through
ResultNormalizer.make, which enforces URL validity, domain filters and intra-provider deduplication. - Register it in
SearchPipelineFactorywith a suitableRateLimiter.Policy. - Add contract tests: happy path, malformed body,
429, auth failure,5xx, cancellation, and no credential leakage.
web_answer uses a language model, and it is worth being explicit about why it is not
listed above and does not implement SearchProvider.
It cannot search. It has no web access and no retrieval of its own, so as a provider it would return plausible text with no real URLs — precisely the failure this project exists to avoid. Measured, asked for the newest macOS it answered "26.4.1" while the machine ran 26.6.2; asked for a current price unaided it either refuses or confabulates.
Used correctly it is genuinely useful, because the one thing it cannot do is also what
makes it safe: given only already-fetched results it cannot cite a document that was
never retrieved. AnswerSynthesizer therefore sits beside the orchestrator rather than
inside the registry, never appears in fusion, and has its own timeout because generative
traffic is a different class from a search request.
The division of labour is the interesting part:
| Component | Supplies | Fails by |
|---|---|---|
| Search providers | Real documents, ranked and fused | Returning nothing |
| Answer synthesis | Prose grounded in those documents | Abstaining (INSUFFICIENT) |
Every credential is optional and independent, so a working setup is often one instance plus one API key as a second opinion:
export SEARXNG_BASE_URL=http://127.0.0.1:8888 # self-hosted, JSON output enabled
export TAVILY_API_KEY=tvly-... # an API provider as the fallback
export SEARCH_PROVIDER_ORDER=searxng,tavily # consult them in this order
export SEARCH_ENABLE_SCRAPERS=false # keep HTML scraping offThen ask the server what it actually sees, rather than assuming the environment took effect:
Each inactive provider carries a note naming what is missing, which is the quickest way to find a
misspelled variable or a key that was never exported.
docs/provider-api-notes.md in the repository records the API research behind these
adapters, with every uncertain point explicitly marked UNVERIFIED.
Home · Installation · Compatibility · Tools Reference · Architecture · Providers · Configuration · Reliability · Security · Testing · Troubleshooting · Project Tracker