Introduction¶
In DeepSeek Harness (DSH), when building agents, a common approach is to hang another Python service or MCP layer, specifically to connect to various cloud search, multimodal, and voice interfaces. The maintenance cost is high, and it doesn’t necessarily align with DSH’s “Cordis dynamic plugin” form. dsh-mimo-plugin packages Xiaomi MiMo’s online search, image/audio/video understanding, ASR, TTS, voice design, and cloning capabilities into a DSH standard plugin: 9 native Agent tools, plus a “Settings → MiMo” configuration page; according to the repository instructions, no Python or MCP is required. Below, I explain how to use it in terms of installation, configuration, tools, and limitations.
What is it¶
The plugin is released by maintainer YYfather, npm package name @yyfather/dsh-mimo-plugin, current version 1.0.5 (MIT). Categorized as “Online Tools” in SkillHub. One-sentence positioning: MiMo (Xiaomi) capabilities as DSH profile plugins—install into the desktop profile with one command, after restarting DSH Desktop, the Agent can directly call tools; API Key and connection method are managed in the settings page or local config file.
Core Features¶
The 9 tools and capabilities listed in the repository README are as follows.
| Tool | Capability |
|---|---|
mimo_web_search |
Online search with citations; supports country/region/city, max_results (1–50, default 20), thinking |
mimo_understand_image |
Image understanding (local path / http(s) URL / data URL) |
mimo_understand_audio |
General audio understanding (content, style, number of speakers, etc.) |
mimo_transcribe_audio |
Dedicated ASR (mimo-v2.5-asr); wav/mp3 ≤10MB; language auto/zh/en; automatically chunks and processes if longer than about 4 minutes |
mimo_understand_video |
Video understanding (fps 0.1–10, resolution default/max) |
mimo_tts |
Text-to-Speech, 9 preset voices; automatically segments and concatenates if longer than about 1200 characters; style uses natural language to control speed/emotion |
mimo_design_voice |
Design voice from text description; optimize_text_preview allows the model to write and optimize the reading script |
mimo_clone_voice |
Clone voice from audio sample (sample ≤10MB, mp3/wav) |
mimo_list_models |
List available models for the account and preset addresses for two connection methods |
The plugin handles concurrency and concatenation for long content on the plugin side: long-text TTS segments are synthesized and merged into a single audio file; long audio ASR chunks are transcribed and merged in order. The three voice tools (tts / design / clone) do not have numerical parameters for speed or pitch; speed needs to be expressed through style in natural language.
Installation and Enablement¶
The installation method given by the official README is as follows. After installation, you must restart DSH Desktop (the host module is imported at startup; changing source code does not take effect hot). Changes in the settings page can be refreshed by reloading the page.
# From GitHub (repo root is package root)
dsh plugin --profile desktop add github:YYfather/dsh-mimo-plugin
# From npm
dsh plugin --profile desktop add @yyfather/dsh-mimo-plugin
For local development, you can use a file: path pointing to the source code (junction in profile), see repository README for example paths. The package’s cordis.patch.yml automatically mounts the host line; the browser side loads the settings page via dsh.client in package.json. Runtime environment requires Node >=20 (see engines in package.json).
Configuration¶
Open Settings → MiMo, the main items are as follows.
| Item | Description |
|---|---|
| API Key | Saved in ~/.dsh/mimo-config.json (local only); can also use environment variable XIAOMI_API_KEY |
| Connection Method | Pay-as-you-go api.xiaomimimo.com/v1 (sk-) / Token Plan China token-plan-cn, Singapore -sgp, Europe -ams (tp- / ttp-). Address and Key prefix must match, mixing them causes 401 |
| Model Names | Search, Vision/Audio/Video, ASR, TTS, Voice Design, Voice Clone can be changed individually |
| Default Output Directory | Leave empty to use profile default directory; passing output_dir during call can override sequentially (relative paths based on workspace) |
| Get Model List | Call GET {base}/models with current Key |
Configuration file example (path: ~/.dsh/mimo-config.json, under DSH_HOME):
{
"apiKey": "sk-...",
"baseUrl": "https://api.xiaomimimo.com/v1",
"searchModel": "mimo-v2.6-pro",
"visionModel": "mimo-v2.6-flash",
"ttsModel": "mimo-v2.5-tts",
"voiceDesignModel": "mimo-v2.5-tts-voicedesign",
"voiceCloneModel": "mimo-v2.5-tts-voiceclone",
"asrModel": "mimo-v2.5-asr",
"outputDir": "",
"ffmpegPath": ""
}
Long TTS (MP3) and long audio chunking rely on ffmpeg. Search order: ffmpegPath in mimo-config.json -> Environment variable FFMPEG_PATH -> PATH -> Local common copy. Chunk thresholds can be overridden by MIMO_TTS_CHUNK_CHARS and MIMO_ASR_CHUNK_SECONDS.
Typical Usage and Self-Check¶
On the Agent side, just call by tool name and parameters; specific fields are in the table above and the “Tools” section of the repository README. The repository provides a local self-check script (not published with npm package):
node test/smoke.mjs # Register face / configure routes / model list / TTS / ASR / voice design / clone
node test/smoke.mjs --offline # Only verify register face and routes, do not call chat/completions
node test/smoke.mjs --media # Extra run image/audio understanding (more tokens consumed)
node test/long.mjs # Long text segmentation + concatenation + long audio chunking transcription (run full chain with small threshold)
Testing uses the Key from the real ~/.dsh/mimo-config.json; output directory is controlled by MIMO_TEST_WORKSPACE etc., see README.
Suitable Scenarios and Notes¶
Suitable for: Developers already building agents in DSH Desktop who want to use Xiaomi MiMo for search, multimodal understanding, and voice chains, and do not want to start separate Python/MCP services.
Permissions and Security: The plugin runs with the permissions of the current DSH process and can access local paths and the network; it is recommended to read the repository source code and MIT license before installation, and to verify the Key storage method yourself (local plaintext mimo-config.json).
Known Limitations (repository README): ASR may have merging or repetition for highly repetitive corpus; for very long general audio understanding, prefer mimo_transcribe_audio over mimo_understand_audio; the server-side lower limit for max_results in mimo_web_search is about 20 pages; note that DEFAULT_MODELS fallback may still point to offline old model names before clearing configuration. The community directory SkillHub is a separate site with no official affiliation with DeepSeek or Huanfang.
Conclusion¶
dsh-mimo-plugin converges Xiaomi MiMo’s 9 capabilities and settings page into a DSH standard plugin package, suitable for scenarios where you want to integrate with one profile command and directly call tools within the Agent. For more information, see the directory page and GitHub repository.
- Directory page: https://www.skillhub.cn/plugins/YYfather/dsh-mimo-plugin
- GitHub: https://github.com/YYfather/dsh-mimo-plugin