Antigravity provider for DeepSeek Harness: resolves the OAuth client from the locally installed official desktop app and supports multiple accounts with quota-based automatic switching.
Install
# from npm (prebuilt)
dsh plugin --profile web add agy-next
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:kizaki-R/Antigravity-Next-for-DSH
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
An unofficial model provider plugin for DeepSeek Harness (DSH). It connects locally installed Google Antigravity / Cloud Code Assist models directly to your DSH agent loop under provider id agy-next.
Disclaimer: Unofficial integration. Not affiliated with, endorsed by, or officially supported by Google or DeepSeek. Requires an authorized Google account and a local installation of the official Antigravity application.
Highlights
- Zero Cloud Console Setup: Resolves OAuth client pairs directly from your local Antigravity installation. No need to create a project or credentials in Google Cloud Console.
- Multi-Account Pooling: Add multiple Google accounts with quota thresholds. When one account runs out, the plugin automatically switches to a standby account.
- Quota Telemetry: Live quota progress bars for Gemini, Claude, and Gemini 4 Argon (5-hour and weekly windows) directly in the Settings panel.
- Reasoning Effort Control: Direct mapping for reasoning efforts (Low, Medium, High) across Gemini 4 Argon, Gemini 3.8 Flash, and Claude models.
- Local Credential Storage: Discovery is read-only. Tokens stay in
<DSH_HOME>/storages/agy-next-oauth.jsonand are never uploaded.
Requirements
- DeepSeek Harness:
0.1.5~0.2.x(fully compatible with the latest0.2.1series), Node.js>=20. - Official Antigravity App: Installed locally on Windows or macOS (Linux support in progress). Download from the official portal. The application does not need to be running.
- Google Account: With browser consent capability and access to Gemini / Cloud Code Assist models.
Installation
Method 1: DSH UI (Recommended)
- Open Plugins → + Add plugin in the DSH sidebar.
- Enter the repository URL:
(Or enterhttps://github.com/kizaki-R/Antigravity-Next-for-DSHagy-nextonce published to npm). - Select Install, then restart DSH.
Method 2: Local Developer Link (CLI)
For local development:
dsh plugin --profile <profile> add link:/absolute/path/to/agy-next
Make sure agy-next is in your profile's dsh.profile.bundles, then restart DSH.
Getting Started
1. Account Setup
In DSH, open Settings → AGY-Next:
- Check Status: Confirm DSH detects the local Antigravity installation path.
- Add Account: Click Sign in / Add account. A browser window opens for standard Google OAuth consent.
- Once authenticated, the account appears in the Account Pool with real-time quota bars.
CLI commands:
npm run login # Sign in account
npm run login -- --status # Check active account & quota
npm run login -- --force # Force re-authentication
npm run login -- --logout # Clear stored credentials
2. Custom Installation Path
If Antigravity is installed in a non-standard location, set the environment variable before starting DSH:
# PowerShell
$env:AGY_NEXT_INSTALL_PATH = 'C:\Custom\Path\To\Antigravity'
Configuration
Custom parameters can be set in your profile's cordis.yml:
- id: agy-next
name: agy-next
config:
credentialPath: "" # Default: <DSH_HOME>/storages/agy-next-oauth.json
streamIdleTimeoutMs: 300000 # Idle stream protection timeout (ms, default 5 mins)
discoveryTimeoutMs: 8000 # Local client discovery timeout (ms)
projectCacheTtlMs: 1800000 # Project metadata cache TTL (ms, 30 mins)
runtimeModel: "" # Optional: pin a specific upstream model id
Supported Models
| Model Family | Key Models | Context Window | Key Capabilities |
|---|---|---|---|
| Gemini 4 Argon | gemini-4-argon |
1M tokens | Low / Medium / High reasoning efforts, 5h & weekly quota telemetry |
| Gemini 3 / 2.5 | gemini-3.8-flash, gemini-3-flash, gemini-2.5-pro, gemini-2.5-flash |
1M tokens | High-speed multimodal streaming, tool calling |
| Claude | claude-sonnet-5-5, claude-opus-5-5, claude-opus-4-6, claude-sonnet-4-6 |
1M tokens | Deep integration with Cloud Code Assist Claude runtime |
| Open Source | gpt-oss-120b |
128k tokens | High-parameter open-weights inference |
Development
Run offline tests inside agy-next/:
npm run check # Syntax validation across all 40 modules
npm test # Offline regression suite (21 fixture tests)
npm run test:peers # Strict host peer contract test (requires AGY_PEER_ROOT)
To run peer contract tests, export the DSH runtime dependency path:
$env:AGY_PEER_ROOT = 'C:\path\to\dsh\node_modules'
npm run test:peers
Security
- No Hardcoded Secrets: The repository contains no Google Client IDs or Client Secrets. Values are resolved dynamically at runtime from local application resources.
- Storage Isolation: Credentials are saved to
agy-next-oauth.jsonunder the DSH home directory. The official Antigravity app database is never read or modified. - Tombstone Cleanup: Signing out writes an empty book with
loggedOut: trueto prevent automatic re-import from legacy configurations.
License
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 55971
Adds free model lanes to DeepSeek Harness — DeepSeek V4.1 Flash, Kimi K3 and others — with no login, sign-up or API key, plus a local OpenAI-compatible gateway, fallback routing and a usage dashboard.
dingminhua/dsh-connect-workbuddy★ 993
Connects locally signed-in WorkBuddy models, CN and international alike, to DSH, reading each model's credit multiplier from the upstream catalog on every refresh, with per-model image input toggles, account switching backed by an auto-failing-over pool, manual daily check-in, and read-only credit overviews shown as compact pills on the card and in the composer.
Alice-Marx/dsh-model-router★ 603
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
V1ki/dsh-plugin-subscriptions★ 546
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
Mars-Sea/dsh-commandcode-provider★ 446
Unofficial Command Code LLM provider: registers a `commandcode` route with a live model catalog and reasoning-effort support.
FishBottle7/opencode2dsh★ 384
Exposes OpenCode Zen free models to DeepSeek Harness, with no API key.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.