📈 GH Trending Explorer 🎲 Surprise me

← all repos

liustack / modlens

git clone https://github.com/liustack/modlens.git v3.27.1 · 7d ago

The first vision plugin for DeepSeek Harness, and the vision bridge for every text-only coding agent. Paste an image, get structured JSON evidence (OCR, layout, semantics). | 全网最强 DeepSeek Harness 外挂视觉插件,为 DeepSeek、GLM 等纯文本模型外挂视觉能力,粘贴图片即得结构化 JSON 证据(OCR、版面、语义)。

+10
stars, 24h · #1,433
+~70
stars, 7 days · #1,812
+~300
stars, 30 days · #1,738
4.4k
★ total · +2% this week
133
forks · 6 open issues

Star history (as recorded here)

2026-10-20 · 4,361 ★ 2026-10-22 · 4,396 ★
LanguageTypeScript
LicenseMIT
Created2026-02-22 (8mo ago)
Last push7d ago
Watchers5
OwnerUser

GitHub topics

Links

README excerpt
ModLens 
 Give a text-only model sight, and just paste the image. 
 🥇 The most capable vision plugin for DeepSeek Harness (dsh) 🥇 
 简体中文 ·
 Configuration ·
 Troubleshooting ·
 Security ·
 🔍 ModSearch (the best free web search plugin for DSH) 
DeepSeek's flagship chat models, and GLM-5.3 itself, are text-only and cannot read images. GLM-5.3-Flash is native multimodal. ModLens is a plug-in vision engine that gives a text-only model sight. **ModLens reads images pasted straight into the chat**, no saving to a file and passing a path first.
## Talk to us
Issues are welcome any time: open one. Follow the liustack WeChat official account, and come find me on X: **@liustack**. What you built with it, which harness you are on, and what should come next are all shared on WeChat and X. A proper community space is on the way.
## Highlights
**🥇 The most capable vision plugin for DeepSeek Harness (dsh):** install it instantly with one command: `npx -y @deepseek-ai/dsh plugin --profile web add @liustack/modlens@3.27.1`. See the setup guide for installation and update details. If the command line is not your thing but you still want to try DSH, check out AIManager , the lightest desktop wrapper for DeepSeek Harness. It gets you started with zero code or configuration and installs every dependency for you with one click.
Pasting an image works two ways. **① Just paste.** On a text-only model the pasted image lands as a private temp file and its path enters the composer (the same interaction OpenCode and Pi ship), then the `modlens_read_image` tool takes it from there. **② Pick a `(modlens vision)` entry** in the model selector (it remembers your choice, so once is enough), then paste: the thumbnail stays visible in your message, closer to the Codex app feel, and the image is converted to structured evidence at request time, answered by the same underlying route. The plugin auto-discovers every provider route carrying eligible text-only DeepSeek, GLM, or MiMo Pro models and adds a wrapped entry per route. A stock install gets **`DeepSeek-V4-Flash (modlens vision)`** and **`DeepSeek-V4-Pro (modlens vision)`**, while extra routes like opencode-go or zai get their own. Native vision models in those families, including GLM-5.3-Flash, are excluded automatically. Which paste route applies is the host's per-model call: only a model its metadata positively confirms text-only is taken over, anything unconfirmed is left alone, so vision models keep their native paste (details).
**Paste images directly in every harness.** No saving to a file and passing a path first.
A hotkey that captures the screen into DeepSeek Harness is a separate plugin: dsh-screenshot.
- **The lightest touch on the market.** No hooks, no wrappers, no local proxy daemon, not a single line changed in any harness config: on the skill harnesses it is exactly one skill folder, on dsh exactly one plugin. Uninstalling is deleting a folder, and your agents are back to stock.
- **Zero-config start.** Reuses e