Preface¶
When working with agents in DSH, a common limitation is that the model only processes links or screenshots you paste; it cannot browse continuously in a real webpage according to its own “persona,” switch videos, or record what it has seen. To bridge Douyin viewing with conversational memory, users often need to build custom browser automation and state storage, which incurs high maintenance costs.
dsh-douyin-agent (npm package name dsh-douyin-browser-local) is a third-party native DSH plugin maintained by LockyBee. It opens the PC web version of Douyin in a dedicated Microsoft Edge instance, periodically samples the screen to feed a configured vision model, performs limited autonomous viewing within time and round restrictions, and shares personality and interest memory with the standalone software version. Outbound capabilities are disabled by default, with independent switches and daily limits for each. This article covers its positioning, capabilities, and installation/activation steps; for facts, please refer to the GitHub Repository README.
What is this¶
In one sentence: A native DSH assistant for Douyin—featuring limited autonomous viewing, shared personality and interest memory, a native settings page, and viewing daily reports.
- Maintainer: LockyBee
- Community Directory: skillhub.cn Plugin Page (Category: Memory)
- Source & Docs: GitHub — LockyBee/dsh-douyin-agent
- License: Original code under MIT; third-party licenses见
THIRD_PARTY_NOTICES.mdin the repo.
This is a third-party adaptation, not an official DeepSeek product. Running state, browser profiles, keys, databases, DM contents, and contact information are all stored locally and do not enter the repository.
Core Features¶
Summarized below based on the README feature table; default values and verification status can be found in the notes section later.
Viewing & Memory¶
| Capability | Description | Default |
|---|---|---|
| Autonomous Viewing | Search, switch videos, continue watching or stop based on personality and interests, providing reasons. | Requires manual start of limited rounds |
| Interests & Personality | Interests are derived from actual viewing progress and confirmed behaviors, not just assuming preference based on topic. | Auto-accumulates with viewing |
| Time Restrictions | Daily allowed time slots (Beijing Time) plus single-round duration limit; videos pause when time is up. | 10 minutes per round |
| Silent Viewing | Mute audio; attempts to minimize window after verifying ownership (still a windowed Edge, not headless). | Disabled |
| Viewing Daily Report | Summarizes titles, authors, and links actually watched that day into Markdown without calling the model. | Manual generation available; also attempts to generate after each round |
Technical Path: Browses the web version of Douyin in a dedicated Edge instance, sampling video frames every few seconds to feed the model. The plugin version uses providers already configured in DSH (model must support images); 32 tools are registered in tool-definitions.mjs, shared between the plugin and the standalone software.
Outbound & Interaction (Disabled by Default)¶
| Capability | Description | Default |
|---|---|---|
| Active Sharing | Send current creation to permitted friends via the official share interface. | Disabled; default limit 3 times/day |
| Auto Greeting | Max once per day per permitted friend, total default 2 times, marked with “Auto Greeting”. | Disabled |
| DM Auto-Reply | Only handles up to 2 confirmed friends, replying only to new messages received after startup. | Disabled |
| Public Comments | Default 3 per day, 1 per round, comment only once on the same work. | Disabled |
| Audio Understanding | Local Whisper transcription of dialogue; optional MiMo or MiniMax cloud services. | Disabled |
If the sending result is uncertain, the process pauses immediately; it will not auto-resend.
Two Ways to Use¶
| Plugin Version | Software Version | |
|---|---|---|
| Entry | DSH “Settings → Browse Douyin”, button operations | Standalone Windows desktop software, conversational tasking |
| Model | Providers configured in DSH | User fills in DeepSeek API Key |
| Version | 1.3 (npm 1.3.1) | Packaged as 1.2.0; 1.3 not yet packaged |
Both share the same personality, interests, and memory; only one autonomous viewing session can run at a time.
Installation & Activation¶
Environment Requirements: Windows, Microsoft Edge installed, DSH >=0.2.0-rc.2 <0.3.0 (README specifies the 0.2.0-rc.2 series; settings page verified on DSH Desktop 2.0.17). Node.js >=22.13 is only required for source installation.
npm Installation (1.3.1)¶
DSH Desktop: Open “Apps → Desktop Plugins”, enter dsh-douyin-browser-local@1.3.1 in the npm package input box, and click “Install”. The Desktop profile is managed by Electron and cannot be modified via standard CLI.
Web Version: Run in the terminal:
dsh plugin --profile web add dsh-douyin-browser-local@1.3.1
After installation, reload according to the host prompt and enable “Browse Douyin” in settings. Douyin login and verification are completed by the user independently. Marketplace indexing and npm package release are synced separately; do not assume the marketplace has refreshed immediately upon successful release.
Install from Source (Optional)¶
Requires Windows, Microsoft Edge, Node.js 22.13+, and DSH 0.2.0-rc.2 series. The repository README provides the install-native.ps1 workflow: first run pnpm install --frozen-lockfile and check scripts, then execute with -Install after completely exiting DSH. See the repo docs/plugin.md for details.
Typical Usage (Plugin Version)¶
After installing and reopening DSH, find “Browse Douyin” in “Settings”. The recommended order is:
- Basic Settings: Select provider and model (model must support images), then save.
- Video Viewing: Click “Open Douyin”, and log in or pass verification in the dedicated Edge window.
- Time & Rounds: Set allowed time slots and single-round duration, click “Start Limited Rounds”, then click “Start Autonomous Viewing”.
After each round, you can view or generate a viewing daily report; outbound features need to be enabled item-by-item in settings, and limits should be understood before use.
For development self-testing (without touching a real Douyin account), you can run within the cloned repository:
pnpm test
pnpm run test:native
pnpm test launches a temporary Edge page and does not access the real Douyin.
Use Cases & Notes¶
Who is it for: Users already using DSH on Windows who want the model to autonomously browse the Douyin web version within controlled timeframes and distill viewing behaviors into shareable personality and interest memories; users who prefer a native settings page over stitching together separate scripts.
Permissions & Security: The plugin runs with the current DSH process permissions and can control the local Edge and local data directories. Read the source code and MIT/third-party licenses before installing, and assess the risks of outbound, DM, and comment switches yourself.
Verification Status (README Summary):
- Verified in Real Environment: Recommended playback, search, up/down switching, pause, frame sampling, time-limit pause; legacy DSH native tool calls; emoji image sampling; one manually authorized friend forward; DSH 2.0.17 settings page mounting and state read-back.
- Synthetic Tests Only: Autonomous sharing, behavior preferences, auto greetings, autonomous comments, silent mode, daily reports, etc.
- Not Yet Verified: Continuous playback after Douyin minimization, real comment sections, full DM auto-reply, MiMo & MiniMax cloud, standard bundle installation, etc.
Synthetic tests use stand-in models and temporary pages and cannot be considered proof of real Douyin usability. For the latest numbers and known failures, see the repo docs/verification/native-v10.md.
Conclusion¶
dsh-douyin-agent encapsulates “Dedicated Edge + Frame Sampling + Time/Round Limits” into a native DSH plugin. It is conservative by default, with outbound features toggleable item-by-item, and shares personality and interest memory with the standalone software. For an intro and category listing, see the SkillHub Directory Page; for installation commands, configuration items, and item-by-item explanations, refer to the GitHub Repository and docs/plugin.md.