AI Agent Hub
Back to plugins
🖥️

dsh-web-search-opencli

Client Updated 2026.08.19

Run the following command in DeepSeek Harness:

dsh plugin install sincerity711/dsh-web-search-opencli

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install sincerity711/dsh-web-search-opencli in your DeepSeek Harness terminal to install the plugin; the source code is available at https://github.com/sincerity711/dsh-web-search-opencli .

About this plugin

When your DeepSeek Harness agent needs web search, raw scraping endpoints typically return a flat list of snippets, and DSH's built-in web_search lacks support for AI-generated answers. dsh-web-search-opencli closes that gap by registering Google's AI Mode as a ctx.web provider, so a single agent call yields a structured AI answer body plus the cited source URLs, rather than forcing you to stitch together a dozen short snippets.

Under the hood, the plugin does not scrape HTTP endpoints. It drives your locally signed-in Chrome or Edge browser through OpenCLI, opens the Google AI Mode page (udm=50) in a background window, waits for the answer to render, and then runs an extraction pipeline: converts the answer body to Markdown, collects source URLs from citations and inline links, and deduplicates them in first-use order. The provider ID, OpenCLI session and window mode, per-search timeout, and optional best-effort tab cleanup are all configurable. Semantically specific DSH WebError codes are thrown for CAPTCHA, AI Mode unavailability, timeout, and general OpenCLI failures, making upstream fallback or retry logic straightforward.

This plugin is a good fit if you are already running DeepSeek Harness, want your agent's searches to surface AI-level summarized answers instead of bare result lists, and have an OpenCLI browser-automation setup with a Google account that can access AI Mode in your region. If you prioritize breadth of results over a single AI summary, or are running in an environment without a desktop browser, another DSH web_search provider may serve you better.

Use Cases

  • Agent searches require AI-level summarized answers instead of fragmentary result lists
  • Reuse the locally signed-in browser session without managing extra search API keys
  • Extract Google AI Mode answer bodies and cited source URLs in a single call

Best For

  • Developers using DeepSeek Harness who want to enhance web_search capabilities
  • Users with an OpenCLI browser-automation setup and a Google account eligible for AI Mode
  • Teams that prefer AI-level summarized answers over plain search result lists