flg1217/dsh-llm-agy

AGY(Antigravity CLI)为DeepSeek Harness提供集成:LLM适配器子代理、深度网络搜索、连接诊断面板

Project Overview项目介绍

dsh-llm-agy is a native plugin built exclusively for DeepSeek Harness (DSH), designed to integrate Google’s Gemini-powered Antigravity CLI (AGY) directly into the DSH ecosystem. It adds four key enhanced capabilities to DSH: independent reasoning subagents, in-depth web search, image input for text-only models, and a connectivity diagnostic panel. The plugin follows DSH’s official extension framework, requires no modifications to DSH source code, and can be installed by cloning the Git repository and running the dsh plugin add command.

The plugin caters to developers using DH for daily coding and research work, and it fits seamlessly into multiple common DSH workflows. Users can switch their default DSH web search to use AGY, which delivers fully researched, cited results after reading all source links instead of just returning a list of URLs. They can also paste images directly into the DSH input bar, and AGY will automatically transcribe the image content to text for text-only main models to process. Complex tasks can be split across multiple parallel AGY subagents to speed up overall completion.

dsh-llm-agy requires DSH version 0.1.0-rc.6 or newer and Node.js 20 or higher, and users must install the AGY CLI separately on their local machine before using the plugin. After installation, restart the DSH web client and navigate to the settings plugin panel to open the AGY diagnostic card, which can check if AGY is installed and logged in correctly before first use. The plugin is released under the open-source MIT license, which allows free use, modification, and redistribution for any purpose.

dsh-llm-agy 是专为 DeepSeek Harness (DSH) 开发的原生插件,它将 Google 出品的 Antigravity CLI(AGY,基于 Gemini 驱动)集成进 DSH 生态,为 DSH 带来独立推理子代理、深度网页搜索、文本模型图片输入和连通性诊断四项核心增强能力。插件遵循 DSH 官方扩展机制开发,不需要修改 DSH 任何源码,可随 DSH 版本平滑升级,安装后开箱即用。

该插件主要面向使用 DSH 进行开发的用户,能够适配多种常见开发工作流。用户可以将网页搜索切换为 AGY 深度检索,获得经过全文整理、带引用的调研结果;也可以直接在输入栏粘贴图片让 AGY 读图转文字,让纯文本主模型也支持图片输入;复杂开发任务还可以拆分给 AGY 子代理并行处理,提升任务处理效率。

该插件要求 DSH 版本不低于 0.1.0-rc.6,Node.js 版本不低于 20,且需要用户预先安装 AGY CLI。用户可以通过 Git 克隆仓库后,使用 dsh plugin add 命令完成安装,安装后重启 DSH web 即可使用。插件采用 MIT 许可证开源,用户可以免费使用、修改和分发,安装后可先通过插件内置的诊断面板检查环境是否就绪。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
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:flg1217/dsh-llm-agy

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

READMEREADME

dsh-llm-agy

AGY(Antigravity CLI)— DeepSeek Harness 的智能体增强引擎 将 Google 的 AI 编程代理 Antigravity(由 Gemini 驱动)深度集成进 dsh: 独立推理子代理、深度网页搜索、文本模型图片输入、一键连通性诊断。开箱即用,零源码改动。


一、这是什么

dsh-llm-agy 是面向 DeepSeek Harness(dsh) 的开源插件,把 Google 出品的 AI 编程代理 Antigravity CLI(AGY,基于 Gemini)无缝接入 dsh 生态,为你的工作流提供以下增强通道:

能力 说明
独立推理子代理 将前端/UI 等任务委派给 AGY 驱动的子代理(Gemini 3.7 Flash High),与主代理并行,长线会话可复用
深度网页搜索 web_search 工具经由 AGY 的 Google 搜索通道完成完整深度检索——搜索、打开来源、阅读全文、综合成文,而非简单链接列表
文本模型图片输入 纯文本主模型(如 DeepSeek V4 Flash)也能在输入栏直接粘贴图片:后端由 AGY 就地读图,把图片转为文字描述进入消息。全程无感,不新增模型路由、不切换模型、不写磁盘
连通性诊断面板 dsh 设置 → 插件内的 AntiGravity 卡片:检测本机安装与登录状态、发起真实连通性测试、一键复制各平台安装命令

插件严格遵循 dsh 官方扩展机制(profile bundle patch / registerModelDiscovery / registerSearchProvider / llm/stream waterfall / 客户端 slot),不修改 dsh 任何源码,可随 dsh 平滑升级。

二、核心功能

1. 独立推理子代理(provider 路由 agy)

主代理可随时将任务委派给 AGY——一个由 Gemini 驱动、具备独立思维链与工具面的第二大脑:

  • 通过 agentOptions.provider: 'agy' 将任意子代理切换为 AGY 推理
  • 内置开箱工具:subagent_agy_ui(前端/UI 设计、样式研究、视觉实现、截图核验,可复用长线会话)+ list_agy_models(查询 AGY 当前支持的模型 id,供 subagent_agy_ui 的 model 参数动态指定)
  • 复杂大任务可拆分为多个独立子任务并行调度,再汇总整合

2. 文本模型图片输入(全局,零配置)

纯文本主模型(如 DeepSeek V4 Flash)不支持图片输入,但本插件让"输入栏贴图"开箱即用:

  • 粘贴即用:在任意输入栏粘贴图片,原生走 ImageBlock;插件在后端把图片落盘到工作区 .dsh-llm-agy/tmp/pasted-images/,替换为路径文本后交回原模型路由
  • 完全透明:不新增 provider 路由、不切换模型、不改前端,用户无感知
  • 工具使用提示词:插件注入全局 system prompt section,引导主代理"图片内容已在消息中,禁止委派子代理读图、不轮询后台子代理"(设置面板可关闭)

3. 深度网页搜索(搜索 provider agy)

将 dsh 的 web_search 工具从"返回链接列表"升级为"完成深度调研":

  • 经由 AGY 的 search_web(Google 搜索)发起检索
  • AGY 自主完成:搜索 → 打开每个来源阅读全文 → 综合撰写准确、完整、带引用的回答
  • 结果语言跟随提问语言;全程不写入会话记录
  • 一键切换:web.searchProvider = 'agy'(设置 → 模型,或 profile patch)

4. 连通性诊断面板(设置 → 插件 → AntiGravity)

无需命令行即可完成 AGY 环境体检:

  • 检测安装/登录:一键确认本机是否已安装 AGY、是否已登录
  • 连通性测试:发起真实指令,直接展示 AGY 的实际回复内容
  • 安装命令:Windows(winget)/ macOS(Homebrew)/ Linux(curl)/ npm 四平台命令,一键复制
  • 工具说明:内置工具速查(subagent_agy_ui / web_search)
  • 开关:"注入工具使用提示词"——控制是否注入全局工具使用提示词(默认开)
  • 面板交互走官方模型探测通道(api.llm.discoverModels),不占用会话

三、快速开始

系统要求

  • dsh(web profile,npx 版或源码版均可);兼容 dsh >= 0.1.0-rc.6
  • Node.js ≥ 20
  • AGY CLI(见下方安装命令)
  • 兼容性验证日期:2026-08-21(验证于 dsh rc.8)

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-mcp-manager-plus 下一个 Next dsh-trace-insight →