READMESource: main@3ff40a6e
@ailirag/dsh-antigravity-acp
Native Antigravity CLI (agy) ACP model provider for DeepSeek Harness (DSH) with an authenticated loopback MCP tool bridge routed through DSH AgentLoop.
Architecture & Security
- Official CLI transport only: spawns
agy acp --stdio --disable-telemetry --include-default-customizations=false. No token interception, no OAuth scraping, no proxy hacks. - DSH remains the tool & permission authority: native ACP
fs.readTextFile,fs.writeTextFile, andterminalcapabilities stay disabled (false). Only local development tools admitted to the current DSHAgentLoopstep are projected to an ephemeral authenticated127.0.0.1MCP broker. - Warm ACP sessions & incremental context: reuses the ACP session/process across turns, deduplicates DSH
systemandruntime-context(<system-reminder>) snapshots, and sends only changed sections on subsequent turns. - Parallel tool batching & recovery: batches concurrent MCP tool calls (with overflow staging), supports
reasoning-deltaandusagereporting, and recovers cleanly from cancellation, compaction, or model switching. - Native image input & base64 guard: supports
imageinput modality (forwarding resized images viasession/prompt) and strips oversized base64 / data-URI payloads from tool results so history stays compact. - Graceful permission refusal: replies to denied
session/request_permissionprompts withreject_once/reject*when offered byagyso turns continue cleanly instead of aborting. - Local ACP status dock &
antigravity_statustool: exposes subscription tier, CLI version, live context window fill, and session token counters in the composer dock (conversation.composer.dock) and viaantigravity_status.
Note:
agyruns as a host child process under your OS user account; projectcwdprovides context, not an OS sandbox.
Prerequisites
- Install the official Google Antigravity CLI (
agy). - Authenticate
agyusing its own official login flow. - DeepSeek Harness (
>= 0.2.1) with Node.js>= 20.
Installation
Via DSH CLI
dsh plugin --profile web add git+https://github.com/Ailirag/dsh-antigravity-acp.git
Via DSH Custom Plugin Market (Discover)
- In DSH Web/Desktop, enable Custom plugin indexes under Experimental plugins.
- Add the index URL:
https://raw.githubusercontent.com/Ailirag/dsh-antigravity-acp/main/market-index.json - Install Antigravity ACP (
@ailirag/dsh-antigravity-acp) from the Discover tab.
Via npm (once published)
dsh plugin --profile web add @ailirag/dsh-antigravity-acp
Configuration
In cordis.patch.yml (under id: antigravity-acp):
- id: antigravity-acp
name: '@ailirag/dsh-antigravity-acp'
config:
# Optional: explicit absolute path to agy executable (otherwise auto-detected)
# exe: 'C:\Users\you\AppData\Local\agy\bin\agy.exe'
# Optional: 64-hex SHA-256 pin for the agy binary
# sha256: '...'
# Optional: additional DSH tool names to expose via MCP
# extraPermittedTools: ['custom_tool']
# Optional: replace default tool allowlist completely
# permittedTools: ['read', 'write', 'edit', 'glob', 'grep', 'pwsh']
Environment variable overrides for executable discovery: AGY_ACP_EXE or DSH_ACP_EXE (must be an absolute path).
Auto-discovery order
config.exe(must be absolute)AGY_ACP_EXE/DSH_ACP_EXE- Standard user locations (
%LOCALAPPDATA%\agy\bin\agy.exeon Windows;~/.local/bin/agy,/usr/local/bin/agy,/opt/homebrew/bin/agyon macOS/Linux) PATHlookup (agy.exe/agy)
Supported Models
gemini-4-neon-{low,medium,high,xhigh}(defaultgemini-4-neon-high)gemini-4-hydrogen-{low,medium,high,xhigh}gemini-4-carbon-{low,medium,high}claude-opus-5-5-{low,medium,high}claude-sonnet-5-5-{low,medium,high}gemini-pro-orchestrator-neon,gemini-pro-orchestrator,gemini-pro-orchestrator-argon
Disclaimer
This plugin requires your own official installation of Google's agy CLI and is subject to Google's Terms of Service. Licensed under MIT.
No comments yet. Be the first to write one.