Back to home

dttxorg

deepseekeyes

Auditable vision and cross-platform Computer Use runtime for DeepSeek Harness — strict evidence, health-checked failover, original pixels, and Token accounting.

Stars
0
Language
JavaScript
Created
Aug 14, 2026
Updated
Aug 15, 2026

Introduction

DeepSeekEyes — vision evidence flows through a trusted bridge into DeepSeek reasoning

DeepSeekEyes logo

DeepSeekEyes

Give DeepSeek sight without leaving the conversation.

An auditable vision and cross-platform Computer Use runtime for DeepSeek Harness.

简体中文 · Quick start · How it works · Computer Use · Token accounting · X / @lucars2026

Follow @lucars2026 on X Latest release npm version CI status DeepSeek Harness plugin Node.js >= 22.19 MIT License

DeepSeek's strongest text models can reason about code, documents and interfaces, but they do not consume image pixels. DeepSeekEyes is the DSH runtime that makes those pixels auditable: it selects and health-checks visual routes, validates every nested evidence field, binds evidence to original bytes, records failover, and keeps DeepSeek as the reasoning model.

No window switching. No manual transcription. No lossy screenshot relay.

This is not another captioning window. It is the DSH auditable vision and Computer Use runtime for image evidence, Browser automation and native Windows/macOS control.

Why DeepSeekEyes

RequirementWhat DeepSeekEyes does
One conversationImage → vision evidence → DeepSeek reasoning → optional visual follow-up all happen inside the current Harness task.
Original pixels stay authoritativeUser images are not resized, converted or recompressed. Every reread references the original content-addressed attachment.
The models can communicateDeepSeek can request a precise region or detail instead of depending on one oversized first description.
No surprise text overheadPure-text turns keep the direct model path: no visual call, no Computer Use tool and no DeepSeekEyes usage entry.
The eye is verifiedStatic image-capability metadata is followed by an optional randomized 3×3 pixel probe. A text-only model cannot silently pose as the eye.
Routes fail over visiblyOrdered visual routes, health TTL, circuit cooldown and bounded attempts are persisted without prompt/image contents.
Evidence is a contractOne public JSON Schema generates a compact model-friendly shape and drives strict Ajv validation; unknown or malformed nested fields stop the route.
Automation is built inBrowser Computer Use plus native Windows/macOS desktop control can observe, act, verify and preserve evidence.
Usage is visibleThe native settings card separates exact Provider usage, estimated bridge input and normal final-answer usage.

Quick start

1. Install, upgrade or diagnose

npx -y @dttxorg/deepseekeyes@latest install
npx -y @dttxorg/deepseekeyes@latest upgrade
npx -y @dttxorg/deepseekeyes@latest doctor

These commands work in macOS/Linux shells and Windows PowerShell. Use --profile NAME when the DSH profile is not web. Restart dsh web once after installation or upgrade.

2. Configure entirely in Harness

  1. Open Settings → Models and add the text Provider/model and multimodal Provider/model you already use.
  2. Open Settings → Plugins → DeepSeekEyes.
  3. Select:
    • Final answer Provider + model — the DeepSeek model that reasons and replies;
    • Background vision Provider + model — the multimodal model that reads pixels.
  4. Keep the randomized pixel probe enabled for the first real image.
  5. Save, then select the DeepSeekEyes model entry in the conversation model picker.

Custom OpenAI-compatible gateways can be declared image-capable from the same card; the plugin writes the exact Harness defaultInput: [text, image] setting without replacing sibling Provider fields.

3. Paste an image

Ask normally:

Read this screenshot, identify the failure, and tell me the next action.

DeepSeekEyes automatically reads the new image, gives DeepSeek structured evidence, and preserves the original for later targeted questions.

How it works

flowchart LR
    A["Original image attachment"] --> B["DeepSeekEyes bridge"]
    B --> C["Ordered routes + health check"]
    C --> C2["Verified multimodal model"]
    C2 --> D["Strict schema-valid, hash-bound evidence"]
    D --> E["DeepSeek final-answer model"]
    E -->|needs one more detail| F["Precise visual question"]
    F --> C
    E --> G["Answer in the same conversation"]
    B -. preserves .-> H["Original bytes + append-only event"]

The first read is deliberately not the end of the visual conversation. DeepSeek may emit a bounded private clarification request naming the image SHA-256, one exact question and an optional normalized region. The eye rereads the original pixels and returns targeted evidence; DeepSeek then continues reasoning.

Historical images are compacted into bounded SHA-256 pointers. They cause no automatic reread, but the session-scoped deepseekeyes_look tool can recover one preserved original on demand—even after switching to a native text-only model.

Capability matrix

