dsh-mimo-agent-tools

DSH PLUGIN视觉与多模态

仓库 ch1bug/dsh-mimo-agent-tools

视觉与多模态 L4 · 沙盒安装通过 安全审查:低风险 可信度:银 可安装插件
安装这个插件

DSH plugin将小米MiMo API封装为Agent工具,提供联网搜索、图像/音视频理解、语音识别与合成等能力。

一句话选型结论

按资料字段整理

dsh-mimo-agent-tools 是视觉与多模态类的 DSH 可安装插件,验证等级 L4 · 沙盒安装通过,安全审查为低风险,列出 5 项功能,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类视觉与多模态 收录类型可安装插件 验证等级L4 · 沙盒安装通过 安全审查低风险
验证等级 L4 L4 · 沙盒安装通过
GitHub 星标 6 复刻 3 · 未关闭 issue 2
最近更新 2026-10-03 创建于 2026-08-14
README 10.0 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:ch1bug/dsh-mimo-agent-tools#dsh-v0.2.1-alpha.1-r1
  1. 1
    确认版本与运行环境

    兼容的 DSH 版本为 0.1.7-rc.2 等 9 个;版本不匹配时安装会报错。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本0.1.7-rc.2 等 9 个版本版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-mimo-agent-tools:为 DeepSeek Harness 智能体接入小米 MiMo 多模态能力的 DSH plugin

  • 联网搜索
  • 多模态理解
  • 语音识别
  • 语音合成
  • 深度思考

适用场景

联网搜索视觉识别

上游标签

dsh-plugin

验证等级与安全审查

L4 · 沙盒安装通过
自动化流程结论,不是人工审核
验证等级L4 · 沙盒安装通过安装命令在隔离沙盒内真实执行成功,无依赖错误
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度银综合仓库活跃度与验证结果

上面的结论来自上游最近一次自动化验证(2026-10-08): 同一套检查会在插件发新版后重跑,页面显示的是最新一次的逐项结果。

逐项检查结果

L1 · 已找到 ✓ 通过
  • L1.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L2 · 结构化 ✓ 通过
  • L2.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L3 · 安装规范 ✓ 通过
  • L3.1_INSTALL_COMMAND_PARSED 安装命令已解析 方式:安装规范解析
  • L3.2_DSH_VERSION_DECLARED DSH 版本已声明 方式:DSH 版本声明
L4 · 安装已测 ✓ 通过
  • L4.1_INSTALL_EXECUTED_CONFINED 受限沙盒内执行安装 方式:沙盒安装执行
  • L4.2_INSTALL_SUCCESS 沙盒安装成功 方式:沙盒安装执行
  • L4.3_ARTIFACT_CONFIRMED 安装产物已确认 方式:沙盒安装执行
L5 · 运行已测 ✓ 通过
  • L5.1_INSTALL_PASSED_SANDBOXED 沙盒安装通过 方式:沙盒安装执行
  • L5.2_WEB_BOOT_READY Web 启动就绪 方式:Web 启动
  • L5.3_HTTP_SERVED HTTP 服务响应 方式:HTTP 请求
  • L5.4_PLUGIN_INVENTORY_ACTIVE 插件清单中已激活 方式:插件清单查询
— · 其它检查项
  • L4_0_SANDBOX 沙盒安装判定 方式:沙盒安装执行

风险详情

  • 审查结论 通过
  • 结论说明 vet 静态分析未发现可疑行为,判定为干净(clean)。
  • 风险计数 严重 0 / 高 0 / 中 0
  • 风险详情 未发现严重或警告级问题。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L4:在沙盒里真实装过,依赖能装上,不是纸面声明。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 标注了兼容的 DSH 版本(0.1.7-rc.2 等 9 个),按版本装不容易报错。
  • 列出了 5 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在视觉与多模态场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-mimo-agent-tools当前 L4 · 沙盒安装通过 低风险 6 0.1.7-rc.2 等 9 个 有
