AI Agent Hub
Back to plugins
🧰

dsh-api

Web Tools Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install lilming123/dsh-api

Paste the following prompt into your AI chat to install this plugin:

Please run the following command in your terminal to install the dsh-api plugin: dsh plugin install lilming123/dsh-api. Source: https://github.com/lilming123/dsh-api

About this plugin

DeepSeek Harness (dsh) runs locally with internal services that are difficult for external processes to access directly. The dsh-api plugin solves this by exposing an HTTP interface on the machine's loopback address (127.0.0.1). It allows any desktop wrapper, browser extension, or CLI running on the same machine to control dsh through a unified entry point, without needing to reach into its internal in-process services.

The plugin features a two-layer API architecture. The native layer handles health checks, language preferences, workspace management, and real-time event streams via Server-Sent Events (SSE). Additionally, through a registered "companion" process, it enables advanced interactions such as injecting text, switching workspace contexts, focusing the window, reloading the interface, and quitting the host application.

This tool is ideal for developers and tool builders looking to deeply integrate dsh. For instance, desktop applications can leverage it for window control, or editor plugins can use it to inject selected text directly into AI chats. For scenarios where standard HTTP interaction is preferred over parsing internal dsh structures, dsh-api provides a secure and powerful solution.

Use Cases

  • Building desktop apps to control dsh windows
  • Interacting with local AI via standard HTTP
  • Implementing editor plugins for real-time monitoring and injection

Best For

  • Desktop software developers needing deep dsh integration
  • Tool builders seeking standardized interfaces
  • Users wanting to control local AI via CLI or browser