English | 简体中文
# dsh-browser-vision — a browser tool for DeepSeek that can see the page
[](https://github.com/topics/dsh-plugin)
[](LICENSE)
A fully contained [browser-use](https://github.com/browser-use/browser-use) tool driven by **DeepSeek** through DeepSeek's OpenAI-compatible API. It is designed as a **cheap and fast** alternative to running browser-use with a general-purpose model, and to be **callable from any agent or harness** (Codex, Claude Code, OpenCode, custom evals, CI, ...) via a plain CLI with a machine-readable JSON mode.
Since DeepSeek shipped `deepseek-v4-flash-vision-exp`, the agent can **look at the page**, not just read its DOM. That model is priced identically to the text Flash model, and a screenshot costs at most **384 input tokens**, so vision is no longer a premium feature to be switched off for cost. It is **on by default**, and the eval suite says that is also the cheapest setting.
What makes it cheap and fast (all overridable via env):
- **DeepSeek Flash** (`deepseek-v4-flash`) / **Flash Vision** (`deepseek-v4-flash-vision-exp`) — far cheaper and faster than GPT-class models, and the same price as each other.
- **Vision by default** (`DSBROWSER_VISION_MODE=on`) — a screenshot every step, because a blind agent burns whole step budgets on tasks it cannot see, and steps cost more than pictures.
- **Flash mode, no judge, no planning** — fewer extra LLM calls per task.
- **One shared browser** — a single Chrome instance is reused across all tasks in a process; the eval suite runs all cases in one browser instead of one Chrome per case.
## Vision
`DSBROWSER_VISION_MODE` (or `--vision`) has three settings:
| Mode | Model | Behaviour | Use it when |
|---|---|---|---|
| `on` **(default)** | `deepseek-v4-flash-vision-exp` | A screenshot rides along with every step | General use, and everything visual |
| `auto` | `deepseek-v4-flash-vision-exp` | DOM-driven; browser-use registers a `screenshot` tool the agent calls when it decides it needs one | Long text-heavy runs where most steps genuinely need no picture |
| `off` | `deepseek-v4-flash` | DOM only, no screenshots ever | Pure text and form work, or when no vision quota is available |
Vision works the same headless and headed — screenshots come off the same CDP call either way. `dsbrowser "task" --no-headless --vision on` is a supported way to watch the agent look at a page, and the eval suite takes `--no-headless` for exactly that.
What vision unlocks, which the DOM cannot answer at all:
- text drawn on a `