DSH Plugins Marketplace

DSH Plugins

Plugins

/

Models & Providers

/

dsh-agy-native

d

dsh-agy-native

Manifest valid

Native LlmAdapter for Google AI Pro and Ultra subscriptions over official agy acp --stdio: loopback Streamable-HTTP eager MCP tool bridge with 25ms parallel micro-batching, sticky worker pool with iso

hasBundlePatch

dsh-agy-native

简体中文 | Security & TOS Policy

TOS-safe native DeepSeek Harness (dsh) LLM provider for Google AI Pro / Ultra subscriptions via the official Antigravity CLI (agy acp --stdio).

dsh-agy-native connects your existing Google AI Pro / Ultra subscription (agy login) into DeepSeek Harness as a first-class LlmAdapter — without third-party OAuth token scraping, without unofficial cloudcode-pa HTTP requests, and without brittle OpenAI proxy wrappers.

How DSH and AGY collaborate in one turn


Why dsh-agy-native?

Third-party OAuth proxies that impersonate Antigravity clients directly against Google's internal v1internal endpoints face active prompt-fingerprint detection (429 RESOURCE_EXHAUSTED -> 403 TOS_VIOLATION two-strike account bans). Meanwhile, naive CLI wrappers (agy -p) hide tool execution from DeepSeek Harness, breaking DSH approvals, subagents, and context orchestrators.

dsh-agy-native solves both problems cleanly:

  • 100% Official Binary Egress & Untouched systemInstruction (Zero OAuth Scraping) — Every upstream model request is authenticated and sent exclusively by your locally installed, Google-signed agy binary over the Agent Client Protocol (agy acp --stdio). Official systemInstruction components remain 100% untouched (excludeDefaultComponents is never set and third-party persona prompts are never appended into systemInstruction), backed by an attempt-1 upstream 429/403 circuit breaker that immediately cancels agy's internal 8-attempt retry loop to prevent retry storms.
  • First-Class Eager DSH Tools (eagerMcpServers) — Mounts a loopback-only (127.0.0.1:0) Streamable-HTTP MCP bridge with per-session cryptographic tokens so DSH tools appear to Gemini/Claude as native first-class tools (no call_mcp_tool lazy-loading indirection or 2 KB output truncation).
  • Parallel Tool Micro-Batching & Argument Sanitization — Coalesces concurrent MCP tools/call arrivals into unified DSH ToolCallBlock batches and strips agy-injected toolSummary fields to preserve additionalProperties: false schemas.
  • Warm ACP Worker Pool + Context-OS Resilience — Maintains warm conversation workers (no 10-minute idle kills), isolates auxiliary background requests (such as session title generation) onto a dedicated worker slot, and uses ReplayEnvelope turn anchors so dynamic context rewrites (e.g., dsh-context-os surfaceOp: 'replace') never break warm sessions.
  • Full Model & Thinking Level Support — Automatically discovers all models available to your subscription tier (Gemini 4 Neon including xhigh, Gemini 4 Carbon, Gemini 4 Argon, Gemini 4 Hydrogen including xhigh, Gemini 3.8 Flash, Claude Opus 5.5, Claude Sonnet 5.5, Orchestrator, etc.), native multimodal ImageBlock inputs, streaming reasoning chunks, and disjoint TokenUsage metrics.

Prerequisites

  1. Node.js >= 22.13.0
  2. Official Antigravity CLI (agy) installed (e.g., ~/.local/bin/agy or in PATH) and signed in:
    agy login
    
  3. Verify your local environment (uses zero model tokens):
    npx dsh-agy-native doctor
    

Installation in DeepSeek Harness

Install from npm

# Add to your Web GUI profile
dsh plugin --profile web add -w dsh-agy-native

# And/or add to your TUI / headless CLI profiles
dsh plugin --profile tui add -w dsh-agy-native
dsh plugin --profile headless add -w dsh-agy-native

Or install directly inside the DeepSeek Harness Web GUI → Settings → Plugins → search dsh-agy-native.

Install from a local build

git clone https://github.com/weijiafu14/dsh-agy-native.git
cd dsh-agy-native
npm install
npm test
npm pack
dsh plugin --profile web add -w ./dsh-agy-native-0.1.0.tgz

Once enabled, select Antigravity (Google AI Ultra / Pro) in the DSH model picker and choose both your model family (e.g., Gemini 4 Carbon, Gemini 4 Hydrogen) and reasoning effort (Low, Medium, High, XHigh).


Live Plugin Settings

dsh-agy-native exposes live-editable settings in DSH Settings (via @deepseek-ai/schemastery volatile fields):

