Give the agent a talking face: seven tools that drive a self-hosted Mynah realtime digital human — speak (queued or interrupting), play a gesture clip, interrupt, list live sessions and channels, check health, add text to its knowledge base.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-plugin-mynah
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:honwee/dsh-plugin-mynah
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
Give your DeepSeek Harness agent a talking face.
This plugin lets a dsh agent drive a Mynah realtime digital human: make it speak to the person watching, interrupt it, see who is connected, list published channels, check health, and feed its knowledge base. Mynah is the open-source, self-hosted digital human stack (WebRTC lip-synced video, admin console, channels, knowledge base, free EdgeTTS by default, runs on a 6 GB GPU or with remote inference).
agent (DeepSeek Harness) ──mynah_speak──▶ Mynah cored ──WebRTC──▶ browser: a face that talks
Left: DeepSeek Harness Web UI running the agent with deepseek-flash. Right: a Mynah channel page. One prompt; the agent calls mynah_sessions → mynah_action (wave) → mynah_speak → mynah_status → mynah_speak. The second sentence is queued automatically behind the first. Voice is Qwen realtime in the cloud; request-to-first-lip-synced-frame is about one second on the Mynah side. Full video: docs/agent-demo.mp4.
Tools
| Tool | What it does | Needs admin login |
|---|---|---|
mynah_speak |
Avatar says text in a live session. type=echo speaks verbatim (default); type=chat routes through Mynah's own brain. Queues behind the current sentence unless interrupt=true. |
no |
mynah_interrupt |
Stop the avatar mid-sentence. | no |
mynah_action |
Play a gesture such as wave in a live session. |
no |
mynah_sessions |
List live sessions (ids for mynah_speak). |
yes |
mynah_channels |
List published channels with visitor URLs. | yes |
mynah_status |
Health of core / avatar engines / ASR / TTS / DB. | yes |
mynah_kb_add |
Add a text/markdown document to a knowledge base. | yes |
The realtime tools only need the session id, which is the capability a visitor's page already holds. Admin tools log in once with the console account and cache the JWT.
Install
dsh plugin --profile web add dsh-plugin-mynah # from npm
# or, from a checkout:
dsh plugin --profile web add ./dsh-plugin-mynah
Then tell it where Mynah lives. Either edit the bundle row in your profile's cordis.patch.yml:
- id: mynah
name: dsh-plugin-mynah
config:
baseUrl: https://your-mynah-host:8443 # visitor / realtime endpoint
adminUrl: https://your-mynah-host:9443 # admin console
username: admin
password: ********
or set environment variables (MYNAH_URL, MYNAH_ADMIN_URL, MYNAH_USER, MYNAH_PASSWORD, optional MYNAH_TOKEN, MYNAH_INSECURE_TLS=1). A patch row replaces the whole config block, so restate every key you need.
Verify and run:
dsh --profile web --dump-config | grep -A3 'id: mynah'
dsh --profile web
Try it in 60 seconds
- Open a Mynah channel page (e.g.
https://<your-mynah>:8443/channel/test) and click 开始对话. - In dsh, ask: “Find the live Mynah session and have the digital human greet me by name.”
- The agent calls
mynah_sessions, thenmynah_speak— the avatar on your screen speaks.
Headless, for scripts and CI:
dsh --profile headless "Use mynah_sessions, then make the digital human say: 今天的部署已经完成。"
Development
npm install
npm run build # tsc against published @deepseek-ai packages
npm run check:local # build + vitest against a sibling deepseek-harness checkout (see tsconfig.local.json)
tests/cordis-integration.spec.ts boots the real @deepseek-ai/dsh-tools registry, mounts this plugin, and exercises the tools against a fake Mynah on localhost.
Requirements
- DeepSeek Harness ≥ 0.1.2-alpha.5, Node ≥ 22.19
- A reachable Mynah instance (
docker compose up -dfrom the Mynah repo; EdgeTTS default means no API key is needed to hear it talk)
MIT © honwee
Links
More in this category
Yuuyuko-uu/dsh-tts-bridge★ 270
Reads DSH conversations aloud using the DeepSeek web page's built-in read-aloud, driven by a small browser extension.
Fishsb/dsh-voice-prompt-enhancer★ 136
Rewrites a composer draft into a clearer, structured prompt (5 modes, model fallback chain, optional multi-round memory) and adds stop-on-silence, hotkey and filler-word cleanup to DSH voice input; transcription stays with the official speechToText, the plugin ships no engine.
cloudoyx/any-audio★ 75
DSH has its own audio workstation too: real recordings, multiple TTS engines, genuine sound effects and local singing synthesis, with every generated sound landing as its own clip on one visible timeline that you can audition, balance and fine-tune track by track. Use it for scoring animation, producing audiobooks and radio drama, composing and mixing on your own, making ASMR, and whatever else you come up with.
PolinniZhong/dsh-omi-voice★ 75
In-chat read-aloud for DeepSeek Harness: tap to read, pause and resume AI replies with natural Doubao TTS voices (BYOK), reading only the final answer with code, tables and diagrams filtered; local engine, plugin keeps no API key.
ppy-web/dsh-plugin-xiaomi-mimo-tts★ 73
Voice Studio for DSH with 10+ cloud and local speech engines (Xiaomi MiMo, Doubao, Breeze, DeepSeek, local MOSS-Nano, browser speech, external adapters) plus cloud ASR, smart text filtering, live subtitles and voice orbs, /director multi-role WAV drama studio, and desktop pet, novel, QQ Bot, dsh-Go, and AI Passport integrations. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
1624318455/dsh-plugin-tts★ 66
Reads assistant replies aloud via free Edge TTS or your own RVC voice models: read-aloud buttons + auto-read, adaptive chunked progressive playback (gapless long reads), one-click voice-pack installs from a registry, and a portable RVC runtime.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.