qikairo7/dsh-gemini-pool: Using Google Gemini Subscription in DSH

Preface

DeepSeek Harness (DSH) does not natively include direct connectivity to Google Gemini. This plugin serves to bridge this gap: by reusing the Antigravity channel, it transforms an existing Google AI Pro subscription into a usable model provider for DSH. No additional API keys are required; it directly utilizes your subscription quota.

For developers working with front-end code, UI design, or multimodal interactions, this plugin enables the direct invocation of Gemini’s capabilities within the DSH context. It also includes built-in multi-account management, automatic scheduling, and a visual bypass mechanism, making it suitable for developers seeking stable access using their Gemini subscription.

Plugin Positioning

This is a model inference plugin maintained by qikairo7.

Its core value lies in two aspects:
1. Quota Reuse: Converts Google subscription quota into usable resources for DSH.
2. Multi-Account Pool: Supports managing multiple Google accounts, with automatic handling of 429 errors and recovery for compromised accounts.

Core Features

Based on verified facts, the plugin offers the following features:

  • Multi-Account Management: Supports adding multiple Google accounts to form an account pool.
  • Automatic Scheduling: Built-in strategies for intelligent load balancing, primary/backup failover, or manual specification to automatically select healthy accounts.
  • Subscription Billing: Pay-as-you-go based on subscription quota with no extra token thresholds.
  • Visual Bypass: When the primary model lacks vision capabilities, the plugin automatically transcribes images into text descriptions and feeds them back, requiring no extra configuration.
  • Image Generation Tool: Integrated image generation tool.
  • Transparent Status: The settings page provides a real-time quota bar for each account for clear visibility.
  • Fault Tolerance: Seamless account switching upon encountering 429 errors; compromised accounts automatically enter a cooldown and liveness recovery process.

Installation and Activation

Environment Requirements: DeepSeek Harness version 0.2.0-rc.2 (currently verified version).

Install the plugin using the following command:

dsh plugin --profile web add github:qikairo7/dsh-gemini-pool

Once installation is complete, check the model provided by the plugin in DSH’s model selector to start using it.

Usage Examples

After installation and account login, daily operations primarily revolve around conversation and account management.

  1. Log in to Google Account
    You can do this via the graphical interface or command line. The GUI path is: DSH Settings → Antigravity → Click “+ Add Google Account”.

  2. Check Quota
    Use the command /antigravity-quota to view the remaining quota status of each account.

  3. Diagnostics and Maintenance
    If you encounter issues, use /antigravity-doctor for self-checks and diagnostics.

  4. Viewing Images without Vision in Primary Model
    Even if the primary model does not support image viewing, pasting an image will automatically result in a text description provided by the Gemini in the pool, requiring no additional configuration.

Network and Configuration Requirements

The plugin itself contains no proxy code. All requests to Google are made via fetch within the host process.

This means you must ensure that the host (DSH) has a network proxy configured. The plugin reads HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, or NO_PROXY from the host environment variables (written in the Harness’s .env file) to establish connections.

It is recommended to configure proxy addresses in the host’s .env file, for example:

HTTP_PROXY=http://127.0.0.1:7897
HTTPS_PROXY=http://127.0.0.1:7897

Risk Warnings and Precautions

Using this plugin carries significant account risks. Please be sure to understand the following before use:

  1. Terms of Service Violation: This is an unofficial third-party tool. By reusing the Antigravity identity to access Google interfaces, it violates Google’s Terms of Service.
  2. Account Ban Risk:
    • First-time violations typically result in email notifications and a re-authentication process, with automatic unblocking after 1–2 days.
    • A second violation will result in a permanent ban.
    • Google may conduct spot checks and penalties, and the scope of the ban may involve Antigravity resources or the entire Google account.
  3. Recommendations for Mitigating Risk:
    • It is recommended to use a secondary account (alt account) and avoid using your primary account bound to important assets.
    • Be restrained in usage; do not intentionally stress-test quota limits.
    • Prepare for the channel to become invalid at any time.
  4. Privacy and Data: Data is transmitted via direct connection within the process without passing through any intermediary servers, making it relatively secure.

Conclusion

qikairo7/dsh-gemini-pool provides DSH users with a direct path to utilize their Google AI Pro subscription. Through account pool management and automatic scheduling, it addresses the pain points of multi-account management; through direct in-process connection, it ensures data privacy.

For developers who frequently need to invoke Gemini capabilities, this is a practical solution that eliminates the need to purchase relay API keys, though you must be prepared to bear the corresponding account risks.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye