DeepSeek Harness (DSH) is a plugin-based framework. When performing browser automation tasks, developers typically need to handle complex page parsing and operation logic. This plugin reads the page as an indexed action space, allowing the model to execute one protected operation at a time, reducing the risk of direct browser manipulation and improving decision-making efficiency.
Plugin Introduction¶
- Plugin Name:
ricardochen1996/dsh-browser-use - One-line Description: DeepSeek Harness browser provider: Reads the page as an indexed action space and then runs one protected operation at a time.
- Maintainer: ricardochen1996
- Category: Model Inference
- Stars: 2
- License: MIT
Core Features¶
The plugin does not contain its own browser logic but forwards requests to the Jev Ultrafast engine. It provides a set of browser tools for DSH, which are confined to the scope of the delegated sub-agent; only the sub-agent can see and invoke them.
Tools Available to the Main Conversation¶
The main conversation can only see the following interfaces for management and monitoring:
browser_task: Delegates tasks to a persistent sub-agent.browser_task_status: Queries the running status of the sub-agent.browser_doctor: Self-checks plugin status and dependencies.
Tools Available to the Sub-Agent¶
The sub-agent possesses the following browser operation capabilities:
browser_open: Opens a page and returns the action space table.browser_page: Re-observes the page and generates a new observation number.browser_act: Executes a single-step operation (click, input, scroll, wait, etc.).browser_screenshot: Captures the current viewport.browser_console: Reads console messages and page exceptions.browser_goal: Hands the entire goal to the browser policy for execution at once.browser_close: Closes the tab and the daemon.
Installation and Activation¶
Install via the DSH plugin system. Upon first load, the plugin uses the built-in engine wheel to install the Jev Ultrafast engine in the Python environment, requiring no manual configuration.
Usage Example¶
After configuring the plugin, the conversation flow typically proceeds as follows:
- Tool Visibility: The main conversation only sees the aforementioned main conversation tools. Browser operation tools (
browser_open,browser_act, etc.) exist only within the scope of the sub-agent. - Decision Logic: The Jev engine selects operations and targets from the current action space table. For operations requiring specific values, such as
TYPE_TEXT, the text model provides values when necessary. - Execution Strategy: Avoid opening a large number of
browser_taskinstances in the conversation; instead, continuously delegate to the same sub-agent. The sub-agent remembers page state and historical operations.
Notes¶
- Engine Invocation: The Jev engine is always available, but it does not automatically replace every chat model turn; it only participates in decision-making during browser operation steps.
- Source Code Inspection: Please review the source code and license before use.
Summary¶
This plugin provides a fast and controlled browser automation layer for DeepSeek Harness. Through indexed action spaces and protected single-step operations, it simplifies the complexity of browser integration, making it suitable for scenarios requiring stable automation capabilities.