Skip to content

chaos-03x/dsh-agy

81Last commit Aug 16, 2026

dsh-agy DSH plugin

dsh-agy is a DSH plugin that provides OAuth-based access to Google Antigravity (agy) cloud code API. It includes a multi-account pool with automatic rotation on rate limits, encrypted credential storage, device fingerprinting, and both a web dashboard and a CLI for management.

How to install the dsh-agy DSH plugin

dsh plugin --profile web add dsh-agy

Copying does not run this command. Review the repository and version before installing the dsh-agy DSH plugin.

dsh-agy DSH plugin data source

dsh-agy DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-agy DSH plugin can do

  • OAuth login with browser callback, headless paste-URL mode, and remote paste-credential blob channel.
  • Multi-account pool with encrypted storage, automatic rotation on 429 rate limits, per-account cooldown and tiered backoff.
  • Per-account device fingerprinting and user-overridable fingerprint pools.
  • Web dashboard at /agy (when DSH Web is running) for login, account management, per-model quota bars, credential export/import, and fingerprint management.
  • CLI commands: login, status, import, export, verify, logout.
  • Import/export credentials as paste blobs for secure transfer between environments.

Where the dsh-agy DSH plugin fits

  • Use agy provider in DSH Web GUI with one-click OAuth login.
  • Manage multiple agy accounts on a headless server via CLI, with automatic rotation on rate limits.
  • Import authorized credentials from another machine or from a teammate.
  • Export account credentials as blobs to share or backup.
  • Test per-model quota availability and health check via CLI or web dashboard.

Who the dsh-agy DSH plugin is for

  • DSH users who need to access the agy provider (Google Antigravity cloud code API).
  • Developers running DSH on headless servers or in CI environments.
  • Users who want to manage multiple agy accounts with automatic failover under rate limits.

dsh-agy DSH plugin limitations

  • Only works with Google Antigravity (agy) provider; not generic for other providers.
  • Requires Node.js >= 22.
  • Cache hit rate is lower than DeepSeek's due to upstream mechanics (16k token threshold and lagging cache updates).
  • Use may violate Antigravity's terms of service; accounts can be rate-limited, throttled, or banned.
  • Multi-account rotation and device fingerprinting are enabled by default and work around upstream limits, use at user's own risk.

dsh-agy DSH plugin: from the repository README

Quoted from the chaos-03x/dsh-agy README, the upstream source of the dsh-agy DSH plugin. Copyright remains with the original authors.

Google Antigravity (agy) access for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness): OAuth authentication, a multi-account pool with automatic 429 rotation, device fingerprinting, and both CLI and web management. > 中文文档:[docs/README_zh.md](docs/README_zh.md) ## Features - **OAuth login**: one-click sign-in via browser OAuth callback, with headless paste-URL mode and a remote paste-credential blob channel. - **Two management surfaces**: web and CLI, either one works, core features are the same. - **Multi-account pool**: encrypted account store, automatic rotation on rate limits, per-account cooldown with tiered backoff, per-account device fingerprints. - **Quota dashboard**: only active when DSH Web is running; append `/agy` to your dsh web address: login, account management, per-model quota bars, model testing, credential export/import, fingerprint management. - **CLI**: `dsh-agy login|status|import|verify|logout` works standalone, with or without a harness. ## Screenshots The `/agy` dashboard inside DSH Web — account cards, per-model quota bars, and one-shot model tests: ![dsh-agy dashboard](https://raw.githubusercontent.com/chaos-03x/dsh-ag

Read the full READMERepository license: MIT

dsh-agy DSH plugin questions

How do I install dsh-agy as a DSH plugin?

Run `dsh plugin --profile web add dsh-agy` if you have dsh CLI installed. Alternatively, use `npx @deepseek-ai/dsh plugin --profile web add dsh-agy`. After installation, start DSH Web and open http://127.0.0.1:3080/agy to access the dashboard.

Can I use dsh-agy without a browser?

Yes, you can use the CLI in headless mode. Run `npx dsh-agy login --headless` to get an auth URL, then open it in a browser on another machine, and paste the redirect URL back. The CLI will complete the OAuth flow without a browser on the server.

How does the multi-account pool work?

Accounts are stored encrypted in `~/.dsh/agy-accounts.json`. When a request gets a 429 rate limit, the plugin automatically switches to the next account. Different types of 429 responses have different cooldowns: soft rate limits retry immediately, rate_limited gives 5 minutes, quota_exhausted gives 24 hours. You can manage multiple accounts via `dsh-agy login` or import them.

Why is the cache hit rate lower than expected?

The agy provider's cache mechanics differ from DeepSeek's. First, caching only starts when the request prefix exceeds ~16k tokens (DSH's default system prompt is ~13k). Second, cache updates lag by about two rounds, causing misses in intermediate requests. The hit rate improves as conversation length grows, but you should not expect 99% from agy.

Is it safe to use dsh-agy? Are there any risks?

This plugin authenticates with Google's consumer OAuth client that ships with the Antigravity desktop product and uses the Antigravity Cloud Code API outside of that product. This may violate Antigravity's terms of service. Use at your own risk — accounts can be rate-limited, throttled, or banned. Multi-account rotation and device fingerprinting are enabled by default and designed to work around upstream limits. You are responsible for any account consequences.