dsh-subagent-agy
Antigravity CLI (agy) subagent provider plugin for DeepSeek Harness (dsh)
- Stars
- 0
- Language
- TypeScript
- Created
- Aug 18, 2026
- Updated
- Aug 18, 2026
Introduction
dsh-subagent-agy
English | 中文
dsh-subagent-agy is an open-source Antigravity CLI (agy) Subagent Provider Plugin for DeepSeek Harness (dsh).
It allows DeepSeek Harness agents to delegate complex coding tasks, multi-file AST refactoring, test generation, and deep reasoning to Google Antigravity (agy cli) running as an autonomous subagent in a child process, returning structured results and diffs back to DSH.
✨ Features
- 🤖 Native DSH Subagent Seam: Implements DSH's
SubagentProviderspecification (provider: agy), supporting seamless tool integration, cancellation (AbortSignal), and session isolation. - 🧠 Context & Token Isolation: Heavy token-consuming coding, build, and test steps remain isolated within Antigravity's child process without cluttering the parent DSH agent's context window.
- ⚙️ Configurable: Supports customizable reasoning efforts (
effort: low | medium | high), model selection, and execution modes (accept-edits | plan). - 🚀 Unattended Execution: Runs non-interactively via
agy --print --output-format json --dangerously-skip-permissions.
📦 Installation & Configuration
1. Install Plugin
In your DSH profile directory:
dsh plugin add dsh-subagent-agy
2. Configure cordis.patch.yml
Add the following to ~/.dsh/profiles/web/cordis.patch.yml:
# 1. Mount agy subagent provider
- insert:
- id: subagent-agy
name: 'dsh-subagent-agy'
config:
effort: high
# 2. Expose subagent_agy tool to DSH agent
- insert:
- id: tool-subagent-agy
name: '@deepseek-ai/dsh-tool-subagent'
config:
provider: agy
toolName: subagent_agy
maxDepth: provider-managed
description: 'Delegate complex coding, architecture, and multi-file refactoring to Antigravity CLI'
⚙️ Configuration
| Field | Default | Description |
|---|---|---|
executable | agy | Command name or absolute path to agy / agy.exe |
model | (agy default) | Optional model override |
effort | high | Reasoning effort level (low | medium | high) |
mode | (none) | Execution mode (accept-edits | plan) |
env | {} | Extra environment variables |
disposeGraceMs | 3000 | Process termination grace in milliseconds |