AGPL-3.0 DSH plugin that lets the agent live inside QQ: installed with `dsh plugin --profile web add dsh-roost`, it maps each QQ chat to a persistent DSH session with three-layer memory, tiered tool access and replies sent through `qq_send`.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-11-23
License
AGPL-3.0
01What can it help you accomplish?
Run a QQ bot whose answers come from DeepSeek Harness sessions
one long-lived DSH session per QQ group or private chat, with the mapping surviving disconnects and restarts
DSH users who want the agent living inside QQ instead of a chat window
Remember what a group or a private chat said, and speak up on its own
three-layer memory (facts, diary, knowledge graph) consolidated overnight plus scored proactive openers instead of fixed pushes
Operators of long-running QQ groups and companion-style bots
Change the QQ bot's AppID or move to another machine without losing memory
QQ-number / group-number to openid bindings so old memories still resolve, plus zip backup export and import
Maintainers rotating QQ open-platform credentials or hardware
02How to install into DeepSeek Harness
Prerequisites
- DSH desktop or web build that exposes `sessionController` and `agents`
- Node 22+ and a QQ open-platform bot (AppID / AppSecret); the first-run wizard installs Roost itself
Installation steps
- 01
Install the package from the DSH plugin marketplace by the name `dsh-roost`, or run `dsh plugin --profile web add dsh-roost`
$ dsh plugin --profile web add dsh-roost
- 02
Open the panel and complete the forced four-step first-run wizard: connection notes, confirm Roost is installed and started, one-click direct connection, self-test
- 03
Or press 一键就绪, which chains steps 1 / 2 / 4 and stops at the QR-scan or AppID/AppSecret step to ask you
- 04
Ask the group owner to enable 接收所有消息 for the group in the mobile QQ app and to add the bot, then bind the owner account
Verify the integration
- The wizard only finishes when the backend really runs the direct-connection self-test — the 完成 button just sends a request, it cannot declare success
- Run 跑一次自测 from the overview panel: it drives one DSH round without QQ, separating a broken session from a broken QQ side
03DSH integration and capability boundaries
Native DSH plugin: `dsh plugin --profile web add dsh-roost` loads it into a DSH profile, every QQ chat is mapped to its own long-lived DSH session, and replies leave through model-called host tools (`qq_send` / `qq_close`) configured entirely in a DSH sidebar panel.
Per-message permission tiers
every incoming QQ message plus the sender's identity→the tool set the model may call for that round; senders it cannot identify get the lowest tier
file and command tools are only mounted for a round whose sender matched a tierThree-layer memory with memory tools
chat turns, group facts and diary entries→cross-group / group facts, a diary with 3-level decay and keyword / vector retrieval, a knowledge graph, and `memory_search` / `memory_note` for the model
nightly consolidation scores, promotes, compresses and extracts triples from stored memoryReply, file and channel tools
tool calls the model makes during a round→`qq_send` / `qq_close` each produce their own message; `qq_send_file` sends one file per round, 200MB max and split above 5MB, with an optional path allowlist; `qq_post_thread` publishes a titled post into a channel forum section
every send tool call posts to QQ immediatelychannel posts must pass review and are tracked as submitted / online / missing in the panelAccounts, backups and panel operations
the owner's QQ number / group number and openids, or a backup zip→bindings so memories still resolve after an AppID change; export / import of a backup zip on the panel's backup page
an imported backup only takes effect on the next start, and the import can be cancelled
04Who is it for? When not to use it?
Good for
- DSH users who want the agent living inside QQ instead of a chat window
- Operators of long-running QQ groups and companion-style bots
- Maintainers rotating QQ open-platform credentials or hardware
Not for
- The permission layer only bounds which tools the model may call in a round; dsh-roost itself runs under your account with the same file, command and network rights as your machine. It is not a sandbox — real isolation would need an external process plus an OS-level sandbox.
- QQ only: `channel.current` is always `roost`; the channel abstraction exists but no second platform is connected.
- Text-to-speech is optional and off by default. Local `sherpa` is fully offline, but Microsoft `edge` sends the text it reads aloud to Microsoft's servers, and OpenAI-compatible / Xiaomi MiMo providers send it to the upstream you configure.
05Compatibility, maintenance and safety notes
- The permission layer only bounds which tools the model may call in a round; dsh-roost itself runs under your account with the same file, command and network rights as your machine. It is not a sandbox — real isolation would need an external process plus an OS-level sandbox.
- QQ only: `channel.current` is always `roost`; the channel abstraction exists but no second platform is connected.
- Text-to-speech is optional and off by default. Local `sherpa` is fully offline, but Microsoft `edge` sends the text it reads aloud to Microsoft's servers, and OpenAI-compatible / Xiaomi MiMo providers send it to the upstream you configure.
- The send queue lives in memory only, so a restart drops whatever was queued, and the panel cannot show the queue length yet.
AGPL-3.0 · active, last push 2026-11-20, latest release v1.4.0
06Frequently asked questions
How do I install dsh-roost into DSH?
Type the package name `dsh-roost` in the DSH plugin marketplace, or run `dsh plugin --profile web add dsh-roost`. A source install also works: `git clone https://github.com/roost-qq/dsh-roost.git` — the project has zero dependencies, so no `npm install` is needed.
Is the first-run wizard optional, and what does it actually do?
The first time you open the panel it forces the four-step first-run wizard: connection notes, confirm Roost is installed and started, one-click direct connection, self-test. On an old Roost build without the host protocol you can 暂时跳过 and go upgrade, but the overview page keeps warning you. The wizard only counts as finished when the backend really runs the direct-connection self-test.
Which DSH tools does the plugin hand to the model?
`qq_send` / `qq_close` send replies (each call is its own message), `qq_send_file` sends one file per round with an optional path allowlist, `memory_search` / `memory_note` reach into the three-layer memory, and `qq_post_thread` posts a titled thread into a channel forum section. Which of them are mounted for a round is decided per message by the permission tier.
Where does dsh-roost keep my data?
Config, memory, diary, knowledge graph, personas and stickers default to `~/.dsh/dsh-roost/`; set `DSH_ROOST_DATA` to move that directory. Nothing is uploaded or shared, and a backup zip is written only where you choose.
What happens when the DeepSeek model service is down?
The plugin cannot fix a dead model service: retries recover some gateway 502s, but a full outage just has to recover. In that case it replies that the model service is temporarily failing instead of leaking internal errors, and running 跑一次自测 from the overview panel tells you whether the DSH session or the QQ side is the broken half.
07Related DSH workflows
dsh-im
by xmanrui
把 IM 机器人接入 DSH:统一管理飞书/微信/钉钉/企业微信/QQ/Telegram/Discord/WhatsApp 八个渠道,扫码或凭据接入、流式回复与设置页管理
dsh-aurabot-qq
by aureth-labs
Connects DSH sessions to QQ through OneBot v11 and exposes configurable chat, media, memory, and social tools.
dsh-qqbot
by tencent-connect
Official QQ Bot IM channel plugin for dsh: QQ WebSocket transport, QR扫码 credential binding, per-peer isolated agents, Markdown chunked replies, slash commands, preset mounting
dsh-wechat
by xcisxc29
WeChat channel for DeepSeek Harness
08Data and sources
**零依赖,装在 DSH 里**:权限、记忆、人格、扩展、排期都在侧栏面板里点着配。
QQ ⇄ Roost 框架 ⇄ 外接协议事件流 / RPC ⇄ dsh-roost ⇄ DSH 会话 ⇄ DeepSeek
**交给 DSH**:把消息送进对应会话,等 AI 说完;工具、记忆、上下文压缩、人格都由 DSH 提供
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-23. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
