ZEM17/dsh-subagent-agy

Project Overview项目介绍

This is a native DeepSeek Harness plugin that lets DSH delegate tasks to a locally installed Google Antigravity CLI (agy) instance running on your machine. It does not require a separate Gemini API key because it uses the existing Antigravity login authenticated via your system keyring or Google Sign-In. The plugin automatically locates the agy executable through common install paths if it is not on your system PATH. To install the plugin from GitHub, run dsh plugin --profile web add github:ZEM17/dsh-subagent-agy in your terminal. Before installing, you need to install agy locally and log in to your Antigravity account at least once via the terminal.

Once installed, the plugin exposes five tools to DSH: antigravity for new tasks, antigravity_followup for continuing existing conversations, antigravity_tasks for listing running and recent tasks, antigravity_cancel for stopping running tasks, and antigravity_login for triggering an interactive login window. For tasks outside the current DSH workspace, you can configure additional allowed directories in the plugin settings. Task keys are saved to a durable registry that survives DSH restarts, so you can pick up where you left off any time. agy supports multimodal models, so you can ask it to analyze images inside or outside your current workspace. It is ideal for developers who want to leverage both DeepSeek and Gemini capabilities from within a single DSH session.

This plugin is released under the open source MIT license, and all configuration options are optional with sensible defaults that work for most users. The registry automatically backs up corrupted files to avoid data loss, so your task history is always protected. You can customize settings like the target agy model, effort level, timeout thresholds for foreground and background tasks, proxy settings, and more through your DSH settings.yaml file. Long running tasks can be run in the background, and the plugin will report live progress to your DSH session while it works. If you encounter authentication errors, the plugin will automatically open the login window for you to resolve the issue.

这是一个为 DeepSeek Harness 开发的原生子代理插件,支持用户直接从 DSH 内部将任务委派给本地安装的 Google Antigravity CLI(agy),借助 Gemini 多模态模型完成编码、图像分析等各类任务。插件会自动定位本地的 agy 可执行文件,不需要用户提供 Gemini API 密钥,认证通过用户已登录的 Antigravity 账号完成,支持新任务委派、后续跟进、任务管理等多种操作。

用户可以在 DSH 会话中直接让模型自动调用该插件,也可以显式提示使用 antigravity 工具完成任务。对于新任务可以直接委派,对于已有任务可以通过任务键继续对话,还可以列出正在运行和最近完成的任务,取消不需要的运行中任务。当认证失败时,插件会自动弹出交互式登录窗口,支持多模态图像分析,适合需要同时调用 DeepSeek 和 Gemini 双模型能力的开发者使用。

该插件采用 MIT 许可证开源,使用前需要预先安装并登录 agy,依赖 DSH 标准 web 配置文件自带的 dsh-subagent、dsh-subprocess 等组件。可以通过 GitHub 直接安装,也可以下载压缩包本地安装,不需要重启 DSH 即可使用。用户可通过配置文件自定义模型、超时时间、代理、额外工作目录等参数,任务记录会持久保存,重启 DSH 后也可继续跟进。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:ZEM17/dsh-subagent-agy

把 ZEM17/dsh-subagent-agy 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

@dsh-external/dsh-subagent-antigravity

Delegate tasks to Google Antigravity CLI (agy) — a separate Gemini-powered coding agent on your machine — straight from DeepSeek Harness. No Gemini API key is involved: agy authenticates through your Antigravity login (system keyring / Google Sign-In).

中文版见 README.zh.md · Source: github.com/ZEM17/dsh-subagent-agy


Installation

Requirements

  1. agy installed: irm https://antigravity.google/cli/install.ps1 | iex (Windows). The plugin locates it automatically (PATH → AGY_BIN → %LOCALAPPDATA%\agy\bin → ~/.local/bin → ~/.gemini/bin → ~/go/bin).
  2. agy logged in once: run agy in a terminal and complete the sign-in. If a run hits "authentication required", the plugin pops the interactive login window automatically.
  3. DeepSeek Harness with the standard web profile (it ships dsh-subagent, dsh-subprocess, dsh-tools, dsh-jobs).

Install the plugin

From GitHub (recommended):

dsh plugin --profile web add github:ZEM17/dsh-subagent-agy

From a tarball: download dsh-external-dsh-subagent-antigravity-0.2.0.tgz from the releases page, then:

dsh plugin --profile web add /path/to/dsh-external-dsh-subagent-antigravity-0.1.0.tgz

That's it — no restart needed. The model in any session can now use the antigravity tools.


Usage

The model calls the tools automatically when you ask for it; you can also prompt it explicitly:

Surface Name What it does
new task antigravity delegate a self-contained task to agy (fresh conversation); returns a task key
follow-up antigravity_followup continue a previous agy conversation via its task key — full context carries over
list antigravity_tasks list running tasks + recent finished tasks; task keys survive DSH restarts
cancel antigravity_cancel stop a running task by its task key (agy process tree terminated)
login antigravity_login pop the interactive agy login window (also opens automatically on auth failures)

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-web-artifact-designer 下一个 Next dsh-logtimeline →