Repository navigation
Add Desearch as an online search and webpage reader provider #1462
Chkhikvadze
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the feature
Add Desearch as an optional provider for online search and webpage reading, next to the existing providers in
src/khoj/processor/tools/online_search.py. Enabled only whenDESEARCH_API_KEYis set.Desearch (https://desearch.ai) is a search API. Verified capabilities used here:
Access is either the REST API (https://api.desearch.ai,
Authorization: Bearer <DESEARCH_API_KEY>) or the hosted MCP server at https://mcp.desearch.ai/mcp with the same Bearer header. Docs: https://desearch.ai/docsUse Case
Proposed Solution
Minimal scope:
src/khoj/processor/tools/online_search.py: addsearch_with_desearch(query, location)andread_webpage_with_desearch(web_url, api_key, api_url), following the shape of the existing provider functions; select it whenDESEARCH_API_KEYis set.documentation/docs/features/online_search.md: one short section with the env var.No changes to defaults or other providers.
Additional Information
We (Desearch team) are happy to implement this, add tests and docs, and keep it maintained. We will wait for maintainer feedback before opening a PR.
Link to Discord or Github discussion
(this discussion)
All reactions