# modlens | liustack | Knowledge Base | Instagit

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、版面、语义）。

GitHub Stars: 3.7k

Repository: https://github.com/liustack/modlens

---

## Articles

### [How ModLens Recovers Pasted Images from LLM Harness Session Storage](/liustack/modlens/how-modlens-recovers-pasted-images-harness-storage)

Learn how ModLens recovers pasted images from LLM harness session storage. It uses process inspection, harness-specific adapters, and secure file writing for efficient retrieval.

- Tags: how-to-guide
- Published: 2026-08-25

### [How ModLens Uses extraBody Configuration to Pass Provider-Specific Options](/liustack/modlens/modlens-extra-body-configuration-provider-specific-options)

Discover how ModLens extraBody configuration passes provider-specific options to OpenAI, Gemini, and Anthropic. Deep-merge JSON payloads securely without altering core code.

- Tags: deep-dive
- Published: 2026-08-25

### [How to Set the Proxy Configuration for ModLens API Providers](/liustack/modlens/how-to-set-modlens-api-provider-proxy)

Learn how to set proxy configuration for ModLens API providers. Explore global, per-provider, and environment variable settings with provider-specific overrides.

- Tags: how-to-guide
- Published: 2026-08-25

### [How ModLens Chains Vision Providers for Failover: Provider Selection Logic Explained](/liustack/modlens/modlens-provider-selection-logic-chaining)

Discover how ModLens chains vision providers for failover. Learn about its provider selection logic, prioritizing local over remote and respecting user preferences for a robust sequence.

- Tags: architecture
- Published: 2026-08-25

### [ModLens VisionProvider Interface: Methods, Types, and Implementation Patterns](/liustack/modlens/modlens-provider-common-interface-methods)

Explore the ModLens VisionProvider interface, its key methods like buildInvocation and execute, and understand how it unifies subprocess and in-process API execution patterns.

- Tags: api-reference
- Published: 2026-08-25

### [How to Set Up and Use the antigravity-cli Provider in ModLens](/liustack/modlens/modlens-antigravity-cli-provider-setup-speed)

Learn how to set up and use the antigravity-cli provider for ModLens. Process images with Google Gemini in 15-45 seconds using this keyless backend.

- Tags: how-to-guide
- Published: 2026-08-25

### [CLI-Based Providers in ModLens: How They Work and When to Use Them](/liustack/modlens/modlens-cli-based-providers-how-they-work)

Understand ModLens CLI providers antigravity-cli claude-cli and kimi-cli Analyze images using external command-line tools and get structured JSON evidence for LLM workflows.

- Tags: how-to-guide
- Published: 2026-08-25

### [How to Use the Anthropic Provider in ModLens with an Existing API Key](/liustack/modlens/how-to-use-modlens-anthropic-provider)

Learn how to use the Anthropic provider in ModLens with your existing API key. Easily configure via config file or environment variable for seamless vision analysis.

- Tags: how-to-guide
- Published: 2026-08-25

### [Characteristics of the Gemini-API Provider in ModLens: In-Process Vision Analysis](/liustack/modlens/modlens-gemini-api-provider-characteristics)

Explore the gemini-api provider in ModLens, an in-process vision solution executing HTTP requests to Google's Gemini API with JSON schema validation and support for local/remote images.

- Tags: deep-dive
- Published: 2026-08-25

### [The Six Built-In Providers in ModLens: Complete Configuration Guide](/liustack/modlens/modlens-six-built-in-providers)

Explore the six built-in ModLens providers antigravity-cli gemini-api openai anthropic claude-cli and kimi-cli for flexible image analysis. Configure local or remote processing easily.

- Tags: getting-started
- Published: 2026-08-25

### [How to Install and Uninstall ModLens as a Skill Plugin](/liustack/modlens/how-to-install-uninstall-modlens-skill-plugin)

Install and uninstall ModLens as a skill plugin by copying its folder into your AI harness skills directory. Access the modlens vision command easily without system package managers.

- Tags: how-to-guide
- Published: 2026-08-25

### [ModLens Integration Requirements for Host Applications: A Complete Guide](/liustack/modlens/modlens-integration-requirements-host-applications)

Learn ModLens integration requirements for host applications. Provide image input, configure a vision provider, and invoke the CLI for JSON evidence. A complete guide for developers.

- Tags: how-to-guide
- Published: 2026-08-25

### [How ModLens Handles Multiple Vision Backends with Different Speeds and Costs](/liustack/modlens/modlens-handling-multiple-vision-backends)

Learn how ModLens intelligently manages multiple vision backends. Discover its prioritized fail-over and automatic speed/cost optimization for efficient processing.

- Tags: architecture
- Published: 2026-08-25

### [Understanding the Role of the Provider System in ModLens Architecture](/liustack/modlens/modlens-provider-system-role-architecture)

Discover the ModLens provider system's role as a unified abstraction layer. It handles back-end vision variability, dynamic resolution, and failover for CLI tools, in-process APIs, and remote services.

- Tags: architecture
- Published: 2026-08-25

### [How ModLens Gives Text-Only LLMs the Ability to Analyze Images](/liustack/modlens/how-modlens-gives-text-only-llms-image-analysis-ability)

Discover how ModLens empowers text-only LLMs to analyze images by converting visuals into structured JSON evidence. Learn to read, quote, and reason over visual data.

- Tags: how-to-guide
- Published: 2026-08-25

