DSH Browser: A Headless Browser Automation Plugin for DeepSeek Harness

Introduction

DeepSeek Harness (DSH) adopts an “everything-is-a-plugin” architecture. When Agents need to access the internet or perform complex page interactions during task execution, they typically rely on browser drivers. Direct usage of browser drivers often faces risks such as chaotic session management, fragile selectors, and data leakage.

The dsh-browser plugin aims to provide a headless-first, isolated, and secure browser automation solution for DSH. It does not rely on traditional CSS selectors but operates on pages through semantic references, ensuring that Agent operations are deterministic and traceable.

What is this

dsh-browser is a web-access tool plugin for DeepSeek Harness, maintained by the developer ZSeven-W.

Its core value lies in providing an isolated Chromium session environment for Agents and encapsulating a set of semantic operation interfaces. The plugin uses Playwright Core 1.62.1 as the underlying driver, achieves complete isolation between Agents via temporary user data directories, and provides bounded evidence and deterministic safety check mechanisms.

Core Features

The plugin provides the following core capabilities:

  • Headless-first Browser Automation: Runs in headless mode by default and does not rely on personal browser configurations.
  • Isolated Session Environment: Each Agent possesses an independent Chromium context, preventing mutual interference.
  • Semantic References: Operations on page elements do not rely on CSS selectors but use generated semantic references.
  • Scoped Observation: Supports observing specific parts or subtrees of a page.
  • Bounded Evidence: Limits the output scope of console and network logs to avoid sensitive information leakage.
  • Deterministic Safety Checks: Performs validation before executing actions to prevent invalid or dangerous operations.

Installation and Enablement

Ensure the environment meets the following requirements:
* Node.js version >= 24.11.0
* pnpm (The plugin internally uses pnpm@10.34.5)

Install the plugin package via npm:

npm install @zseven-w/dsh-browser

Note: The current version is the pre-release version 0.1.0-rc.1. According to the DSH v9 contract, this version is subject to change.

Typical Usage

The standard workflow for using this plugin is as follows:

  1. Start Session: Call browser_session_start to launch an isolated browser context.
  2. Observe Page: Call browser_observe to obtain a semantic view of the page.
  3. Perform Actions: Use browser_act combined with the references obtained in the previous step to perform clicks, fill forms, navigate, etc.
  4. Re-observe: Call browser_observe again after performing actions to check the results.
  5. End Session: Call browser_session_stop to close the context and delete temporary data.

Applicable Scenarios and Notes

This plugin is suitable for scenarios requiring the integration of browser automation capabilities into Agents, such as web testing, data scraping, or form filling.

Notes:
* The plugin runs with the privileges of the DSH process; please review the source code and license before installation.
* As this is a pre-release version, API behavior may change with updates to the v9 contract.
* Uses Playwright Core 1.62.1 as the underlying dependency.

Conclusion

dsh-browser provides standardized browser operation capabilities for DeepSeek Harness, reducing the complexity of developing browsing tasks for Agents through isolated sessions and semantic references. For more details, please visit the plugin directory or the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye