dsh-subagent-antigravity
精選清單收錄維護狀態: 活躍pipedream941/dsh-subagent-antigravity
將 Google Antigravity CLI 作為一次性程式設計子 Agent 接入 DeepSeek Harness。
$ dsh plugin add dsh-subagent-antigravity3
星數
1
Fork
JavaScript
語言
MIT
授權條款
2026-10-19
建立於
2026-10-19
最近推送
README
description: "Antigravity subagent: drive the official Google Antigravity CLI (agy) as a one-shot coding subagent in DeepSeek Harness (subagent_antigravity), including Gemini 4 Argon on an Antigravity subscription." kind: "package-bundle"
dsh-subagent-antigravity
English | 中文
Adds an Antigravity subagent to DeepSeek Harness (DSH): a parent session can
call subagent_antigravity to run the official Google Antigravity CLI (agy) as
a fresh coding agent inside the parent workspace — it edits files, runs commands,
and returns only its final answer.
It has the same shape as the official Codex subagent (subagent_codex) and the
Claude Code subagent (subagent_claude_code), but the backend is Antigravity, so
it needs no separate Gemini API key: it uses your signed-in Antigravity Google
account subscription and can drive Gemini 4 Argon (gemini-4-argon-low/medium/high).
Community plugin; not affiliated with Google. The Antigravity CLI is Google's official CLI — this plugin only drives it from DSH.
Why this plugin exists
- Gemini CLI cannot use Gemini 4 yet. Gemini CLI 0.64 tops out at
gemini-3.8-flash/gemini-3.1-pro-preview; the Gemini 4 support request (google-gemini/gemini-cli#29689) is still open, and Gemini 4 is not a public API model. Gemini 4 Argon is currently offered through Antigravity for Google AI Pro / Ultra subscribers, andagy modelslists what your account can use. - So "call Gemini 4 like Codex" means driving the Antigravity CLI, not the
Gemini CLI. (A sibling plugin,
dsh-subagent-gemini, covers the Gemini CLI route and will support Gemini 4 once Google ships it there.)
How it works
parent session (DeepSeek model)
│ calls tool subagent_antigravity({ description, prompt })
▼
DSH subagent seam (ctx.subagents)
│ provider: antigravity (registered by this plugin)
▼
run layer: spawn agy --print --output-format stream-json
│ parse NDJSON events (init / step_update / result), keep the final answer
▼
agy (separate process, parent cwd, your Antigravity sign-in and subscription)
│ uses Antigravity's own tools (files, terminal, browser, MCP …)
▼
final answer → parent conversation
One delegation = one fresh process, one turn, final answer only. The child's reasoning, tool traffic and stderr never enter the parent conversation; failures return fixed stage/category diagnostics instead of raw stderr or credentials.
Requirements
| Dependency | Version / notes |
|---|---|
| DeepSeek Harness | 0.2.1-rc.2 series (ctx.subagents + @deepseek-ai/dsh-tool-subagent) |
| Node.js | ^22.19.0 or >=24 |
Google Antigravity CLI (agy) |
official CLI, 1.4+; agy --version must answer |
| Antigravity account | signed in through the Antigravity app or CLI (AI Pro / Ultra for Gemini 4 Argon) |
Install the official CLI:
# macOS / Linux
curl -fsSL https://antigravity.google/cli/install.sh | bash
# Windows (PowerShell)
# irm https://antigravity.google/cli/install.ps1 | iex
agy --version # expect 1.4.2+
agy models # lists the models your account can use (incl. gemini-4-argon-*)
Sign-in is shared across local Antigravity surfaces; if the app is already signed
in, agy normally works directly. Otherwise run agy once and complete the
Google sign-in. Enterprise accounts can use AGY_ADC_AUTH=true with
gcloud auth application-default login, or the GEMINI_API_KEY mode (note: an
API key cannot reach Gemini 4 unless that key itself is entitled).
Install the plugin
From the DSH plugin market (recommended): search for
dsh-subagent-antigravity, install and enable it.
From the command line:
dsh plugin --profile desktop add dsh-subagent-antigravity
Then add the package to that profile's package.json → dsh.profile.bundles
and restart (or let the profile recompose):
"dsh": {
"profile": {
"bundles": ["…", "dsh-subagent-antigravity"]
}
}
Once enabled, every agent sees the global tool subagent_antigravity (a running
session picks it up on its next request).
Usage
{
"name": "subagent_antigravity",
"arguments": {
"description": "Fix login timeout",
"prompt": "In the workspace, raise the login request timeout from 5s to 15s, run the related tests, and reply only with what you changed and the test result."
}
}
description— 3–5 word task name;prompt— a self-contained task; the child cannot see the parent conversation.
Configuration
Override the subagent-antigravity entry's config in a profile patch:
| Field | Default | Meaning |
|---|---|---|
providerName |
antigravity |
name registered on ctx.subagents; unique per profile |
command |
empty (auto-detect) | path to agy; empty searches PATH, ~/.local/bin, /opt/homebrew/bin, /usr/local/bin, … |
model |
gemini-4-argon-medium |
fixed model; agy models lists the live catalogue (gemini-4-argon-*, gemini-3.8-flash-*, claude-*-5-5-*, …) |
effort |
empty | low / medium / high / xhigh / max |
mode |
empty | accept-edits / auto / plan (read-only) |
skipPermissions |
true |
pass --dangerously-skip-permissions so an unattended child can edit/run; with false, headless cannot prompt and write tools are auto-denied |
sandbox |
false |
pass --sandbox (the CLI's terminal sandbox) |
timeoutMs |
900000 (15 min) |
overall wall-clock budget per delegation |
disposeGraceMs |
5000 |
SIGTERM→SIGKILL escalation grace |
env |
{} |
extra child environment variables |
extraArgs |
[] |
extra CLI arguments for forward compatibility |
更多「外掛工具」外掛
dsh-context
作者 bowenliang123
A context insight plugin officially recommended by DeepSeek Harness, for context composition, evolution and Multi-Agent details. DeepSeek Harness官方推薦的上下文洞察外掛,透視上下文組成與演進,以及多Agent 協作與通訊。
deepseek-harness-control-center
作者 feibi-mochi
DeepSeek Harness control center for balance, usage, peak/off-peak pricing, encrypted multi-account switching, health checks, reminders, recharge, and session controls. / 餘額、用量、峰谷計費、加密多賬戶、健康檢查、提醒、充值與會話控制
dsh-context-doctor
作者 zhenyu98
DSH 上下文注入審計外掛:統計 AGENTS.md 指令鏈/技能目錄/工具 schema 的 token 成本,檢測重複與衝突;Web UI 圓環面板 + context_audit 工具。Context Doctor for DeepSeek Harness: audit instruction-chain / skill catalog / tool schemas token cost.
dsh-balance-plugin
作者 yxxbc
deepSeek 餘額監控與用量統計(DSH 動態 Cordis 外掛):餘額監控 · 官方充值入口 · 用量統計 · 三方外掛管理
