Built-in browser: gives the agent a real headed Chromium it can open, click, type and scroll in, keeping page state across calls.
Install
# from npm (prebuilt)
dsh plugin --profile web add @istarry/dsh-browser
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:iStarryDust/dsh-browser
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
给 Agent 一个真实的有头浏览器:browser_open / browser_interact 两个工具,跑在一个装在
harness home 下、状态可保持的 Chromium 上。
有什么
browser_open:打开页面,返回可交互的页面状态。browser_interact:在同一个浏览器会话里点击、输入、滚动、读取——状态在多次调用之间保持。- 设置页:Agent 使用开关、请求头编辑器、Chromium 安装状态。
- Chromium 管理:检测 / 安装 / 复用,装在
~/.dsh下,不污染系统。
安装
dsh plugin add @istarry/dsh-browser
装完重启 DSH 服务。首次使用需要在设置页里安装 Chromium(约 400MB 下载,几百个文件), 装好之后不再重复下载。
权限与行为
这是本插件最需要注意的部分——它不只是渲染界面:
- 会下载并安装一个 Chromium 运行时到
~/.dsh下(首次约 400MB,需要网络)。 - 会启动一个有头浏览器进程(不是无头),占用内存与一个窗口。
browser_interact能让模型操作真实网页:点击、输入、提交表单。请在设置页里决定是否对 Agent 开放(agentUseBrowser),并清楚这意味着模型可以碰到你打开的任何页面。- 可自定义请求头(设置页),用于需要特定 UA / Referer 的场景。
兼容性
- 实测于 DSH
0.2.0-rc.2。 - peer 依赖:
@deepseek-ai/cordis、@deepseek-ai/dsh-tools、@deepseek-ai/dsh-session等 (见各自 package.json)。 - Chromium 运行时不随包分发,由插件在运行时安装到用户目录。
结构
| 包 | 职责 |
|---|---|
@istarry/dsh-browser |
Chromium 运行时管理、browser_open / browser_interact 工具、安装/检测 Remote |
@istarry/dsh-client-ui-settings-browser |
设置页:Agent 使用开关、请求头编辑、安装状态 |
许可
MIT,见 LICENSE。
Links
More in this category
Tencent/BrowserSkill#dsh-plugin-browserskill★ 10915
BrowserSkill bridge for controlling visible Chrome and Edge Agent Windows from DeepSeek Harness, with native browser tools, accessibility and VOM observations, screenshots, owned multi-session control, and a live Web UI overlay.
DDDMUC/dsh-free-search★ 1897
Free web search for DSH with 42 engines: 6 keyless (DuckDuckGo, Bing, SearXNG, Degoog, AnySearch), 6 key-or-keyless tiers (Exa, Tavily, Keenable, Firecrawl, Parallel, You.com), 5 HTML search pages, and keyed providers from Brave and Baidu to Zhihu, OpenAI and Claude. Failure-classified failover with cooldown and key rotation, allowlist switching, an editable fallback chain, zh/en language pools, Multi concurrent merge, 12 MCP tools and a standalone stdio server, with per-engine keys in settings.
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 1178
Chrome sidebar extension that lets DSH operate your browser directly, no vision capabilities required.
liustack/modsearch★ 1071
Web search bridge for text-only agents: ask the web or X, get structured JSON evidence (search, fetch, citations).
Fisfzy/dsh-ego-browser★ 605
Drive a real Chrome/Chromium browser from DeepSeek Harness with 35 structured tools for navigation, snapshots, clicks, forms, JavaScript/CDP, screenshots, downloads and tabs; a live sidebar mirrors the page and accepts mouse and keyboard input. It ships a managed CDP runtime, keeps login state across calls, and can import cookies from your everyday Chrome through a companion extension.
regrevia/Envoy#dsh-envoy★ 315
Distill any link into Markdown, a wiki or a knowledge base. Installs per host: DSH -> envoy-dsh; Claude Code/Codex -> envoy@envoy. Douyin/Bilibili video, image posts, WeChat, Xiaohongshu, PDFs, podcasts. Video is read on its own timeline with keyframes and ASR transcripts locatable to \[mm:ss], so the context carries what was said and shown instead of the title and the recommendation rail. On 60 turns with vs without: ends normally with the gaps named 22% -> 92%, times out 68% -> 0% (the A/B is exploratory: different time caps, no human correctness review). On 123 live links 80% came back usable (93% of the pages that answered).
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.