open-design L4 · 沙盒安装通过 低风险 10.0 万 未标注 有
awesome-gpt-image-2 L3 · 安装规范通过 低风险 3.4 万 未标注 无
PicGo L3 · 安装规范通过 低风险 2.7 万 未标注 无
iPolloWork L4 · 沙盒安装通过 低风险 6,775 未标注 有
modlens L5 · 运行验证通过 低风险 4,207 0.2.0-rc.2 等 13 个 有

仓库档案

视觉与多模态
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方ch1bug仓库 dsh-mimo-agent-tools · 默认分支 main
分类视觉与多模态vision
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue6 / 3 / 2收录时的数值,非实时
创建 / 更新2026-08-14 · 2026-10-03最后推送 2026-10-03
本站收录2026-08-22首次进入本站目录的时间

README 全文

10.0 KB
作者原文,中文版优先;只做安全转义,不改内容

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_search tool requires the
    connected-search plugin enabled in the MiMo console.
  • python3 on the host (used by driver/mimo_driver.py).
  • DSH host with the shell and sandboxPolicy services.

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)

  • TTS target text goes in the assistant message; the voice description
    (voicedesign model) goes in the user message; a style instruction rides
    the user message for preset voices and becomes an inline (风格) tag prefix
    for voicedesign voices.
  • mimo-v2.5-tts-voicedesign does not accept an audio.voice field — it
    uses optimize_text_preview instead.
  • ASR (mimo-v2.5-asr) must not receive a thinking field.
  • input_audio.data / video_url.url accept either a public URL or a
    data:;base64,... data URL (video base64 capped at 50MB per the docs).
  • Web search costs per keyword round (max_keyword, default 3) — see MiMo
    pricing. force_search (default true) trades freshness against cost;
    user_location biases results, e.g.
    {"type":"approximate","country":"China","region":"Hubei","city":"Wuhan"}.
  • Deep thinking (mimo_think) returns reasoning_content + content; in
    multi-turn agent conversations with tool calls, reasoning_content from
    earlier turns must be echoed back or the API returns 400.
  • Structured output (mimo_json) needs an explicit JSON shape description in
    the prompt (fields, types, nesting); keep max_completion_tokens generous so
    the JSON is not truncated mid-document.

Tests

python3 tests/test_driver.py            # driver request-body assembly (14 cases)
node --test tests/tools.test.mjs        # tool registration surface
node --test tests/mimo.test.mjs         # ./mimo TTS/ASR client (mocked fetch)
node --test tests/speech.test.mjs       # speechToText provider surface
node --test tests/package-surface.test.mjs # exports map + dsh.client contract
node --test tests/audio-store.test.mjs  # audio store (manifest/retention)
node --test tests/web.test.mjs          # host routes (speak/audio/regenerate)
node --test tests/tts-store.test.mjs    # mimo_tts store mode + Config wiring
# or simply: node --test   (discovers all of the above)

Reusable MiMo client (./mimo)

mimo.js exports a ctx-light MiMo TTS/ASR client — plain node fetch,
no shell/sandbox/credentials coupling (pass the apiKey yourself; inject
fetchImpl in tests). The python-driver tools above are untouched; this
entry exists for host-side consumers such as the merged voice UI's read-aloud
routes (single MiMo transport — see docs/adr/0001; the ./client export is
reserved for the browser UI entry per the DSH client-bundler convention):

import { createMiMoClient } from 'dsh-mimo-agent-tools/mimo'
const mimo = createMiMoClient({ apiKey: '...' })
const { bytes } = await mimo.speak({ voice: 'Mia', text: '你好' })          // preset
await mimo.speak({ voice: '温柔的女声', text: 'hi', style: '轻快' })         // voicedesign
await mimo.speak({ voice: 'me', voiceMap, reference: dataUrl, text: '...' }) // voiceclone
await mimo.transcribe({ audio: base64Wav, language: 'zh' })

Voice-map semantics (preset / voicedesign / voiceclone resolution via
resolveTtsTarget, style channeling via applyStyle) stay
caller-configurable — pass your own voiceMap.

Voice UI (merged from dsh-voice-mimo)

