dsh-mimo-agent-tools
In a curated listMaintenance: Activech1bug/dsh-mimo-agent-tools
Xiaomi MiMo search + multimodal tools for DeepSeek Harness agents: mimo_search/vision/audio/video/asr/tts
$ dsh plugin add dsh-mimo-agent-toolsInstall
dsh has no central install command — add this plugin’s entry (documented in its README) to your profile or patch config, then restart.
How installs work7
stars
3
forks
JavaScript
Language
MIT
License
2026-08-14
Created
2026-10-03
Last push
README
mimo-agent-tools
DSH (DeepSeek Harness) Cordis plugin that turns the Xiaomi MiMo API into
model tools for an agent: web search, image/audio/video understanding,
speech-to-text, and text-to-speech — plus, since the single-repo merge
(docs/adr/0001, absorbing dsh-voice-mimo), the voice UI: a 🔊 read-aloud
button on every assistant reply, in-conversation speech strips for stored
mimo_tts output (play / download / regenerate), and a configurable voice
map in the Plugins settings tab.
Backed by the OpenAI-compatible endpoint https://api.xiaomimimo.com/v1.
Tools
| Tool | Model | Purpose |
|---|---|---|
mimo_search |
mimo-v2.5-pro | Web search via the native web_search tool, returns answer + cited sources (incl. site_name/logo_url); optional force_search, user_location |
mimo_think |
mimo-v2.5-pro / mimo-v2.5 | Deep thinking — full reasoning chain (reasoning_content) + final answer |
mimo_json |
mimo-v2.5-pro / mimo-v2.5 | Structured JSON output via response_format: json_object |
mimo_vision |
mimo-v2.5 | Image understanding — local files (auto base64) or public URLs, multi-image |
mimo_audio |
mimo-v2.6 | Audio understanding / transcription (wav/mp3/flac/ogg/m4a) — local file or public URL |
mimo_video |
mimo-v2.5 | Video understanding (mp4/webm/mov) — local file or public URL; optional fps / media_resolution |
mimo_asr |
mimo-v2.5-asr | Speech-to-text with optional language hint — local file or public URL |
mimo_tts |
mimo-v2.5-tts / -voicedesign | Text-to-speech to a .wav/.mp3 file — preset voices or free-form voice design; optional style (speaking tone) and format (wav/mp3). With store: true the audio lands in the plugin audio store and a playable strip (play/download/regenerate) renders in the conversation (voice/style default to the plugin Config) |
mimo_voiceclone |
mimo-v2.5-tts-voiceclone | Voice cloning — reference clip + text → speech in that voice; optional format (wav/mp3) |
audio-tools skill
The plugin registers an audio-tools skill that guides when to use the four
audio tools (mimo_asr, mimo_tts, mimo_voiceclone, mimo_audio). The
tools themselves are always registered — they are lightweight pure-API calls —
so the skill only teaches usage, it does not gate the tools.
Requirements
- A MiMo API key — the
web_searchtool requires the connected-search plugin enabled in the MiMo console. python3on the host (used bydriver/mimo_driver.py).- DSH host with the
shellandsandboxPolicyservices.
Configuration
The API key is resolved at tool-call time from the DSH credentials
service first (key name XIAOMI_API_KEY — the web Models page writes keys
there), falling back to the environment. Nothing is hardcoded:
| Source | Key | Priority |
|---|---|---|
DSH credentials service (~/.dsh/.credentials.yaml, web Models page) |
XIAOMI_API_KEY |
1 |
| Environment | XIAOMI_API_KEY or MIMO_API_KEY |
2 |
Other options (environment, read at apply time):
| Env var | Purpose | Default |
|---|---|---|
MIMO_DRIVER |
path to driver/mimo_driver.py |
~/.local/lib/mimo-agent-tools/driver/mimo_driver.py |
MIMO_TMP |
temp dir for spec/response files | /tmp |
Install the driver at the default path (or point MIMO_DRIVER at it):
mkdir -p ~/.local/lib/mimo-agent-tools/driver
cp driver/mimo_driver.py ~/.local/lib/mimo-agent-tools/driver/
Why a python driver?
Multimodal payloads are multi-megabyte base64 strings. Agent shells commonly cap captured stdout (DSH's bash seam caps at 64KB), which silently truncates large payloads. The driver therefore does ALL file reading, body assembly and HTTP POSTing inside one python3 process, using spec/response files on disk — nothing large ever crosses the shell.
Install (DSH bundle)
Standard DSH bundle — install with the official plugin command (auto-inits
the profile, pnpm-installs, and appends the bundle layer per
dsh.bundle.patch):
# From a local checkout, or via git/npm:
dsh plugin --profile web add /path/to/dsh-mimo-agent-tools
# or: dsh plugin --profile web add github:you/dsh-mimo-agent-tools
# Install the python driver to the default path (MIMO_DRIVER points at it):
mkdir -p ~/.local/lib/mimo-agent-tools/driver
cp driver/mimo_driver.py ~/.local/lib/mimo-agent-tools/driver/
# Restart dsh web; the tools mount automatically.
Dependencies are declared as peerDependencies (ecosystem convention —
@deepseek-ai/dsh-tools is already loaded in the DSH process, so nothing is
duplicated). dsh plugin add installs the bundle into the profile's
node_modules where peer deps resolve against the running harness.
Notes on the MiMo API (from the official docs)
More in Web & Browser
anysearch-dsh
by anysearch-team
AnySearch web search provider and advanced search tools for DeepSeek Harness (DSH)
dsh-find-plugin
by awesome-dsh-plugin
In-agent plugin discovery: live GitHub repository search scoped to the official `dsh-plugin` topic, star-ranked; every result comes with a ready-to-run `dsh plugin add` command.
fnos-dsh
by fnosp
Multi-source web search and fetch failover for DeepSeek Harness sessions: takes over the session searchProvider and fetchProvider seams and tries configured sources in a chosen order — TinyFish, Tavily and the official search as a fallback that always participates and can be repositioned but not removed. Multiple API keys per platform are spread round-robin, usage snapshots drive pre-flight exclusion of exhausted accounts, and per-request timeouts plus same-platform retry control failover granularity. Web fetching runs local HTTP first, then falls back to TinyFish Fetch server-side rendering and Tavily Extract, so pages still load when local egress is blocked by proxy or DNS policies. A per-platform panel shows key usage and plan limits. Install from npm with `dsh plugin --profile web add @tnnevol/dsh-failover-search`.
modsearch
by liustack
Web/X 搜索与抓取桥:为纯文本 coding agent 提供结构化 JSON 证据(search/fetch/citations),引擎可选 Antigravity CLI(免 key)/带 key 引擎/X(Grok Build 登录态)。