CapabilityStatusNotes
Native pasted-image bridgeOriginal Harness attachment stays in the append-only session log.
DeepSeek ↔ vision clarificationBounded, precise questions against the same original image.
Vision-model capability probeMetadata gate plus randomized pixel test.
Canonical evidence JSON SchemaOne source drives prompts and rejects invalid nested fields.
Route health and failover auditPriority, health TTL, circuit cooldown and bounded attempts.
Custom multimodal gatewaysOpenAI-compatible routes can be declared from the GUI.
Browser Computer UseOpen, observe, click, type, select, wait, assert, report and close.
Windows desktop Computer UsePowerShell + native user32/System.Drawing helper.
macOS desktop Computer UseJXA + CoreGraphics/System Events/screencapture helper.
Lossless oversized screenshotsRecompressed without pixel changes, then tiled only when the Host's 5 MB limit requires it.
Local Token accountingExact Provider usage plus clearly labelled bridge estimates.
Public visual evalScreenshot, dense text, chart, UI and prompt-injection cases with accuracy/latency/Token output.
Pure-text isolationNo visual call, screenshot or Computer Use prompt when none is needed.

Computer Use

Both automation modes are off by default and are enabled independently from Settings → Plugins → DeepSeekEyes.

Browser Computer Use

The Playwright-powered browser loop returns a fresh screenshot and semantic element references after every action. Mutations require the latest stateId, stale actions are rejected, and an assertion/report loop turns the same feature into an automatic test runner.

Supported operations include navigation, observation, click, type, select, check, keyboard input, wait, visual assertions, evidence reports and session close.

Windows / macOS Desktop Computer Use

The native computer tool can:

  • observe the current display and window catalog;
  • move, click and drag the pointer;
  • type Unicode text and keyboard shortcuts;
  • scroll, wait, launch and focus applications;
  • move, resize and close windows;
  • run visual assertions and save evidence reports.

Every action is bound to the newest screenshot state and returns another full-screen PNG through the same visual bridge. Native Desktop Computer Use is implemented for Windows and macOS; Browser Computer Use remains available wherever the configured Chromium runtime is available.

Token accounting

The native plugin card exposes Token usage statistics without making a statistics model call.

CounterMeaning
Exact additional TokensProvider-reported pixel probe, initial read, targeted reread and DeepSeek visual-clarification rounds.
Estimated bridge inputEvidence/protocol/tool text injected by the plugin, estimated with the Harness fixed-density rule.
Estimated plugin totalExact additional usage plus estimated bridge input.
Final model visual-turn usageRecorded separately and excluded from plugin overhead, so DeepSeek's normal answer is not charged to the plugin.
Operational countersVisual turns, original-image rereads and vision-cache hits.

Statistics refresh/reset uses the loopback-only /deepseekeyes RPC. Data is atomically stored at $DSH_HOME/deepseekeyes/usage-stats.json with mode 0600 and a 50-session detail limit. A temporary write failure keeps counting in memory and does not interrupt the user's turn.

Disable collection in the GUI or use:

export DEEPSEEKEYES_USAGE_STATS=false

Data integrity by design

  • User images pass through ctx.attachments.readImage() as the original Harness ImageBlock.
  • Original MIME type, byte length, dimensions and SHA-256 are recorded with the evidence.
  • Visual evidence is validated against the public schemas/visual-evidence.schema.json before DeepSeek sees it; a compact example is generated from that same source for 0.2-compatible model prompting, and every nested object still rejects extra fields.
  • Common model coordinate conventions (normalized/pixel xywh, normalized/pixel xyxy, and Qwen 0–1000 xyxy) are deterministically normalized and audited without another model call.
  • A targeted reread references original pixels—not a thumbnail, JPEG copy or summary of a summary.
  • Failed vision calls, invalid evidence or exhausted clarification bounds stop the visual turn instead of inviting a guess.
  • Browser/Desktop screenshots carry content-addressed state and stale-action protection.
  • Typed text and launch arguments are hashed in persisted Computer Use reports.

Configuration reference

The common route and automation settings are available in the GUI. Headless deployments may use the same fields in cordis.patch.yml or environment variables.

AreaImportant fields
Model routingupstreamProvider, upstreamModel, visionProvider, visionModel
Vision validationautoDetectVision, activeProbe, maxClarifications
Route reliabilityvisionRoutePriority, visionHealthCheck, visionFailoverAttempts, health TTL/cooldown and attempt retention
Visual budgetsbaseMaxTokens, targetMaxTokens0 delegates the limit to the Provider
History boundshistoryImageLimit, historySummaryChars, browserHistoryLimit, desktopHistoryLimit
BrowserbrowserComputerUse, channel/executable, viewport, timeout and observation bounds
DesktopdesktopComputerUse, timeout, settle delay, display, PowerShell and evidence directory
UsageusageStats, usageStatsPath

See the complete Chinese configuration reference for every field and default.

Verification

npm ci
npm run check
npm run eval:fixture
npm run test:coverage
npm run test:browser
npm run test:desktop
npm audit --omit=dev

The release is continuously checked on Ubuntu, macOS and Windows. Native helper parsing/compilation and desktop observation run on their respective CI hosts.

Run a real multimodal Provider against the public suite with npm run eval:live; see evals/README.md. The committed fixture-oracle result validates 5 cases and 30 assertions while remaining explicitly separate from a model benchmark.

Runtime documentation

Community

Built something with DeepSeekEyes, found an edge case, or want a new Computer Use action?

  • Open a GitHub issue.
  • Follow and message @lucars2026 on X for release notes and project updates.
  • Star the repository if the bridge saves you a window switch—the next developer will find it faster.

License

MIT