The ./client entry is the browser half (DSH client-bundler convention,
dsh.client in package.json):

  • 🔊 read-aloud — a speaker button on every assistant reply; the host
    synthesizes through the shared ./mimo client and the browser plays the
    same-origin audio.
  • Speech strips — mimo_tts with store: true stores the artifact
    (/cache/dsh-mimo-agent-tools/long/ + manifest) and renders a
    play / download / regenerate strip in the conversation.
  • Retention — artifacts of archived sessions are cleaned (client watcher
  • host startup sweep); a loose count/days fallback bounds the store. The
    manifest record survives cleanup so 「↻ 重新生成」 can replay the exact
    request.

Configuration (voice map, 朗读音色/朗读语气, audio dir, retention, inline
threshold) lives in the plugin Config, surfaced through the Plugins
settings tab.

Dropped with the merge (issue #4): the 🎤 mic button (covered by the official
speechToText provider in ./speech), the understand-audio composer button
(mimo_audio is the agent-side path), the voice_transcribe / voice_understand
/ voice_speak tools (functional duplicates of mimo_asr / mimo_audio /
mimo_tts), and auto read-aloud notifications (never used).

Official voice input (speechToText provider)

speech.js is a separate plugin entry that plugs Xiaomi MiMo ASR
(mimo-v2.5-asr) into dsh's official voice-input stack as a cloud
provider: the built-in 🎤 capture → RPC → provider-registry pipeline stays
untouched; recordings are transcribed by MiMo and the transcript lands in
the input box.

  • The entry stays dormant (inject: ['speechToText', ...]) on deployments
    without @deepseek-ai/dsh-experimental-voice-input-bundle — the agent
    tools are unaffected either way.
  • The bundle patch overrides the speech-to-text row's defaultProvider
    to mimo. Bundle order matters: this package must compose AFTER the
    voice-input bundle in dsh.profile.bundles (the override only lands on an
    already-inserted row). SenseVoice stays registered and can be re-selected
    in the official voice settings.
  • Credentials: the same XIAOMI_API_KEY entry in the DSH credentials
    service the tools use.

License

MIT

常见问题

8 问
答案由本站依据条目字段整理,不引用上游原文
dsh-mimo-agent-tools 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:ch1bug/dsh-mimo-agent-tools#dsh-v0.2.1-alpha.1-r1` 即可。

dsh-mimo-agent-tools 的验证等级是什么意思?

L4 · 沙盒安装通过。安装命令在隔离沙盒内真实执行成功,无依赖错误

dsh-mimo-agent-tools 安全吗?

低风险。vet 静态分析未发现可疑行为,判定为干净(clean)。

dsh-mimo-agent-tools 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-mimo-agent-tools 支持哪些 DSH 版本?

上游记录的兼容版本包括 0.1.7-rc.2、0.1.7-alpha.2、0.1.6-alpha.2、0.1.6-alpha.1、0.1.5-rc.2、0.1.3-alpha.2、0.1.3-alpha.1、0.1.2-rc.1。版本较多,只列出前 8 个。

dsh-mimo-agent-tools 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-mimo-agent-tools 有哪些功能?

联网搜索、多模态理解、语音识别、语音合成、深度思考。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

视觉与多模态
按星标排序,可作替代方案

open-design

open-design

L4 · 沙盒安装通过 10.0 万 星

awesome-gpt-image-2

awesome-gpt-image-2

GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比

L3 · 安装规范通过 3.4 万 星

PicGo

PicGo

L3 · 安装规范通过 2.7 万 星

iPolloWork

iPolloWork

L4 · 沙盒安装通过 6,775 星

modlens

modlens

ModLens 是 DeepSeek Harness 的视觉插件,为纯文本模型外挂视觉能力,粘贴图片即得结构化 JSON 证据(OCR、版面

L5 · 运行验证通过 4,207 星

OpenBiliClaw

OpenBiliClaw

本地私有、开源的自进化跨平台 AI 内容发现 Agent:先理解你,再主动从 B站、小红书、抖音、YouTube、X、知乎、Reddit、微

L4 · 沙盒安装通过 3,398 星

ch1bug 的其它插件

6 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 2026-10-08。