DSH-IM Multi-Channel Bot Bridge
Turn Feishu, WeChat, Telegram and other chat apps into remote front ends for DeepSeek Harness, so you can task your local agent from a phone.
- Source repo
- xmanrui/dsh-im
- Stars
- ★ 3.8k
- Last updated
- today
- FARS reviewed
- Nov 24, 2026
- License
- MIT
- Primary language
- JavaScript
- FA score
- 53/100 · Major gaps
At a glance
- How it runs
- Works with
- Platform-specific
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A developer away from the desk who wants to hand tasks to the Harness on their home or office machine from WeChat or Telegram and stop a run with /stop.
- Not a fit if
- Teams not running DeepSeek Harness — the plugin cannot run standalone
- Users who want zero platform-side permission requests and review cycles
- Scenarios needing mature E2E encryption or iMessage images/files
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-24
- Source review
- 53/100 · Major gaps
What does this agent do, and when should you use it?
dsh-im is a DeepSeek Harness (DSH) plugin that connects bots on Feishu, WeChat, DingTalk, WeCom bot and WeCom self-built app, QQ, Slack, Telegram, Discord, WhatsApp, iMessage and an experimental Matrix channel to a local Harness, plus an AI Office Connector. Installing it adds exactly one settings page, "IM Bots", where you pick a channel by logo and bind it by QR code, an App Manifest, or existing bot credentials. Every channel can host several bots, each keeping its own credentials, connection state, workspace, model, reasoning level, Agent Preset and session binding. Incoming messages arrive over long connections, long polling or HTTP callbacks, are routed into a Harness session, and answers are rendered back with whatever the platform supports—native streaming, card updates or message edits—including image input, result-file return and follow-up delivery after a timeout. Everything runs inside the local Host and reaches Session and Workspace Controller through the Typert Gateway, so no Harness URL or LAN port has to be exposed and secrets never leave the machine.
The plugin registers a single settings entry ("Settings → IM Bots", order: 21) and keeps a separate adapter per channel, each with its own RPC surface, credential store, connection supervisor and conversation-to-session mapping. Transport differs by platform: Feishu, DingTalk, WeCom bot, QQ, Slack (Socket Mode), Telegram (Bot API long polling), Discord (Gateway v10), WhatsApp (WhatsApp Web) and Matrix (CS API) use long connections or polling; the WeCom self-built app uses an HTTP callback; iMessage goes through the native macOS Messages.app. Adapters normalize messages into Harness session input, call the Session and Workspace controllers to execute the turn, then render reasoning, tool progress and the final answer in the platform's own idiom—live Feishu thinking plus topic threads, DingTalk AI Cards, Discord native threads, or a single WhatsApp message edited every second. Users get bot commands such as /help, /new, /status, /models, /model, /reasoning, /preset, /workspace, /session, /compact, /stop, /steer and /batch, with an interactive /m menu on Feishu, DingTalk, WeCom and QQ. Beyond chat it collects group message history and attachments (shared per group, 14-day rolling retention by default), re-delivers results for turns that timed out, returns files and images as native attachments, offers proactive delivery keyed by botId + targetId over HTTP POST, same-Host plugins or Connection RPC, and exposes the dshIm.describeConversation(sessionId) / describeConversationSync host service plus the dsh-im/session-pre-bind and dsh-im/session-unbind events for other plugins.
- A developer away from the desk who wants to hand tasks to the Harness on their home or office machine from WeChat or Telegram and stop a run with /stop.
- A team that @-mentions the bot in a Feishu group to summarize the day's discussion, search stored group history, or read a file someone uploaded.
- Slack or Discord teams that add the bot to a channel and keep replying inside the thread it creates on first mention, leaving the main channel clean.
- Maintainers juggling several projects who give each bot its own workspace, model and Agent Preset so new sessions land in the right place.
- Automation that pushes the final answer of a scheduled or long-running job into a specific DM, optionally mirrored with the DSH Web session.
- macOS users who want iMessage DMs into the Harness without standing up a BlueBubbles-style bridge server.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx -y github:xmanrui/dsh-im install
- Runtime
- Node.js 22.21+
- Install notes cover
- macOS
How do you install or deploy this agent?
Prerequisites: a working DeepSeek Harness install (this release is validated against 0.2.2-rc.5, Session format v4) in either DSH Desktop or dsh web; Node.js 22.21+ is required if Telegram must go through a proxy. Install the published npm package and always use the full name @xmanrui/dsh-im. On DSH Desktop, run this in the built-in terminal:
dsh plugin --profile desktop add -w @xmanrui/dsh-imFor DSH Web, run it in the terminal that starts the current Harness:
dsh plugin --profile web add -w @xmanrui/dsh-imRestart DSH Desktop or dsh web afterwards, then refresh the browser on Web. To try unpublished code, use the GitHub source installer instead:
npx -y github:xmanrui/dsh-im installFor development from a clone, install, verify and install locally:
npm install
npm run check
node bin/dsh-im.mjs install --source .How do you use this agent?
After the restart, open "Settings → IM Bots" and pick a channel on the left. QR-based channels (Feishu, WeChat, DingTalk, WeCom bot, QQ, WhatsApp) walk you through scanning; credential channels (Slack, Telegram, Discord, Matrix) take a bot token, app tokens, or a homeserver URL with an access token or user ID and password; the WeCom self-built app needs enterprise ID, AgentId, Secret, Token and EncodingAESKey; iMessage requires a signed-in macOS Messages.app and the documented local permissions. Verify the binding by messaging the bot:
/status
/help
/newFeishu, DingTalk, WeCom and QQ bots also accept /m or /menu for a button menu covering sessions, model, compaction and status. Each bot card lets you change workspace, model, reasoning level and Agent Preset; switches only affect sessions created afterwards, so send /new first. To pin the bot's chat language regardless of the DSH UI setting:
- id: xmanrui-dsh-im
config:
language: enTo restrict the IM management API to loopback only:
- id: xmanrui-dsh-im
config:
rpcAuthority: loopbackIf DSH is reached through a custom domain and the settings page returns 403, register the domain and restart:
dsh web --trusted-host dsh.example.comSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- One plugin covers a dozen chat surfaces—Feishu, WeChat, DingTalk, WeCom bot and self-built app, QQ, Slack, Telegram, Discord, WhatsApp, iMessage, experimental Matrix—plus an AI Office Connector, behind a single settings page.
- Bots are independent: credentials, connection state, workspace, model, reasoning level, Agent Preset and session binding are stored per bot, and a channel can host many bots at once.
- It leans on native platform presentation: Feishu live reasoning and topic threads, DingTalk AI Cards, WeCom's own "thinking" indicator, Discord native threads, and a single edited-in-place WhatsApp message.
- Other plugins can integrate: dshIm.describeConversation plus the session-pre-bind and session-unbind events, and proactive delivery keyed by botId + targetId, let results be routed back into the original chat.
- Secrets are submitted one-way to the local Host and held in protected storage; RPC responses never return bot tokens or App Secrets, and the Web and Desktop front ends use the Typert Gateway rather than an exposed port.
- Production details are included: group history with a default 14-day window, follow-up delivery after timeouts, native file and image return, and a per-bot queue-versus-steer choice.
- Hard dependency on DeepSeek Harness: the validated baseline is 0.2.2-rc.5 and the README states no new compatibility branches for older hosts, so upgrades need a Host restart and a browser refresh.
- Onboarding work is spread across vendor consoles: Slack scopes must be added and the app reinstalled, Discord needs Message Content Intent plus thread permissions, Feishu needs several tenant permissions and a publish review, WeCom needs trusted-IP and callback setup.
- Several capabilities are documented as experimental or not yet validated on real servers: Matrix encryption lacks interactive device verification, key backup and SSSS; iMessage is text-only DMs in v1; Telegram file return is untested; Discord and Slack group history awaits real-group acceptance.
- Platform-side limits leak through: WhatsApp keeps only the 2,000 most recent bot group-message identifiers, group history defaults to 14 days, Feishu uploads cap at 30 MB, and QQ is bound by a daily file quota.
- Restricted networks need extra plumbing: a forward proxy for Feishu via HTTPS_PROXY, Node.js 22.21+ with NODE_USE_ENV_PROXY for Telegram, and local ffmpeg plus a DashScope key for Feishu voice.
How does this agent compare with similar options?
The README names no overall competing product; the only explicit comparison is narrow—the iMessage channel talks to the native macOS Messages.app and states that it does not depend on BlueBubbles, so no separate bridge server is needed. For chat platforms outside the built-in list, the docs say the same adapter structure can be extended, but that requires writing code.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| DSH-IM Multi-Channel Bot Bridge This agent | 53 · Major gaps | Agent plugin / skillFree + model costs | ★ 3.8k | today | JavaScript | — |
| MateClaw | 69 · Some gaps | Self-hosted serviceFree + model costs | ★ 1.2k | today | Java | Codex · Claude Code · OpenAI API · Claude API |
| SandBase Skills Library | 65 · Some gaps | Agent plugin / skillFree + model costs | ★ 212 | 2d ago | Python | Codex · Claude Code |
| Research Claw | 58 · Major gaps | — | ★ 139 | 5mo ago | Python | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The README says credentials are sent only to the local Harness Host and stored through its protected credential provider, and updater backups do not copy bot credentials. However, defaults are broad: new Feishu/QQ bots allow all users, group-message recording is on by default, result-file delivery is open to every connected bot without file-origin/workspace limits, and Matrix encryption is explicitly for non-sensitive testing. least_privilege, user_confirmation, sensitive_data_handling, and external_effects are therefore 1; data_flow_transparency is 2 because the documentation is fairly complete; rollback is 1 because only manual reinstall of a previous version is described; source_attribution is 2 for author, MIT license, and third-party notices.
package.json pins most dependency versions and declares Node >=22.19, and CI uses npm ci with Node 24; the README documents send failures, update failures, and deferred delivery. But no lockfile is present in the packet, some dependencies use ^ ranges, the README's “9 channels” conflicts with the table/package description listing more channels, and update-doc example versions differ from the current 5.10.0. self_consistency and dependency_availability are 1; failure_messages is 2.
The README covers Desktop/Web, many IM channels, group/private trigger rules, allowlists, and file/image limits, and clearly states boundaries such as iMessage MVP and experimental Matrix. However, broad defaults such as all-users access and default recording reduce precision. audience_and_scenarios, capability_boundaries, trigger_precision, and environment_fit are all 2.
The README is well structured, with thorough install commands, restart steps, GitHub-source installation, and pnpm allowBuilds notes; known limitations are specific; the MIT LICENSE is complete. information_architecture, naming_stability, and examples_and_faq are 2; install_notes and known_limitations are 3. No CHANGELOG is present, maintenance responsibility is only described as community developers/author plus an issues URL, and the publisher is unverified, so versioning_changelog and maintenance_responsibility are 1.
The plugin provides a settings UI, multi-channel replies, file/image delivery, and deferred-result recovery, so ordinary-use value is clear. But it has many dependencies and broad configuration surface, lacks cost/performance benchmarks, and default-open result-file delivery adds governance cost. output_usability and marginal_value are 2; cost_benefit is 1.
README claims such as sponsorship, rankings, and live tests are mostly self-reported or badge-based with no verifiable records attached; CI and test files corroborate that some build/test infrastructure exists but cannot independently verify runtime behavior. claim_traceability, cross_source_corroboration, and fact_inference_separation are all 1.
- Broad defaults: new Feishu/QQ bots allow all users, group-message recording is on by default, and result-file delivery is open to every connected bot without file-origin/workspace limits; tighten allowlists and file-delivery policy before deployment.
- Matrix encryption is explicitly for non-sensitive testing, not validated against a live homeserver/Element, and lacks device verification, key backup, and attachment-content encryption; do not use for sensitive communications.
- Failed updates may leave partial dependency changes with no automatic rollback; manually reinstall the previous exact version and restart the Host.
- Channel count and example versions in the README are inconsistent with package.json 5.10.0, and the publisher is unverified; verify release provenance and dependency audit before production use.
FAQ
Does the plugin cost anything, and who pays for model calls?
DASHSCOPE_API_KEY) and a local ffmpeg.Do bot tokens and App Secrets get sent to the browser or to a cloud service?
Can I connect a chat platform that is not on the built-in list?
The settings page fails with 401 or 403 — what should I check?
dsh web --trusted-host <domain> and make sure the Host forwarded by the reverse proxy equals the host derived from the browser Origin, including non-default ports. If rpcAuthority: loopback is set, the request must also come in over loopback.Are group messages stored, and for how long?
Is DSH-IM Multi-Channel Bot Bridge open source?
Is DSH-IM Multi-Channel Bot Bridge safe to use?
Is DSH-IM Multi-Channel Bot Bridge still maintained?
Who makes DSH-IM Multi-Channel Bot Bridge?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.