Introduction¶
DeepSeek Harness (DSH) extends its capabilities through plugins, but certain toolchains need to communicate with external services via local processes or specific protocols. For developers using Antigravity CLI, there is a need to integrate the locally installed Antigravity official agy acp channel into DSH without introducing an additional proxy layer. The dsh-agy-bridge plugin connects directly via the official ACP protocol, does not reverse-proxy Google’s upstream model endpoints, and does not read user login credentials.
What This Is¶
dsh-agy-bridge is a DSH plugin maintained by pordlm. It integrates the local Antigravity CLI’s official agy acp channel into DSH, providing three entry points: task tools, a Web panel, and a native Gemini provider. The plugin invokes the official ACP protocol interface via a subprocess. The desktop fallback channel only operates on a pinned window through read-only/controlled operations when explicitly enabled.
Core Features¶
The plugin provides three entry points:
- Task tools: Nine
antigravity_*tools dispatch tasks to the local ACP subprocess, tracking state as persistent jobs, waiting for replies, reading results, or canceling execution. - Web panel: Mounted in the DSH Web sidebar, sharing the same job, owner, attachment validation, cancellation, and auto-wake implementation as the task tools.
- Native Gemini provider: Registers a native provider in the DSH model selector, directly leveraging the plain-text multi-turn capability of
agy acp.
The native provider has two hard boundaries: regular sessions drop tools and explicitly inform the user; critical tools in member sessions are hard-rejected by default, and only when acpToolBridge: true is explicitly enabled, bridging translation is applied to claim_task and update_task.
Installation & Enablement¶
After installation as a DSH bundle, the plugin injects two entries via cordis.patch.yml: antigravity-bridge (main plugin) and antigravity-bridge-preset (companion preset entry).
Before installation, ensure the Antigravity CLI is installed locally and agy is directly executable in PATH, or set agyExecutable in the plugin configuration to the absolute path of agy. After enabling or updating the bundle, a one-time hot reload is required: close the bundle once, then re-enable it, to apply the latest configuration and code.
The plugin is compatible with DSH 0.2.x (including pre-releases, e.g., 0.2.2-rc.5) and 0.3.0-rc.x, but has not been validated and does not imply support for the 0.3 stable release.
Typical Usage¶
When using the task tools, first dispatch a task to the local agy acp via antigravity_send and create a persistent job, then block-wait for the final reply using antigravity_wait with the returned job ID, and finally read the current state, permission records, and cached final reply of a specified job non-blockingly via antigravity_read.
When using the native Gemini provider, register a native provider in the DSH model selector and directly leverage the plain-text multi-turn capability of agy acp. During continued conversations, only the consecutive user segments after the last assistant message are sent; the entire history is not resent to ACP.
Use Cases & Caveats¶
The plugin runs with the permissions of the current DSH process. Review the source code and license before installation. The plugin does not reverse-proxy Google’s upstream model endpoints, does not invoke Antigravity desktop app’s private RPC, and does not read, cache, or upload user login credentials.
The desktop fallback channel only operates on a pinned window through read-only/controlled operations via lib/uia-driver.ps1 when explicitly enabled, with a default of config.desktop.enabled=false (opt-in). When using the desktop fallback channel, switching models and thinking intensity is not supported; only path_refs absolute path reference blocks are accepted, and conversation_id is not accepted.
Conclusion¶
dsh-agy-bridge provides a direct path to integrate the local Antigravity CLI’s official agy acp channel into DSH, meeting different use cases through three methods: task tools, a Web panel, and a native Gemini provider. Full documentation and source code: https://github.com/pordlm/dsh-agy-bridge