Introduction¶
When DeepSeek Harness (DSH) runs locally and introduces an external Agent runtime, two problems need to be solved: first, how to safely expose external tools to the main model; second, how to manage authentication, runtime, and model configuration. This plugin provides DSH with a complete Subagent solution, running Antigravity ACP (agy CLI 1.5.x) as an external sub-agent, and exposing it to the main model through tools and Skills.
What It Is¶
qq1299235059/dsh-antigravity-acp is an Antigravity ACP Subagent plugin for DeepSeek Harness. Through Cordis’s plugin mechanism, it automatically injects the antigravity_agent tool and the antigravity-subagent Skill into DSH sessions, while also providing a visual DSH settings panel for configuring models, permission policies, and authentication credentials. The plugin operates within the current DSH process context and communicates with the external agy CLI process via SubprocessRuntime.
Core Features¶
- Automatic Tool and Skill Injection: Automatically registers
antigravity-runtimeandsubagent-antigravity-acpviacordis.patch.yml, injecting theantigravity_agenttool andantigravity-subagentSkill into the main session. - DSH Settings Panel: Provides an Antigravity ACP configuration entry in DSH settings, supporting model selection, permission policy configuration, OAuth authentication management, CLI installation, and plugin updates.
- Runtime Isolation and Authentication: Supports 4 authentication methods (
oauth-personal,oauth-business,gemini-api-key,agent-platform), automatically isolatesGEMINI_HOMEand temporary directories to prevent Keyring cross-contamination. - Standalone CLI: Provides commands such as
install,login,models,quota,check-update, anddoctor, usable in headless environments without a UI.
Installation and Activation¶
Environment Requirements¶
- Node.js:
>= 22.19 - DeepSeek Harness:
0.2.2-rc.1through0.2.2-rc.3 - Cordis:
@deepseek-ai/cordis>= 4.0.4 < 5(development baseline4.1.0)
Installation Methods¶
Method 1: DSH Desktop Plugin Manager
Open Plugins / Plugin Management in the DSH desktop app and enter the repository URL:
https://github.com/qq1299235059/dsh-antigravity-acp
Method 2: Via the dsh plugin CLI
dsh plugin --profile web add git+https://github.com/qq1299235059/dsh-antigravity-acp.git
Method 3: Local Source Packaging
git clone https://github.com/qq1299235059/dsh-antigravity-acp.git
cd dsh-antigravity-acp
npm ci
npm run check
npm pack
dsh plugin --profile web add /path/to/dsh-antigravity-acp-0.3.0.tgz
After installation, fully exit and restart DSH.
Initialization¶
The first-time setup can be completed in the DSH settings panel, or you can use the built-in CLI:
# Install and verify agy CLI
npx dsh-antigravity-acp install
# Login (recommend using --code to paste the authorization code in headless/SSH environments)
npx dsh-antigravity-acp login --code
# Check environment and connection status
npx dsh-antigravity-acp doctor
Typical Usage¶
After installation, the DSH main model can see the following without any configuration changes:
- Tool
antigravity_agent: supports parametersdescription,prompt,cwd,model, andthought_level. - Skill
antigravity-subagent: can be invoked via the/antigravity-subagentcommand.
The main model can directly call antigravity_agent during a session to perform code analysis, search, implementation, or review tasks, with results returned within the current turn.
Use Cases and Notes¶
This plugin is suitable for developers who need to integrate an external Agent runtime (such as Antigravity ACP) into DSH workflows. The plugin runs with the current DSH process privileges; it is recommended to review the source code and license before installation. If native tool-subagent integration is required, configure maxDepth: provider-managed.
Conclusion¶
This plugin provides DSH with out-of-the-box Subagent capabilities, safely integrating external Agent runtimes through tools and Skills, while also offering a complete graphical configuration interface and CLI utilities. For more information, please visit the plugin catalog page and the GitHub repository.
References¶
- Plugin Catalog: https://www.skillhub.cn/plugins/qq1299235059/dsh-antigravity-acp
- GitHub Repository: https://github.com/qq1299235059/dsh-antigravity-acp