OptionDefaultDescription
providerId"agy-acp"Provider route ID registered in ctx.llm.
providerName"Antigravity (AGY ACP)"Display name in selectors (auto-enriched with subscription tier, e.g. Antigravity (Google AI Ultra)).
agyPath""Explicit path to agy; auto-discovered from AGY_BIN, ~/.local/bin/agy, PATH, or standard install paths when empty.
poolSize2Maximum concurrent warm ACP conversation workers (1–8).
idleMinutes60Minutes before recycling an idle worker (0 keeps workers warm indefinitely).
batchWindowMs25Micro-batch window (ms) for coalescing concurrent MCP tool invocations.
maxToolOutputBytes180000UTF-8 safe byte cap per tool output returned over the MCP bridge.
resumeSessionstrueAttempt ACP session/load recovery across worker restarts before falling back to lossless structured transcript replay.
forwardContextUpdatestrueForward mutated developer context surfaces incrementally without tearing down warm ACP sessions.

Architecture Overview

DeepSeek Harness (Agent Loop + Context OS + Tool Sandbox + Attachments)
   │
   │  ctx.llm.registerAdapter(['agy-acp'], AgyAcpAdapter)
   ▼
AgyWorkerPool (Sticky conversation slots + isolated #auxSlot for title/summary)
   │
   ├──► stdio (JSON-RPC 2.0 ACP) ──► Official `agy acp --stdio` binary ──► Google Cloud Code (Official Auth)
   │                                    • enabledTools: []
   │                                    • eagerMcpServers: ['dsh']
   │                                    • default prompt components preserved
   │
   └──◄ 127.0.0.1:0 Streamable HTTP MCP (`x-dsh-mcp-token`) ◄── Eager native tool calls (`mcp_dsh_*`)
        (Suspends MCP response -> yields ToolCallBlock to DSH -> resolves when DSH returns ToolResultMessage)

CLI Diagnostics & Testing

# Run unit, mock ACP, and real Cordis + LlmRuntime integration tests
npm test

# Run zero-token diagnostic check against your local official `agy` binary
npm run doctor

# Run opt-in end-to-end live test against your signed-in `agy` binary
npm run test:live

Publishing to dsh-plugin-catalog

  1. Publish to npm (npm publish --access public). Ensure "dsh-plugin" remains in package.json#keywords and "dsh.bundle.patch" points to ./cordis.patch.yml.
  2. The official DeepSeek Harness plugin crawler indexes public npm packages tagged with dsh-plugin, or you can submit the package to awesome-dsh-plugin.com.

License

MIT

Versions

Latest versionPublishedSize
0.1.0——

Comments

Loading…

Similar plugins

dsh-antigravity-acp

Antigravity ACP for DSH 的二次开源分支:识别 xhigh 档位但不暴露、补齐上下文用量锚点(基于 KouzakiUmi/dsh-antigravity-acp,MIT)

Models & ProvidersManifest valid

★ 0

MIT

TypeScript

dsh plugin --profile web add dsh-bundle-antigravity-acp

by Kaixxrua

Search AIGC Radar's curated GitHub AI project library (500-star admission, bilingual zh/en tags, star-growth snapshots) over its MCP endpoint with native result cards; an agent/pre-step listener proac

Tools & CapabilitiesManifest valid

★ 3

↓ 200/wk

MIT

TypeScript

Oct 11, 2026

dsh plugin --profile web add dsh-aigc-radar

by ZEM17

Google Antigravity CLI (agy) as a DSH product subagent: delegate tasks to a Gemini coding agent with your Antigravity login (no API key), with conversation follow-ups, background streaming progress, i

Workflow & AutomationManifest valid

★ 4

MIT

TypeScript

Aug 16, 2026

dsh plugin --profile web add @dsh-external/dsh-subagent-antigravity

by AbyssWhalen

把本机 AI 桌面客户端(Qoder / WorkBuddy)里已登录的模型反向代理进 DeepSeek Harness — bring the models of local AI desktop clients into DeepSeek Harness as extra providers.

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Nov 1, 2026

dsh plugin --profile web add dsh-agent-bridge

by aalvsz

Native adaptive intelligence layer for DeepSeek Harness: memory, skills, /learn, background review, and curator — no Hermes or Python dependency.

Tools & CapabilitiesManifest valid

★ 3

MIT

JavaScript

Aug 27, 2026

dsh plugin --profile web add @aalvsz/dsh-hermes-bridge

by dannndouglas

Official Google Antigravity ACP provider with DSH-owned tools over MCP

Tools & CapabilitiesManifest valid

★ 9

↓ 453/wk

MIT

TypeScript

Nov 17, 2026

dsh plugin --profile web add dsh-antigravity-acp