跳过主要内容
D

dsh-plugin-antigravity-agents

domush/dsh-plugin-antigravity-agents

原生 Google Antigravity Agent 规范加载与子代理编排引擎,支持模型选择与 Web 设置界面集成。从 ~/.agents/agents 和工作区的 .agents/agents 读取 agent 定义;选中的主 agent 的指令会写进系统提示,匹配到的 agent 指令还会加到 DSH 自带的 subagent / spawn_teammate 调用的提示词前面;设置写在工作区的 .agents/agents/settings.json。

安装

dsh plugin --profile web add github:domush/dsh-plugin-antigravity-agents

README

dsh-plugin-antigravity-agents

npm version DSH Plugin License: MIT

Native Google Antigravity agents loader, coordinator selection, and subagent orchestration engine for DeepSeek Harness.


image

Overview & Antigravity Compatibility

dsh-plugin-antigravity-agents integrates Google Antigravity agent personas seamlessly into DeepSeek Harness:

  • 100% Compatible with Existing Antigravity Installs: Discovers and executes agent specifications located in .agents/agents/ (project-level) and ~/.agents/agents/ (user-global) without requiring conversions or file alterations.
  • Zero Disk Mutation: All .agents/agents/*.agent.md files remain strictly read-only. Runtime state (default coordinator preference and disabled agents) is persisted cleanly to .agents/agents/settings.json.
  • Full Frontmatter Fidelity: Parses name, description, mainAgent, subagent, model, and tools frontmatter attributes while retaining all markdown instruction blocks.

Key Features

  1. Coordinator vs Subagent Classification: Automatically categorizes agents into Main Agents (primary session coordinators) and Subagents (delegated domain specialists).

  2. Session Agent Selector: Integrates an interactive agent dropdown directly into the conversation composer toolbar and new session interface, allowing users to switch between standard DSH prompts and specific Antigravity coordinators.

image
  1. Persistent Default Agent: Configure a default coordinator in the Web UI Settings tab that automatically pre-selects for all newly spawned sessions.

  2. Subagent Delegation & System Prompt Ingestion: Main agents can delegate to specialized subagents using invoke_subagent or native DSH delegation (subagent, spawn_teammate). The target subagent's instructions and role contracts are automatically injected into the spawned agent's system prompt.

  3. antigravity_agent Tool: Allows inspecting and listing available Antigravity agents, their roles, models, and capabilities:

    • antigravity_agent(action: "list")
    • antigravity_agent(action: "read", name: "vogel-auditor")
  4. Web Settings UI: Adds an Agents section to the DeepSeek Harness Settings page featuring:

    • Default coordinator picker.
    • Comprehensive list of discovered agents with role badges and model tags.
    • Rich hover tooltips with full agent descriptions.
    • Individual enable/disable switches.

Installation

In DeepSeek Harness UI (No Command Line Needed)

  1. Open the DeepSeek Harness Web UI and navigate to Settings → Plugins.
  2. Click the "Add Plugin" button.
  3. Paste in the plugin name:
    dsh-plugin-antigravity-agents
    
  4. Click Install. The plugin will be fetched from NPM and activated immediately.

Via DeepSeek Harness CLI

Run the plugin install command in your terminal:

dsh plugin install dsh-plugin-antigravity-agents

Via Profile Configuration (package.json)

Add the plugin to your DeepSeek Harness profile dependencies:

{
  "dependencies": {
    "dsh-plugin-antigravity-agents": "^1.0.0"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "dsh-plugin-antigravity-agents"
      ]
    }
  }
}

Configuration

In your profile's cordis.patch.yml:

- insert:
    - id: antigravity-agents
      name: 'dsh-plugin-antigravity-agents'
      config:
        enabled: true
        agentsDir: '.agents/agents'
        injectInSystemPrompt: true

Configuration Options

OptionTypeDefaultDescription
enabledbooleantrueMaster switch for Google Antigravity agents support.
agentsDirstring".agents/agents"Relative workspace path to agents directory.
injectInSystemPromptbooleantrueInjects active agent instructions into the system prompt.

License

MIT © 2026 Phillip Webber (Domush)

相关插件