DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

Battiatus /

Battiatus/dsh-gemini-antigravity-auth

Verified

Gemini for DeepSeek Harness (DSH) via Google Antigravity OAuth: multi-account quotas, Google Search grounding, image, audio, video and PDF understanding.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@681fa1c3

dsh-gemini-antigravity-auth

Gemini for DeepSeek Harness, with your Google Antigravity subscription.
Sign in with Google, pick a Gemini model, and let your agent search the web and understand images, audio, video and PDFs.

Install · Features · Usage · FAQ · Français

DeepSeek Harness plugin Gemini License MIT


dsh-gemini-antigravity-auth is a DeepSeek Harness (DSH) plugin that adds Google Gemini models through Google Antigravity OAuth. No API key, no extra CLI: you log in with your Google account and the Gemini models appear in the DSH model picker, next to your other providers.

Features

  • 🔐 Google sign-in (OAuth): one click from the settings screen or /agy login. No API key to copy.
  • 🤖 Your Antigravity models, as Google lists them: the picker shows exactly the models Google offers your account (Gemini, and Claude or GPT-OSS when your plan includes them), with Google's own names, read from your account at sign-in.
  • 🧠 Reasoning levels: one entry per model family (Gemini 3.8 Flash, Gemini 4 Argon, Claude…) with Low / Medium / High in the DSH reasoning picker. The level really reaches Google (thinking budget), and the model's reasoning shows in the conversation.
  • 👥 Several Google accounts: add, switch and remove accounts, and see each one's 5-hour and weekly limits per model group (Gemini, Claude and GPT, Argon), as in Antigravity.
  • 🎨 agy_image tool: your agent creates images, or edits up to 5 images from the working folder, with the image model Google offers your account (Nano Banana).
  • 🔁 Resilient calls: a refused token is refreshed and the request replayed, a busy server is retried, and a used-up quota says when it resets.
  • 🖼️ Multimodal attachments: images, audio, video and PDF attached to a message go straight to Gemini.
  • 🔎 agy_web_search tool: Google Search grounding with sources, usable by any agent.
  • 🎬 agy_media tool: your agent can analyse an image, audio, video or PDF file from the working folder (up to ~36 MB).
  • 🎛️ Access switches: turn the Gemini models, web search or media analysis on and off, and hide the models you don't use.
  • 🧩 Works with DSH tools: full tool calling, with tool schemas adapted to what Gemini accepts.

Install

Close DeepSeek Harness, then run:

dsh plugin --profile desktop add gemini-dsh

Restart DeepSeek Harness. That's it.

Installing from the app's plugin screen instead? Paste the full address:

git+https://github.com/Battiatus/dsh-gemini-antigravity-auth.git

dsh: command not found? The CLI ships inside the app, in its runtime/cli/bin folder:

  • macOS: "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh"
  • Windows and Linux: resources/runtime/cli/bin/ inside the DeepSeek Harness install folder. Use a different --profile (for example web or tui) to install it in another DSH profile.

Update

dsh plugin --profile desktop update gemini-dsh

Uninstall

dsh plugin --profile desktop remove gemini-dsh

Usage

  1. Open Settings › Antigravity and click Sign in with Google (or type /agy login).
  2. Choose your Google account and approve access in the page that opens. If no page opens, click Open Google sign-in.
  3. Pick an Antigravity model in the model picker and start chatting.

Using DSH from another device (DSH web on a server, a phone, another PC): after you approve, Google sends your browser to a localhost:51121 page that does not load. Copy that page's full address from the address bar and paste it in the field under Open Google sign-in, or run /agy login <address>.

/agy command

Command What it does
/agy login Add a Google account: shows the sign-in link
/agy login <address> Finish a sign-in from another device with the address Google sent you to
/agy status List accounts, the active one is marked ●
/agy use <email> Switch the active account
/agy logout [email] Remove an account (the active one by default)

Agent tools

Tool What it does
agy_web_search Searches Google and answers with its sources
agy_media Describes, transcribes or analyses an image, audio, video or PDF file from the working folder
agy_image Creates an image from a description, or edits images from the working folder

FAQ

Is it official? No. It uses the same sign-in as Google Antigravity. Google has already suspended accounts used this way in third-party tools: use it at your own risk.

Where are my tokens stored? On your machine only, in ~/.dsh/agy-multimodal/accounts.json (permissions 0600). They are never shown in the UI. Access settings live in settings.json next to it.

Nothing happens after I approve in Google. Sign-in listens on 127.0.0.1:51121, the port Google requires for this client, on the machine running DSH. If your browser is on another device, or another Antigravity tool holds that port, copy the address of the page Google sent you to and paste it in Settings › Antigravity (or run /agy login <address>).

Settings show "fetch failed", a certificate error or no model (often on Windows or at work). If another tool's hosts entry or DNS blocker sends cloudcode-pa.googleapis.com to 127.0.0.1, the plugin asks your DNS servers for Google's real address for those Antigravity hosts only, so you don't have to change your system. The plugin also trusts your system's certificates (Windows store, macOS keychain, Linux CA bundle), so an antivirus or company proxy that inspects HTTPS is accepted like in your browser. The error now names the real cause: for DNS or a blocked connection, check your VPN or firewall; behind a proxy, set HTTPS_PROXY (for example http://proxy.company:8080) before starting DeepSeek Harness.

I get a 400 error about tool schemas. Update the plugin. Recent versions convert multi-type and tuple schemas into a form Gemini accepts.

Development

git clone https://github.com/Battiatus/dsh-gemini-antigravity-auth.git
cd dsh-gemini-antigravity-auth && npm install && npm test
dsh plugin --profile desktop add link:$PWD

With link:, DSH loads the plugin from your clone, so code changes apply at the next DSH launch.

No dependencies: the plugin only uses Node.js, so nothing third-party can break or compromise it.

License

MIT

Keywords: DeepSeek Harness plugin, DSH plugin, Gemini provider, Google Antigravity, Google OAuth, Gemini 4, Gemini Flash, multimodal LLM, image understanding, audio transcription, video analysis, PDF analysis, Google Search grounding, AI agent tools.

—/ 5

No ratings yet

Verified DSH bundle

Commit 681fa1c3ff08

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout