Send local images or HTTP(S) image URLs to a configured OpenAI-compatible vision endpoint with the inspect_image tool and return its text response to the conversation.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-tool-vision
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Scorp1o117/dsh-tool-vision
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
简体中文 | English
Connect a separate OpenAI-compatible vision model to DeepSeek Harness, with an image bridge and image tools. A text-only conversation model can ask the vision model to inspect an image and use its description.
Features
- Vision calls:
inspect_imagesends a local or HTTP(S) image to the configured endpoint, optionally with a question. The model must support compatible image input. - Image bridge: for models that do not receive images directly, converts images into durable text instructions so the Agent can call a vision tool as needed; conversation thumbnails and previews are supported.
- Detection and overrides: combines route declarations, probe results and user lists to choose between direct image input and bridging; allowlists and blocklists can correct inaccurate declarations.
- Image tools: includes image Q&A, grounding, OCR, crops, pixel differences, colors, vectorization, HTML screenshots and attachment materialization. Some operations require optional dependencies; desktop screenshots are disabled until explicitly enabled.
Bridging gives a text model the vision model's description. The result depends on that model and does not turn the text model into a native multimodal model.
Compatibility and installation
DSH Web / Desktop accepts host versions from 0.2.0-rc.2 onward at startup, including future prereleases. See package.json for the compatibility declaration. Node.js >=20.18 is required.
For Desktop, install its dsh command through Application → Manage dsh Command first:
dsh plugin --profile desktop add dsh-tool-vision
Replace desktop with web for Web. Restart DSH and open Plugins → Installed → dsh-tool-vision. You can also install it through the Enhancement Suite.
Quick setup
- Enter the vision service's API address, key and model ID in the plugin page. A compatible local service can also be used; supply a key if the service requires one.
- Choose Automatic images and previews for bridging and previews, or Vision tools only for explicit calls. Existing custom combinations are preserved.
- If image capability detection is inaccurate, adjust the model list, list mode or automatic detection under Advanced. Save to apply.
- Send DSH an image and a question, or ask the Agent to inspect a workspace image with
inspect_image.
The form writes edited fields only and retains an unchanged key. The interface follows the DSH language setting.
Usage and limits
- Models with image support can receive images directly. Bridged images enter the conversation as instructions and are not automatically restored to image blocks when switching models later.
vision_probe_modelcan test image capability. An explicit user list takes precedence over probe results, which in turn take precedence over route declarations.vision_screenshotrequires enablingdesktopScreenshot.sharp,potraceandpuppeteer-coreare optional dependencies; affected tools report missing dependencies without disabling other tools.- Vision requests send images to the configured service. Choose a trusted local or remote endpoint for the content. Input-size and provider limits apply.
Development, attribution and feedback
npm testruns the project tests. The historical detailed documentation retains configuration fields, tool parameters and release notes; its install commands and compatibility information may be outdated.- Pixel-level tools were ported from dsh-vision-router (MIT).
- npm · Issues · MIT License
Links
More in this category
liustack/modlens★ 5142
Vision bridge for text-only models: paste an image, get structured JSON evidence (OCR, layout, semantics).
ysr666/dsh-vision-router★ 1317
Free vision for text-only agents: built-in keyless vision chain plus pixel tools (Q&A, grounding, crop, pixel diff, colors, OCR, SVG trace, cutout, screenshots); paste an image to use it.
Anionex/dsh-vision-toolkit★ 962
Vision for text-only models: paste an image and the model switches to a Vision Toolkit variant for image Q&A, multi-image comparison, long-screenshot OCR, screenshot-to-UI reproduction, element grounding, and pixel diff. No API key by default — images are processed by the author-hosted free service, 100 per machine per day; configurable to your own provider.
SAOS-3624/dsh-see-now★ 823
Lets a text-only agent watch a live screen or camera feed: every frame is scored by how much the picture changed, only the ones that matter are packed into one numbered sheet with an audio envelope, so the model looks at what actually changed instead of a screenshot every few seconds.
kingcharleslzy-ai/dsh-qwen-studio★ 805
Qwen Image 2.1 workspace for DSH: Apple Silicon MLX or your own NVIDIA server, native reference editing, LoRA, ControlNet, inpainting, shared presets, gallery and live agent progress. Includes verified updates and an agent setup guide.
SAOS-3624/dsh-video-storyboard★ 625
Turns a video (a local file, or a Bilibili/yt-dlp link) into one addressable storyboard grid — numbered cells with exact timestamps, per-cell transcript and an audio envelope on the same timeline — and video_zoom re-reads any window at higher resolution, so a text-only model can look at the video instead of reading a summary.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.