dsh-llm-antigravity: Integrating the Local Antigravity CLI into DeepSeek Harness

Foreword

DeepSeek Harness (DSH) extends model providers through a plugin mechanism. Running LLMs or agents locally is a common requirement. The dsh-llm-antigravity plugin provides a routing option to the local Antigravity CLI (agy), allowing DeepSeek Harness to use a locally installed and authenticated agy as an LLM provider.

What This Is

This plugin is maintained by the user zhangzhangco and is a community plugin, not officially distributed by DeepSeek. It registers an LLM provider named antigravity-local, forwards conversations to the local agy command-line tool, and returns the model’s responses to Harness.

Core Features

  1. Provider registration: Registers the antigravity-local route in DeepSeek Harness.
  2. Conversation forwarding: Forwards conversation history (including system prompts, tool calls, and results) to local agy.
  3. Text-only mode: Operates in textOnly mode by default, does not execute agy tool calls, and only returns text answers generated by the model.
  4. Model discovery: Discovers the list of available models by running the agy models command.
  5. Keyless authentication: Reuses the local agy login session, eliminating the need to configure an API Key in Harness; authentication information is stored in the macOS keychain.

Installation and Enablement

The plugin is installed into the web profile using the dsh plugin command:

dsh plugin --profile web add git+ssh://git@github.com/zhangzhangco/dsh-llm-antigravity.git

After installation, you need to edit the configuration file to apply the route. The configuration path is ~/.dsh/profiles/<profile>/cordis.patch.yml.

Typical Usage

After restarting the web profile, the antigravity-local route will appear in the model selector. The plugin caches the model list (for 6 hours). Available models include:
- gemini-3.8-flash-high
- claude-sonnet-4-6
- gpt-oss-120b-medium

Use Cases and Notes

  • Runtime environment: The plugin runs under DSH’s web profile and does not modify the core DSH installation.
  • Network requirements: Model discovery requires network access (approximately 6–10 seconds), and the results are cached.
  • Tool calls: The default textOnly mode avoids approval dialogs for agy’s internal tool calls, but it also means agy’s tool capabilities are not visible within Harness.
  • License: MIT license.

Short Closing

This plugin provides an integration solution for developers who want to use Antigravity capabilities locally. For more details, refer to the community directory or the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye