#12469: feat(tools): add Querit (querit.ai) as web_search provider
docs
agents
stale
Cluster:
Web Search Provider Enhancements
Description: This PR adds Querit as a new search engine provider for OpenClaw. This PR replaces #2156
About Querit: Querit is an emerging search engine service that offers a free tier of 1,000 requests per month.
Changes:
- Added Querit search tool implementation.
- Updated configuration to support Querit API keys and settings.
- Updated docs.
<img width="3558" height="1692" alt="image" src="https://github.com/user-attachments/assets/b710678d-e66d-4567-b4dd-a1a284bc11f9" />
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a new `web_search` provider (`querit`) alongside Brave/Perplexity/Grok, extends config types + runtime zod schema to accept `tools.web.search.provider = "querit"` and `tools.web.search.querit.apiKey` (with `QUERIT_API_KEY` env fallback), and updates docs to describe Querit setup and selection.
The main integration point is `src/agents/tools/web-search.ts`, where the provider switch now includes a Querit POST request and maps results into the existing `web_search` result shape (title/url/description/siteName) with caching.
<h3>Confidence Score: 3/5</h3>
- This PR is close to mergeable but has a security-relevant issue in web_search output handling.
- Most changes are straightforward config/docs updates, but Querit search results are returned without the external-content wrapping used elsewhere, weakening prompt-injection defenses for tool output.
- src/agents/tools/web-search.ts
<!-- greptile_other_comments_section -->
<sub>(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#17729: fix(configure): update web tools hint to reflect all search providers
by raktim-mondol · 2026-02-16
78.0%
#8715: fix(web-search): safer provider resolution & Perplexity auto-detection
by abhijeet117 · 2026-02-04
75.2%
#6743: feat(web-search): add Tavily search provider support
by 3927o · 2026-02-02
75.0%
#12304: feat: add DeSearch as web_search provider
by tatjr13 · 2026-02-09
74.8%
#13814: feat(web-search): add ZAI Search (zsearch) provider
by strelov1 · 2026-02-11
74.8%
#7738: feat(web-search): add provider fallback and Serper support
by garnetlyx · 2026-02-03
74.1%
#13366: Add baidu search as web tools provider
by ide-rea · 2026-02-10
74.1%
#22626: feat(search): add support for SearXNG as a search provider
by sarveshgandhi · 2026-02-21
73.9%
#13386: feat(web-search): add Nimble Web Search API provider
by ilchemla · 2026-02-10
73.4%
#13665: feat(web-search): add SearXNG as a search provider
by sfo2001 · 2026-02-10
73.2%