편집자 노트

小米 MiMo 工具集

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.

이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.

업스트림에서 중국어 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.

Backed by the OpenAI-compatible endpoint https://api.xiaomimimo.com/v1.

Tools

ToolModelPurpose
mimo_searchmimo-v2.5-proWeb search via the native web_search tool, returns answer + cited sources
mimo_visionmimo-v2.5Image understanding — local files (auto base64) or public URLs, multi-image
mimo_audiomimo-v2.5Audio understanding / transcription (wav/mp3/flac/ogg/m4a)
mimo_videomimo-v2.5Video understanding from a public URL (mp4/webm/mov)
mimo_asrmimo-v2.5-asrSpeech-to-text with optional language hint
mimo_ttsmimo-v2.5-tts / -voicedesignText-to-speech to a .wav file — preset voices or free-form voice design

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:

SourceKeyPriority
DSH credentials service (~/.dsh/.credentials.yaml, web Models page)XIAOMI_API_KEY1
EnvironmentXIAOMI_API_KEY or MIMO_API_KEY2

Other options (environment, read at apply time):

Env varPurposeDefault
MIMO_DRIVERpath to driver/mimo_driver.py~/.local/lib/mimo-agent-tools/driver/mimo_driver.py
MIMO_TMPtemp 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.
  • 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.
  • Web search costs per keyword round (max_keyword, default 3) — see MiMo pricing.

License

MIT

REPOSITORY SIGNALS

보안 및 설치 증거

이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.

출처 추적 가능

공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.

라이선스

저장소가 MIT 라이선스를 선언했습니다.

유지보수 활동

최근 180일 내 코드 업데이트가 있습니다.

설치 증거

재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.

설치 라이프사이클 스크립트

검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.